[FFmpeg-cvslog] lavf/dump: More disposition flag dump
Jun Zhao
git at videolan.org
Wed Jul 3 05:37:55 EEST 2019
ffmpeg | branch: master | Jun Zhao <barryjzhao at tencent.com> | Wed Jun 19 21:13:42 2019 +0800| [be1643be314042e24927b09663156f5406ceb339] | committer: Jun Zhao
lavf/dump: More disposition flag dump
More disposition flag dump
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be1643be314042e24927b09663156f5406ceb339
---
libavformat/dump.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libavformat/dump.c b/libavformat/dump.c
index bb8c72fc60..1c44656071 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -547,8 +547,16 @@ static void dump_stream_format(AVFormatContext *ic, int i,
av_log(NULL, AV_LOG_INFO, " (visual impaired)");
if (st->disposition & AV_DISPOSITION_CLEAN_EFFECTS)
av_log(NULL, AV_LOG_INFO, " (clean effects)");
+ if (st->disposition & AV_DISPOSITION_ATTACHED_PIC)
+ av_log(NULL, AV_LOG_INFO, " (attached pic)");
+ if (st->disposition & AV_DISPOSITION_TIMED_THUMBNAILS)
+ av_log(NULL, AV_LOG_INFO, " (timed thumbnails)");
+ if (st->disposition & AV_DISPOSITION_CAPTIONS)
+ av_log(NULL, AV_LOG_INFO, " (captions)");
if (st->disposition & AV_DISPOSITION_DESCRIPTIONS)
av_log(NULL, AV_LOG_INFO, " (descriptions)");
+ if (st->disposition & AV_DISPOSITION_METADATA)
+ av_log(NULL, AV_LOG_INFO, " (metadata)");
if (st->disposition & AV_DISPOSITION_DEPENDENT)
av_log(NULL, AV_LOG_INFO, " (dependent)");
if (st->disposition & AV_DISPOSITION_STILL_IMAGE)
More information about the ffmpeg-cvslog
mailing list