1 diff -urN dshowserver.orig/loader/compat/config.h dshowserver-svn101/loader/compat/config.h
2 --- dshowserver.orig/loader/compat/config.h 2009-10-17 23:21:31.000000000 +0200
3 +++ dshowserver-svn101/loader/compat/config.h 2010-01-09 15:48:58.683806461 +0100
6 /* Win32 DLL support */
8 -#define WIN32_PATH "/usr/lib/win32"
9 +#define WIN32_PATH "/usr/lib/codecs"
10 /* DirectShow support */
11 #define USE_DIRECTSHOW 1
13 diff -urN dshowserver.orig/loader/elfdll.c dshowserver-svn101/loader/elfdll.c
14 --- dshowserver.orig/loader/elfdll.c 2009-10-17 23:21:33.000000000 +0200
15 +++ dshowserver-svn101/loader/elfdll.c 2010-01-09 15:45:54.188724360 +0100
17 extern void dump_exports(HMODULE hModule);
18 /*---------------- END HACKS ---------------*/
20 -//char *extra_ld_library_path = "/usr/lib/win32";
21 +//char *extra_ld_library_path = "/usr/lib/codecs";
22 extern char* def_path;
25 diff -urN dshowserver.orig/loader/module.c dshowserver-svn101/loader/module.c
26 --- dshowserver.orig/loader/module.c 2009-10-17 23:21:33.000000000 +0200
27 +++ dshowserver-svn101/loader/module.c 2010-01-09 15:48:42.311805474 +0100
29 HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags)
32 - char* listpath[] = { "", "", "/usr/lib/win32", "/usr/local/lib/win32", 0 };
33 + char* listpath[] = { "", "", "/usr/lib/codecs", "/usr/local/lib/win32", 0 };
34 extern char* def_path;
37 diff -urN dshowserver.orig/man/dshowserver.1 dshowserver-svn101/man/dshowserver.1
38 --- dshowserver.orig/man/dshowserver.1 2009-10-17 23:21:34.000000000 +0200
39 +++ dshowserver-svn101/man/dshowserver.1 2010-01-09 15:49:42.628973022 +0100
43 specify codec to use (normally CoreAVCDecoder.ax). This
44 -codec should be installed in /usr/lib/win32
45 +codec should be installed in /usr/lib/codecs
46 .IP "-s <width>x<height>"
47 Dimensions of video. This is used to define buffer sizes
48 So it must be the maximum resolution that will be displayed