[FFmpeg-cvslog] avformat/nutenc: Omit AV_PKT_DATA_QUALITY_STATS when storing side data.

Michael Niedermayer git at videolan.org
Sat Jul 25 19:07:44 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Jul 25 18:39:17 2015 +0200| [7ec5115409edd22de762b858fe28086ea3072bbb] | committer: 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: Michael Niedermayer <michael at niedermayer.cc>

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

 libavformat/nutenc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 1522a04..49d62bf 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -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;
             }



More information about the ffmpeg-cvslog mailing list