[vlc-devel] [PATCH 07/24] avcodec: map Tiertex SEQ video

Daniel Verkamp daniel at drv.nu
Fri Jun 20 08:25:08 CEST 2014


Sample:
http://fate-suite.libav.org/tiertex-seq/Gameover.seq
---
 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 2467b66..06ac4d0 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -155,6 +155,7 @@
 #define VLC_CODEC_MMVIDEO         VLC_FOURCC('M','M','V','I')
 #define VLC_CODEC_AVS             VLC_FOURCC('A','V','S','V')
 #define VLC_CODEC_DSICINVIDEO     VLC_FOURCC('D','C','I','V')
+#define VLC_CODEC_TIERTEXSEQVIDEO VLC_FOURCC('T','S','E','Q')
 
 /* 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 2082f48..50f6fa9 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -149,7 +149,7 @@ static const struct
     { VLC_CODEC_VP6F, AV_CODEC_ID_VP6F, VIDEO_ES },
     { VLC_CODEC_TARGA, AV_CODEC_ID_TARGA, VIDEO_ES },
     { VLC_CODEC_DSICINVIDEO, AV_CODEC_ID_DSICINVIDEO, VIDEO_ES },
-    /* AV_CODEC_ID_TIERTEXSEQVIDEO */
+    { VLC_CODEC_TIERTEXSEQVIDEO, AV_CODEC_ID_TIERTEXSEQVIDEO, VIDEO_ES },
     { VLC_CODEC_TIFF, AV_CODEC_ID_TIFF, VIDEO_ES },
     { VLC_CODEC_GIF, AV_CODEC_ID_GIF, VIDEO_ES },
     /* AV_CODEC_ID_DXA */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 27f60e2..c1aa698 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1069,6 +1069,8 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_DSICINVIDEO, "Delphine CIN video"),
 
+    B(VLC_CODEC_TIERTEXSEQVIDEO, "Tiertex Limited SEQ video"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {
-- 
2.0.0




More information about the vlc-devel mailing list