summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-08 23:43:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-08 23:58:18 +0100
commitfa14685a578d4d37f9a53c2399bba7770e48f747 (patch)
tree7b748d69f420ba6b2fd8a62433b194addf60d1ad /ffprobe.c
parentd5e9fc782150d4596c72440a0aa02b7f4f1254b1 (diff)
parent7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f (diff)
downloadffmpeg-fa14685a578d4d37f9a53c2399bba7770e48f747.tar.gz
Merge commit '7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f'
* commit '7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f': avprobe: Export coded_{width,height} in -show_streams Conflicts: avprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 1227f59c0b..9ee2850785 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2094,6 +2094,8 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
case AVMEDIA_TYPE_VIDEO:
print_int("width", dec_ctx->width);
print_int("height", dec_ctx->height);
+ print_int("coded_width", dec_ctx->coded_width);
+ print_int("coded_height", dec_ctx->coded_height);
print_int("has_b_frames", dec_ctx->has_b_frames);
sar = av_guess_sample_aspect_ratio(fmt_ctx, stream, NULL);
if (sar.den) {