summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-03-08 03:25:25 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-03-08 20:41:50 +0000
commit7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f (patch)
tree9b6df9d7b836408f37d5d3ab585747c3cdb6acff /avprobe.c
parentae5e1f3d663a8c9a532d89e588cbc61f171c9186 (diff)
avprobe: Export coded_{width,height} in -show_streams
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avprobe.c b/avprobe.c
index 926a781a0e..d969257824 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -608,6 +608,8 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
case AVMEDIA_TYPE_VIDEO:
probe_int("width", dec_ctx->width);
probe_int("height", dec_ctx->height);
+ probe_int("coded_width", dec_ctx->coded_width);
+ probe_int("coded_height", dec_ctx->coded_height);
probe_int("has_b_frames", dec_ctx->has_b_frames);
if (dec_ctx->sample_aspect_ratio.num)
sar = &dec_ctx->sample_aspect_ratio;