]> git.pld-linux.org Git - packages/dshowserver.git/blame - dshowserver-codecspath.patch
- alpha and numeric comparision is inconsistent with different rpm versions
[packages/dshowserver.git] / dshowserver-codecspath.patch
CommitLineData
c6b5d5ad
GS
1diff -urN coreavc-for-linux.orig/loader/compat/config.h coreavc-for-linux-svn72/loader/compat/config.h
2--- coreavc-for-linux.orig/loader/compat/config.h 2008-10-13 16:43:42.000000000 +0200
3+++ coreavc-for-linux-svn72/loader/compat/config.h 2008-10-13 17:17:33.000000000 +0200
4@@ -16,7 +16,7 @@
5 #define WIN32_LOADER 1
6 /* Win32 DLL support */
7 #define USE_WIN32DLL 1
8-#define WIN32_PATH "/usr/lib/win32"
9+#define WIN32_PATH "/usr/lib/codecs"
10 /* DirectShow support */
11 #define USE_DIRECTSHOW 1
12
13diff -urN coreavc-for-linux.orig/loader/elfdll.c coreavc-for-linux-svn72/loader/elfdll.c
14--- coreavc-for-linux.orig/loader/elfdll.c 2008-10-13 16:43:43.000000000 +0200
15+++ coreavc-for-linux-svn72/loader/elfdll.c 2008-10-13 17:18:12.000000000 +0200
16@@ -38,7 +38,7 @@
17 extern void dump_exports(HMODULE hModule);
18 /*---------------- END HACKS ---------------*/
19
20-//char *extra_ld_library_path = "/usr/lib/win32";
21+//char *extra_ld_library_path = "/usr/lib/codecs";
22 extern char* def_path;
23
24 struct elfdll_image
25diff -urN coreavc-for-linux.orig/loader/module.c coreavc-for-linux-svn72/loader/module.c
26--- coreavc-for-linux.orig/loader/module.c 2008-10-13 16:43:43.000000000 +0200
27+++ coreavc-for-linux-svn72/loader/module.c 2008-10-13 17:18:12.000000000 +0200
28@@ -365,7 +365,7 @@
29 HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags)
30 {
31 WINE_MODREF *wm = 0;
32- char* listpath[] = { "", "", "/usr/lib/win32", "/usr/local/lib/win32", 0 };
33+ char* listpath[] = { "", "", "/usr/lib/codecs", "/usr/local/lib/codecs", 0 };
34 extern char* def_path;
35 char path[512];
36 char checked[2000];
37diff -urN coreavc-for-linux.orig/man/dshowserver.1 coreavc-for-linux-svn72/man/dshowserver.1
38--- coreavc-for-linux.orig/man/dshowserver.1 2008-10-13 16:43:44.000000000 +0200
39+++ coreavc-for-linux-svn72/man/dshowserver.1 2008-10-13 17:19:08.000000000 +0200
40@@ -38,7 +38,7 @@
41 .SH OPTIONS
42 .IP "-c codec_name"
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
This page took 0.328704 seconds and 4 git commands to generate.