aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-26 03:09:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-26 03:12:20 +0200
commit930406325c2973b02b5bb0dc28e09947bea84053 (patch)
tree3691583c24fcd81800701ed9436ad0cfcef340b7 /libavformat/mpegenc.c
parentb637118086198aea46607491fd3f30063772778d (diff)
downloadffmpeg-930406325c2973b02b5bb0dc28e09947bea84053.tar.gz
avformat/mpegenc: Better default for max_delay
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index c3e1b0d40f..47a7cedfe1 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;