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

Nicolas George george at nsup.org
Thu Nov 26 10:35:28 CET 2015


Le sextidi 6 frimaire, an CCXXIV, Paul B Mahol a écrit :
> 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.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151126/1edadfa0/attachment.sig>


More information about the ffmpeg-devel mailing list