summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-30 22:00:53 +0000
committerrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-30 22:00:53 +0000
commit9cc051e7d89b126bd9534e582ae53818bd6a41a7 (patch)
tree1dccdfbb9ccca19f628b0b1490180db7b3ce5e4e
parent278888d6c38fe70a3839e692f879f3f22165e351 (diff)
downloadmpv-9cc051e7d89b126bd9534e582ae53818bd6a41a7.tar.bz2
mpv-9cc051e7d89b126bd9534e582ae53818bd6a41a7.tar.xz
Support for Winnov Videum WINX and WNV1 codecs with binary dll
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12736 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--etc/codecs.conf16
-rw-r--r--loader/win32.c8
2 files changed, 24 insertions, 0 deletions
diff --git a/etc/codecs.conf b/etc/codecs.conf
index 4c5ae7a19c..9065e56a0e 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -1348,6 +1348,22 @@ videocodec vivd2
out YUY2,YV12,I420,YVU9
out BGR32,BGR24,BGR15
+videocodec winx
+ info "Winnov Videum winx codec"
+ status buggy
+ fourcc WINX
+ driver vfwex
+ dll "wnvwinx.dll"
+ out BGR32,BGR24,BGR15
+
+videocodec wnv1
+ info "Winnov Videum wnv1 codec"
+ status buggy
+ fourcc WNV1
+ driver vfwex
+ dll "wnvplay1.dll"
+ out BGR32,BGR24,BGR15
+
; quicktime codecs:
videocodec qt3ivx
diff --git a/loader/win32.c b/loader/win32.c
index 859bf10eae..ce539a34f3 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -3582,6 +3582,14 @@ static HANDLE WINAPI expCreateFileA(LPCSTR cs1,DWORD i1,DWORD i2,
return r;
}
+ // Needed by wnvplay1.dll
+ if (strstr(cs1, "WINNOV.bmp"))
+ {
+ int r;
+ r=open("/dev/null", 0);
+ return r;
+ }
+
#if 0
/* we need this for some virtualdub filters */
{