Commit 7ec51154 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/nutenc: Omit AV_PKT_DATA_QUALITY_STATS when storing side data.

This side data does not serve or improve decoding the data, it thus
would semantically be metadata and not side data.
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 6d0123f4
......@@ -933,6 +933,7 @@ static int write_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int
break;
case AV_PKT_DATA_METADATA_UPDATE:
case AV_PKT_DATA_STRINGS_METADATA:
case AV_PKT_DATA_QUALITY_STATS:
// belongs into meta, not side data
break;
}
......
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