changeset 12735:5af0b22d55a6

Support for Winnov Videum WINX and WNV1 codecs with binary dll
author rtognimp
date Wed, 30 Jun 2004 22:00:53 +0000
parents 506dc5dbc200
children 45d1c8f0772d
files etc/codecs.conf loader/win32.c
diffstat 2 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Wed Jun 30 17:48:58 2004 +0000
+++ b/etc/codecs.conf	Wed Jun 30 22:00:53 2004 +0000
@@ -1348,6 +1348,22 @@
   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
--- a/loader/win32.c	Wed Jun 30 17:48:58 2004 +0000
+++ b/loader/win32.c	Wed Jun 30 22:00:53 2004 +0000
@@ -3582,6 +3582,14 @@
 	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 */
     {