[FFmpeg-cvslog] avformat/utils: Do not estimate the container bitrate from the streams if one video stream lacks the bitrate

Michael Niedermayer michaelni at gmx.at
Sat Dec 13 20:53:18 CET 2014


On Sat, Dec 13, 2014 at 08:50:16PM +0100, Reimar Döffinger wrote:
> On 13.12.2014, at 19:30, git at videolan.org (Michael Niedermayer) wrote:
> > +            } else if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO && st->codec_info_nb_frames > 1) {
> > +                // If we have a videostream with packets but without a bitrate
> > +                // than consider the sum not known
> 
> Nit: then, not than. Need to do more shell programming so that "if ... then" becomes automatic ;)

locally fixed, will be in my next push

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20141213/e20f2480/attachment.asc>


More information about the ffmpeg-cvslog mailing list