[FFmpeg-soc] [soc]: r2312 - dvbmuxer/mpegtsenc.c
bcoudurier
subversion at mplayerhq.hu
Mon Jun 2 08:08:08 CEST 2008
Author: bcoudurier
Date: Mon Jun 2 08:08:08 2008
New Revision: 2312
Log:
fix codec rate when muxing vbr, use highest value like mpeg ps
Modified:
dvbmuxer/mpegtsenc.c
Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c (original)
+++ dvbmuxer/mpegtsenc.c Mon Jun 2 08:08:08 2008
@@ -459,7 +459,7 @@ static int mpegts_write_header(AVFormatC
codec_rate= st->codec->bit_rate;
if(!codec_rate)
- bitrate= (1<<21) * 8/s->nb_streams;
+ codec_rate= (1<<21)*8/ctx->nb_streams;
bitrate += codec_rate;
}
More information about the FFmpeg-soc
mailing list