[FFmpeg-devel] [PATCH 1/4] avformat/mpegenc - fix typo in VBV warning

Gyan Doshi gyandoshi at gmail.com
Mon Jan 29 09:09:08 EET 2018


Changes to MPEG-PS muxer factored as requested in
http://www.ffmpeg.org/pipermail/ffmpeg-devel/2018-January/224642.html.
-------------- next part --------------
From a2349faf6cc3002c73840907bc440257bd078ccd Mon Sep 17 00:00:00 2001
From: Gyan Doshi <gyandoshi at gmail.com>
Date: Mon, 29 Jan 2018 11:53:36 +0530
Subject: [PATCH 1/4] avformat/mpegenc - fix typo in VBV warning

Default VBV buffer size is 230KB, not 130KB.
---
 libavformat/mpegenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index c77c3dfe41..695de3f081 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -397,7 +397,7 @@ static av_cold int mpeg_mux_init(AVFormatContext *ctx)
                 stream->max_buffer_size = 6 * 1024 + props->buffer_size / 8;
             else {
                 av_log(ctx, AV_LOG_WARNING,
-                       "VBV buffer size not set, using default size of 130KB\n"
+                       "VBV buffer size not set, using default size of 230KB\n"
                        "If you want the mpeg file to be compliant to some specification\n"
                        "Like DVD, VCD or others, make sure you set the correct buffer size\n");
                 // FIXME: this is probably too small as default
-- 
2.11.1.windows.1


More information about the ffmpeg-devel mailing list