lavfi: add ff_inlink_process_commands().

This commit is contained in:
Nicolas George
2016-12-20 16:53:23 +01:00
parent 846f142134
commit 0e3d2496e2
2 changed files with 23 additions and 9 deletions

View File

@@ -39,6 +39,13 @@
*/
void ff_filter_set_ready(AVFilterContext *filter, unsigned priority);
/**
* Process the commands queued in the link up to the time of the frame.
* Commands will trigger the process_command() callback.
* @return >= 0 or AVERROR code.
*/
int ff_inlink_process_commands(AVFilterLink *link, const AVFrame *frame);
/**
* Make sure a frame is writable.
* This is similar to av_frame_make_writable() except it uses the link's