Mercurial > mplayer.hg
comparison loader/driver.c @ 185:b2dfe79ffb9f
disabled DirectShow loader - use libDS_Filter instead
author | arpi_esp |
---|---|
date | Wed, 21 Mar 2001 21:09:36 +0000 |
parents | 28091b3caff9 |
children | a2c9731b2e01 |
comparison
equal
deleted
inserted
replaced
184:385a68be7494 | 185:b2dfe79ffb9f |
---|---|
11 #include <wine/pe_image.h> | 11 #include <wine/pe_image.h> |
12 #include <wine/winreg.h> | 12 #include <wine/winreg.h> |
13 #include <wine/vfw.h> | 13 #include <wine/vfw.h> |
14 #include <registry.h> | 14 #include <registry.h> |
15 | 15 |
16 #include "com.h" | 16 //#include "com.h" |
17 typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**); | 17 //typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**); |
18 | 18 |
19 | 19 |
20 #ifdef __FreeBSD__ | 20 #ifdef __FreeBSD__ |
21 #include <sys/time.h> | 21 #include <sys/time.h> |
22 #endif | 22 #endif |
153 } | 153 } |
154 #endif | 154 #endif |
155 | 155 |
156 if (!(npDriver->DriverProc = (DRIVERPROC) | 156 if (!(npDriver->DriverProc = (DRIVERPROC) |
157 GetProcAddress(npDriver->hDriverModule, "DriverProc"))) { | 157 GetProcAddress(npDriver->hDriverModule, "DriverProc"))) { |
158 #if 0 | 158 #if 1 |
159 printf("Library %s is not a VfW/ACM valid codec\n", win32_codec_name); | 159 printf("Library %s is not a VfW/ACM valid codec\n", win32_codec_name); |
160 #else | 160 #else |
161 // Try DirectShow... | 161 // Try DirectShow... |
162 GETCLASS func=(GETCLASS)GetProcAddress(npDriver->hDriverModule,"DllGetClassObject"); | 162 GETCLASS func=(GETCLASS)GetProcAddress(npDriver->hDriverModule,"DllGetClassObject"); |
163 if(!func) | 163 if(!func) |