[FFmpeg-devel] [PATCH] avformat/mux: implement AVFMT_FLAG_SHORTEST
Michael Niedermayer
michael at niedermayer.cc
Mon Sep 12 00:16:06 EEST 2016
On Fri, Aug 12, 2016 at 09:51:19PM +0200, Clément Bœsch wrote:
> 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)
used a 2nd variable
added docs
applied
thx
[..]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160911/4f5a7804/attachment.sig>
More information about the ffmpeg-devel
mailing list