[FFmpeg-cvslog] avprobe: Export coded_{width, height} in -show_streams
Vittorio Giovara
git at videolan.org
Mon Mar 9 00:06:35 CET 2015
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Sun Mar 8 03:25:25 2015 +0000| [7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f] | committer: Vittorio Giovara
avprobe: Export coded_{width,height} in -show_streams
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f
---
avprobe.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/avprobe.c b/avprobe.c
index 926a781..d969257 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;
More information about the ffmpeg-cvslog
mailing list