[FFmpeg-cvslog] avformat/mpegenc: Better default for max_delay
Michael Niedermayer
git at videolan.org
Thu Sep 26 03:28:50 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 26 03:09:29 2013 +0200| [930406325c2973b02b5bb0dc28e09947bea84053] | committer: Michael Niedermayer
avformat/mpegenc: Better default for max_delay
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=930406325c2973b02b5bb0dc28e09947bea84053
---
libavformat/mpegenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index c3e1b0d..47a7ced 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -321,7 +321,7 @@ static av_cold int mpeg_mux_init(AVFormatContext *ctx)
} else
s->packet_size = 2048;
if (ctx->max_delay < 0) /* Not set by the caller */
- ctx->max_delay = 0;
+ ctx->max_delay = 0.7*AV_TIME_BASE;
s->vcd_padding_bytes_written = 0;
s->vcd_padding_bitrate=0;
More information about the ffmpeg-cvslog
mailing list