OSDN Git Service

avformat/dump: Show coded dimensions again
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Jun 2016 02:11:11 +0000 (04:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Jun 2016 18:26:21 +0000 (20:26 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/dump.c

index 126b624..8e97197 100644 (file)
@@ -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);