[FFmpeg-devel] [PATCH] avformat/mux: implement AVFMT_FLAG_SHORTEST

Clément Bœsch u at pkh.me
Fri Aug 12 22:51:19 EEST 2016


On Fri, Aug 12, 2016 at 09:50:37PM +0200, Clément Bœsch wrote:
> On Fri, Aug 12, 2016 at 09:28:08PM +0200, Michael Niedermayer wrote:
> [...]
> >      if (s->internal->nb_interleaved_streams == stream_count)
> > -        flush = 1;
> > +        flush = 2;
> >  
> 
> Can you do something better than this?
> 

To elaborate: a more explicit state (enum or whatever)

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160812/882be2b8/attachment.sig>


More information about the ffmpeg-devel mailing list