[vlc-commits] avcodec: map 8088flex TMV
Daniel Verkamp
git at videolan.org
Fri Jun 20 16:41:36 CEST 2014
vlc | branch: master | Daniel Verkamp <daniel at drv.nu> | Thu Jun 19 23:25:02 2014 -0700| [add1ee77a93a039509549e87af6a728f6625b9ac] | committer: Jean-Baptiste Kempf
avcodec: map 8088flex TMV
Sample:
http://samples.mplayerhq.hu/fate-suite/tmv/pop-partial.tmv
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=add1ee77a93a039509549e87af6a728f6625b9ac
---
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[] = {
More information about the vlc-commits
mailing list