[FFmpeg-devel] [PATCH 2/2] avformat/dump: Show coded dimensions again

Michael Niedermayer michael at niedermayer.cc
Sun Jun 5 05:13:28 CEST 2016


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavformat/dump.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/dump.c b/libavformat/dump.c
index 126b624..8e97197 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -458,6 +458,8 @@ static void dump_stream_format(AVFormatContext *ic, int i,
     avctx->codec      = st->codec->codec;
     avctx->qmin       = st->codec->qmin;
     avctx->qmax       = st->codec->qmax;
+    avctx->coded_width  = st->codec->coded_width;
+    avctx->coded_height = st->codec->coded_height;
 
     if (separator)
         av_opt_set(avctx, "dump_separator", separator, 0);
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list