[SCM] libav/experimental: map VYUY fourcc to rawcodec fixes http://samples.mplayerhq.hu/V-codecs/ATI-VCR12/ATI/y422test.avi

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:56 UTC 2013


The following commit has been merged in the experimental branch:
commit e47ca4f798b753a1abdb8a41edf74a7c99dfa703
Author: Ben Littler <tempn at twmi.rr.com>
Date:   Mon Nov 2 00:10:10 2009 +0000

    map VYUY fourcc to rawcodec
    fixes http://samples.mplayerhq.hu/V-codecs/ATI-VCR12/ATI/y422test.avi
    
    Originally committed as revision 20432 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 48b2093..63f6b61 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -43,6 +43,7 @@ const PixelFormatTag ff_raw_pixelFormatTags[] = {
     { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */
     { PIX_FMT_YUYV422, MKTAG('Y', '4', '2', '2') },
     { PIX_FMT_YUYV422, MKTAG('V', '4', '2', '2') },
+    { PIX_FMT_YUYV422, MKTAG('V', 'Y', 'U', 'Y') },
     { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'N', 'V') },
     { PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') },
     { PIX_FMT_UYVY422, MKTAG('H', 'D', 'Y', 'C') },
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 3c92a0c..faaa194 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -151,6 +151,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { CODEC_ID_RAWVIDEO,     MKTAG('P', '4', '2', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', '1', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('U', 'Y', 'V', 'Y') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('V', 'Y', 'U', 'Y') },
     { CODEC_ID_RAWVIDEO,     MKTAG('I', 'Y', 'U', 'V') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', '8', '0', '0') },
     { CODEC_ID_RAWVIDEO,     MKTAG('H', 'D', 'Y', 'C') },

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list