[FFmpeg-cvslog] avformat/dump: Also print pict_type in dump_sidedata() for AV_PKT_DATA_QUALITY_STATS

Michael Niedermayer git at videolan.org
Wed Jul 22 21:23:30 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Jul 22 21:01:00 2015 +0200| [3d083f6ffd8c76f7ded34db7120aa9f99e0c4556] | committer: Michael Niedermayer

avformat/dump: Also print pict_type in dump_sidedata() for AV_PKT_DATA_QUALITY_STATS

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d083f6ffd8c76f7ded34db7120aa9f99e0c4556
---

 libavformat/dump.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dump.c b/libavformat/dump.c
index acf6bf6..3612880 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -378,7 +378,7 @@ static void dump_sidedata(void *ctx, AVStream *st, const char *indent)
             dump_audioservicetype(ctx, &sd);
             break;
         case AV_PKT_DATA_QUALITY_STATS:
-            av_log(ctx, AV_LOG_INFO, "quality factor: %d", AV_RL32(sd.data));
+            av_log(ctx, AV_LOG_INFO, "quality factor: %d, pict_type: %c", AV_RL32(sd.data), av_get_picture_type_char(sd.data[4]));
             break;
         default:
             av_log(ctx, AV_LOG_WARNING,



More information about the ffmpeg-cvslog mailing list