avformat/nutenc: Omit AV_PKT_DATA_QUALITY_STATS when storing side data.
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Jul 2015 16:39:17 +0000 (18:39 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Jul 2015 16:39:17 +0000 (18:39 +0200)
This side data does not serve or improve decoding the data, it thus
would semantically be metadata and not side data.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/nutenc.c

index 1522a04..49d62bf 100644 (file)
@@ -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;
             }