[vlc-commits] avcodec: add MTS2 / Microsoft Expression Encoder Screen mappings.
Konstantin Pavlov
git at videolan.org
Fri Jul 27 10:18:40 CEST 2012
vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Fri Jul 27 12:03:41 2012 +0400| [25b2cf7e7b4ac91b0b27a5d1193e98a794ada609] | committer: Konstantin Pavlov
avcodec: add MTS2 / Microsoft Expression Encoder Screen mappings.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25b2cf7e7b4ac91b0b27a5d1193e98a794ada609
---
include/vlc_fourcc.h | 1 +
modules/codec/avcodec/fourcc.c | 3 +++
src/misc/fourcc.c | 3 +++
3 files changed, 7 insertions(+)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 36a4951..0306127 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -130,6 +130,7 @@
#define VLC_CODEC_MSS2 VLC_FOURCC('M','S','S','2')
#define VLC_CODEC_MSA1 VLC_FOURCC('M','S','A','1')
#define VLC_CODEC_TSC2 VLC_FOURCC('T','S','C','2')
+#define VLC_CODEC_MTS2 VLC_FOURCC('M','T','S','2')
/* 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 58509b1..eddd7e9 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -246,6 +246,9 @@ static const struct
{ VLC_CODEC_TSC2, CODEC_ID_TSCC2, VIDEO_ES },
#endif
+#if LIBAVCODEC_VERSION_CHECK( 54, 20, 0, 37, 100 )
+ { VLC_CODEC_MTS2, CODEC_ID_MTS2, VIDEO_ES },
+#endif
/* Videogames Codecs */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 8839726..593b78a 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -940,6 +940,9 @@ static const entry_t p_list_video[] = {
B(VLC_CODEC_TSC2, "TechSmith Screen Codec 2"),
A("MSA1"),
+ B(VLC_CODEC_MTS2, "Microsoft Expression Encoder Screen"),
+ A("MTS2"),
+
B(0, "")
};
static const entry_t p_list_audio[] = {
More information about the vlc-commits
mailing list