[vlc-commits] avcodec: map KGV1 (Kega Game Video)

Daniel Verkamp git at videolan.org
Sun Jan 12 16:40:54 CET 2014


vlc | branch: master | Daniel Verkamp <daniel at drv.nu> | Sun Jan 12 01:15:02 2014 -0700| [fa5f671482f7c2c943292ff4daa9601bd3345443] | committer: Jean-Baptiste Kempf

avcodec: map KGV1 (Kega Game Video)

Sample:
http://samples.mplayerhq.hu/V-codecs/kgv1/kgv1.avi

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

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

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

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index dd17fe7..91c9ee5 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -144,6 +144,7 @@
 #define VLC_CODEC_LCL_ZLIB        VLC_FOURCC('Z','L','I','B')
 #define VLC_CODEC_THP             VLC_FOURCC('T','H','P','0')
 #define VLC_CODEC_ESCAPE124       VLC_FOURCC('E','1','2','4')
+#define VLC_CODEC_KGV1            VLC_FOURCC('K','G','V','1')
 
 /* 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 63f1c2e..00056e9 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -193,7 +193,7 @@ static const struct
 #endif
     /* AV_CODEC_ID_IFF_ILBM */
     /* AV_CODEC_ID_IFF_BYTERUN1 */
-    /* AV_CODEC_ID_KGV1 */
+    { VLC_CODEC_KGV1, AV_CODEC_ID_KGV1, VIDEO_ES },
     /* AV_CODEC_ID_YOP */
     { VLC_CODEC_VP8, AV_CODEC_ID_VP8, VIDEO_ES },
     /* AV_CODEC_ID_PICTOR */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 9872100..17ac24b 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1014,6 +1014,9 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_ESCAPE124, "Escape 124 video"),
 
+    B(VLC_CODEC_KGV1, "Kega Game Video (KGV1)"),
+        A("KGV1"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {



More information about the vlc-commits mailing list