Browse Source

avformat/mpegenc: Better default for max_delay

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
930406325c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpegenc.c

+ 1
- 1
libavformat/mpegenc.c View File

@@ -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;


Loading…
Cancel
Save