[FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_stack: make it possible to stop with shortest stream

Paul B Mahol onemda at gmail.com
Thu Nov 26 10:53:22 CET 2015


On 11/26/15, Nicolas George <george at nsup.org> wrote:
> Le sextidi 6 frimaire, an CCXXIV, Paul B Mahol a ecrit :
>> avfilter/vf_stack: make it possible to stop with shortest stream
>
>> +        in[i].after  = s->shortest ? EXT_STOP : EXT_INFINITY;
>
>> +    { "shortest", "force termination when the shortest input terminates",
>> OFFSET(shortest), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, .flags = FLAGS },
>
> In the long run, it would certainly be much better that all filters using
> framsync expose all its modes and options in a consistent way. This is
> probably possible by declaring framesync a child object of the filters and
> filling its option array.

Yes, child object will do. But what options to give?
The number of inputs can differ.

>
> Regards,
>
> --
>   Nicolas George
>


More information about the ffmpeg-devel mailing list