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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-07-22 21:01:00 +02:00
parent 975257ffe6
commit 3d083f6ffd

View File

@ -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,