Commit 3d083f6f authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 975257ff
...@@ -378,7 +378,7 @@ static void dump_sidedata(void *ctx, AVStream *st, const char *indent) ...@@ -378,7 +378,7 @@ static void dump_sidedata(void *ctx, AVStream *st, const char *indent)
dump_audioservicetype(ctx, &sd); dump_audioservicetype(ctx, &sd);
break; break;
case AV_PKT_DATA_QUALITY_STATS: 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; break;
default: default:
av_log(ctx, AV_LOG_WARNING, av_log(ctx, AV_LOG_WARNING,
......
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