X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favfiltergraph.h;h=05181245823da3e5be24ea8e9ec8b436d1697b1d;hb=39a8275fdf4f607023b483a58b255600d5f7a9e7;hp=7e475661291ce98ad45487b41cccb3007ff0e107;hpb=7e22514d98ecd56cc4e55dac7c813551e2152b80;p=ffmpeg diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index 7e475661291..05181245823 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -26,9 +26,7 @@ #include "libavutil/log.h" typedef struct AVFilterGraph { -#if FF_API_GRAPH_AVCLASS const AVClass *av_class; -#endif unsigned filter_count; AVFilterContext **filters; @@ -257,8 +255,14 @@ char *avfilter_graph_dump(AVFilterGraph *graph, const char *options); * of a filtergraph, only a convenience function to help drain a filtergraph * in a balanced way under normal circumstances. * - * @return the return value of avfilter_request_frame, - * or AVERROR_EOF of all links returned AVERROR_EOF. + * Also note that AVERROR_EOF does not mean that frames did not arrive on + * some of the sinks during the process. + * When there are multiple sink links, in case the requested link + * returns an EOF, this may cause a filter to flush pending frames + * which are sent to another sink link, although unrequested. + * + * @return the return value of ff_request_frame(), + * or AVERROR_EOF if all links returned AVERROR_EOF */ int avfilter_graph_request_oldest(AVFilterGraph *graph);