Commit 93040632 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mpegenc: Better default for max_delay

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b6371180
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment