[vlc-devel] [PATCH 01/24] avcodec: map 8088flex TMV
Daniel Verkamp
daniel at drv.nu
Fri Jun 20 08:25:02 CEST 2014
Sample:
http://samples.mplayerhq.hu/fate-suite/tmv/pop-partial.tmv
---
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 debb5c9..94859f2 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -149,6 +149,7 @@
#define VLC_CODEC_CLLC VLC_FOURCC('C','L','L','C')
#define VLC_CODEC_AURA VLC_FOURCC('A','U','R','A')
#define VLC_CODEC_FIC VLC_FOURCC('F','I','C','V')
+#define VLC_CODEC_TMV VLC_FOURCC('T','M','A','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 b388c67..c8e4142 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -180,7 +180,7 @@ static const struct
{ VLC_CODEC_AURA, AV_CODEC_ID_AURA, VIDEO_ES },
/* AV_CODEC_ID_AURA2 */
/* AV_CODEC_ID_V210X */
- /* AV_CODEC_ID_TMV */
+ { VLC_CODEC_TMV, AV_CODEC_ID_TMV, VIDEO_ES },
{ VLC_CODEC_V210, AV_CODEC_ID_V210, VIDEO_ES },
/* AV_CODEC_ID_DPX */
/* AV_CODEC_ID_MAD */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 4569095..3576a74 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1057,6 +1057,8 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_AURA, "Auravision Aura"),
A("AURA"),
+ B(VLC_CODEC_TMV, "8088flex TMV"),
+
B(0, "")
};
static const staticentry_t p_list_audio[] = {
--
2.0.0
More information about the vlc-devel
mailing list