fftools/ffmpeg_filter: restrict reap_filters() to a single filtergraph

This is more natural, as all except one of its callers require
processing only one filtergraph.
This commit is contained in:
Anton Khirnov
2023-06-08 13:28:33 +02:00
parent 9d44eb8af5
commit 3a89e6d352
3 changed files with 27 additions and 20 deletions

View File

@@ -765,12 +765,12 @@ void fg_free(FilterGraph **pfg);
int fg_transcode_step(FilterGraph *graph, InputStream **best_ist);
/**
* Get and encode new output from any of the filtergraphs, without causing
* Get and encode new output from specified filtergraph, without causing
* activity.
*
* @return 0 for success, <0 for severe errors
*/
int reap_filters(int flush);
int reap_filters(FilterGraph *fg, int flush);
int ffmpeg_parse_options(int argc, char **argv);