[FFmpeg-cvslog] avformat/nut: support planar rgb

Michael Niedermayer git at videolan.org
Fri Aug 9 23:08:27 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug  9 22:42:28 2013 +0200| [12538bb9c2f4424a822d9dbd4424286da986f2dc] | committer: Michael Niedermayer

avformat/nut: support planar rgb

Fixes first half of Ticket2274

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/nut.c |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/libavformat/nut.c b/libavformat/nut.c
index 32035d5..7e79979 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -144,6 +144,19 @@ const AVCodecTag ff_nut_video_tags[] = {
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('Y', '4',   0,  16) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG(16,    0, '4', 'Y') },
 
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,   8) },
+
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,   9) },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG( 9,    0, '3', 'G') },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,  10) },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG(10,    0, '3', 'G') },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,  12) },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG(12,    0, '3', 'G') },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,  14) },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG(14,    0, '3', 'G') },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('G', '3',   0,  16) },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG(16,    0, '3', 'G') },
+
     { AV_CODEC_ID_NONE,             0 }
 };
 



More information about the ffmpeg-cvslog mailing list