[vlc-commits] Enhance dmo to support new dlls. This adds support for WMV9.

Sergio Ammirata git at videolan.org
Wed Feb 19 08:19:00 CET 2014


vlc | branch: master | Sergio Ammirata <sergio at ammirata.net> | Wed Aug 17 00:41:14 2011 -0400| [f57ca3b1bcf38d32879a7f5219cef5be323da012] | committer: Rafaël Carré

Enhance dmo to support new dlls. This adds support for WMV9.

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f57ca3b1bcf38d32879a7f5219cef5be323da012
---

 modules/codec/dmo/dmo.c |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/modules/codec/dmo/dmo.c b/modules/codec/dmo/dmo.c
index c0b981b..161fd17 100644
--- a/modules/codec/dmo/dmo.c
+++ b/modules/codec/dmo/dmo.c
@@ -152,6 +152,8 @@ static const GUID guid_wma9 = { 0x27ca0808, 0x01f5, 0x4e7a, { 0x8b, 0x05, 0x87,
 static const GUID guid_wmv_enc = { 0x3181343b, 0x94a2, 0x4feb, { 0xad, 0xef, 0x30, 0xa1, 0xdd, 0xe6, 0x17, 0xb4 } };
 static const GUID guid_wmv_enc2 = { 0x96b57cdd, 0x8966, 0x410c,{ 0xbb, 0x1f, 0xc9, 0x7e, 0xea, 0x76, 0x5c, 0x04 } };
 static const GUID guid_wma_enc = { 0x70f598e9, 0xf4ab, 0x495a, { 0x99, 0xe2, 0xa7, 0xc4, 0xd3, 0xd8, 0x9a, 0xbf } };
+static const GUID guid_wmv8_enc = { 0x7e320092, 0x596a, 0x41b2,{ 0xbb, 0xeb, 0x17, 0x5d, 0x10, 0x50, 0x4e, 0xb6 } };
+static const GUID guid_wmv9_enc = { 0xd23b90d0, 0x144f, 0x46bd,{ 0x84, 0x1d, 0x59, 0xe4, 0xeb, 0x19, 0xdc, 0x59 } };
 
 #ifndef BI_RGB
 # define BI_RGB 0x0
@@ -211,6 +213,13 @@ static const codec_dll encoders_table[] =
     /* WMA 2 */
     { VLC_CODEC_WMA2, "wmadmoe.dll", &guid_wma_enc },
 
+    /* WMV3 v11 */
+    { VLC_CODEC_WMV3, "wmvencod.dll", &guid_wmv9_enc },
+    /* WMV2 v11 */
+    { VLC_CODEC_WMV2, "wmvxencd.dll", &guid_wmv8_enc },
+    /* WMV1 v11 */
+    { VLC_CODEC_WMV1, "wmvxencd.dll", &guid_wmv8_enc },
+
     /* */
     { 0, NULL, NULL }
 };



More information about the vlc-commits mailing list