Hi!

Mentioned tags are already used in nut by fate.

Please comment, Carl Eugen
From dd52b20ce2eea008a0c58c09f768e5ef92133578 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffm...@gmail.com>
Date: Wed, 29 Jan 2020 01:43:24 +0100
Subject: [PATCH] lavf/nut: Explicitely add NV12/NV21 tags.

These are already used by fate.
---
 libavformat/nut.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/nut.c b/libavformat/nut.c
index d6993239a3..fb7d7b512d 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -163,6 +163,9 @@ const AVCodecTag ff_nut_video_tags[] = {
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('Y', '1',   0,  14) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG(14,    0, '1', 'Y') },
 
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('N', 'V', '1', '2') },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('N', 'V', '2', '1') },
+
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,   8) },
 
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,   9) },
-- 
2.24.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to