[FFmpeg-devel] [PATCH 1/7] lavfi: add a closed field to AVFilerLink.
nicolas.george at normalesup.org
Tue Aug 21 09:42:25 CEST 2012
Le quintidi 5 fructidor, an CCXX, Stefano Sabatini a écrit :
> Nit: Set to a positive value if the link is closed ("true" is ambiguous).
"True" is very much not ambiguous in C, it is any integer value except 0.
But I do not mind the change.
> So I suppose this can be used also for *opening* a link?
Provided it has been tested and work, it may become useful at tome point. It
does not cost anything to have the API ready if the needs should arise. In
fact, if it were not for ABI compatibility with the fork, we would let
applications set the field directly.
> Looks good to me, but I'm not sure which specific problem it is
When an application is no longer interested by the output of a filter (like
ffmpeg with the -t option), but still interested by the output of another,
it is nice to be able to stop the expensive processing for frames that will
be immediately discarded anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel