[vlc-commits] avcodec: map EA TGQ

Daniel Verkamp git at videolan.org
Fri Jun 20 16:41:39 CEST 2014


vlc | branch: master | Daniel Verkamp <daniel at drv.nu> | Thu Jun 19 23:25:18 2014 -0700| [c7a51a6b62670ce29d3ae8244f7fd9ca3467601a] | committer: Jean-Baptiste Kempf

avcodec: map EA TGQ

Sample:
http://fate-suite.libav.org/ea-tgq/v27.tgq

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c7a51a6b62670ce29d3ae8244f7fd9ca3467601a
---

 include/vlc_fourcc.h           |    1 +
 modules/codec/avcodec/fourcc.c |    2 +-
 src/misc/fourcc.c              |    2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 29e1f10..21e278f 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -165,6 +165,7 @@
 #define VLC_CODEC_CMV             VLC_FOURCC('E','C','M','V')
 #define VLC_CODEC_MOTIONPIXELS    VLC_FOURCC('M','P','I','X')
 #define VLC_CODEC_TGV             VLC_FOURCC('T','G','V','V')
+#define VLC_CODEC_TGQ             VLC_FOURCC('T','G','Q','V')
 
 /* Planar YUV 4:1:0 Y:V:U */
 #define VLC_CODEC_YV9             VLC_FOURCC('Y','V','U','9')
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 40268a5..54700e0 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -175,7 +175,7 @@ static const struct
     { VLC_CODEC_CMV, AV_CODEC_ID_CMV, VIDEO_ES },
     { VLC_CODEC_MOTIONPIXELS, AV_CODEC_ID_MOTIONPIXELS, VIDEO_ES },
     { VLC_CODEC_TGV, AV_CODEC_ID_TGV, VIDEO_ES },
-    /* AV_CODEC_ID_TGQ */
+    { VLC_CODEC_TGQ, AV_CODEC_ID_TGQ, VIDEO_ES },
     /* AV_CODEC_ID_TQI */
     { VLC_CODEC_AURA, AV_CODEC_ID_AURA, VIDEO_ES },
     /* AV_CODEC_ID_AURA2 */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 2715f5f..8f2e97a 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1089,6 +1089,8 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_TGV, "Electronic Arts TGV"),
 
+    B(VLC_CODEC_TGQ, "Electronic Arts TGQ"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {



More information about the vlc-commits mailing list