Commit 7b9cb7b3 authored by Vittorio Giovara's avatar Vittorio Giovara

avprobe: Export coded_{width,height} in -show_streams

parent ae5e1f3d
...@@ -608,6 +608,8 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx) ...@@ -608,6 +608,8 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
case AVMEDIA_TYPE_VIDEO: case AVMEDIA_TYPE_VIDEO:
probe_int("width", dec_ctx->width); probe_int("width", dec_ctx->width);
probe_int("height", dec_ctx->height); 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); probe_int("has_b_frames", dec_ctx->has_b_frames);
if (dec_ctx->sample_aspect_ratio.num) if (dec_ctx->sample_aspect_ratio.num)
sar = &dec_ctx->sample_aspect_ratio; sar = &dec_ctx->sample_aspect_ratio;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment