]> git.sesse.net Git - vlc/commitdiff
avcodec: add MTS2 / Microsoft Expression Encoder Screen mappings.
authorKonstantin Pavlov <thresh@videolan.org>
Fri, 27 Jul 2012 08:03:41 +0000 (12:03 +0400)
committerKonstantin Pavlov <thresh@videolan.org>
Fri, 27 Jul 2012 08:05:01 +0000 (12:05 +0400)
include/vlc_fourcc.h
modules/codec/avcodec/fourcc.c
src/misc/fourcc.c

index 36a4951f513f2f90a839d9b827749b9a7a1db86c..030612787e958cad66660813667b55eedc0b30da 100644 (file)
 #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')
index 58509b159cdd0112be3be448d9d1dddf1810d5d8..eddd7e9e5e7185d3fa1e8b8d20150cd060436eaf 100644 (file)
@@ -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 */
 
index 8839726c20b6efc5f2a873f221d11a687ea8cade..593b78a477f7b8a38b7177f8bb29bdb72bc2ab9b 100644 (file)
@@ -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[] = {