summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-04-27 15:18:05 +0000
committerjstebbins <[email protected]>2009-04-27 15:18:05 +0000
commit6b9c017e63f06e9a7b66062d0a8cb460a02ca6b6 (patch)
tree13479caa23219b5476a4d1e534a970cd6fce29fd /contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
parent3bb12e29d03f62a303c7728cd6f40c6498f2858e (diff)
add libdvdnav support
emulates the vm of a dvd player in order to navigate the disc more reliably it is optional and disabled by default CLI option '--dvdnav' enables. GUI's have a new option in preferences. When dvdnav is enabled, you can also select angles (cli '--angle') git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2355 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libdvdread/P00-darwin-css-vlc-dylib.patch')
-rw-r--r--contrib/libdvdread/P00-darwin-css-vlc-dylib.patch22
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch b/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
index cb0181517..d6c5f6d57 100644
--- a/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
+++ b/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
@@ -1,12 +1,12 @@
-diff -Naur libdvdread.orig/dvdread/dvd_input.c libdvdread/dvdread/dvd_input.c
---- libdvdread.orig/dvdread/dvd_input.c 2005-09-19 09:43:08.000000000 -0400
-+++ libdvdread/dvdread/dvd_input.c 2009-02-21 10:22:42.000000000 -0500
-@@ -332,7 +332,7 @@
+diff -Naur libdvdread.orig/src/dvd_input.c libdvdread/src/dvd_input.c
+--- libdvdread.orig/src/dvd_input.c 2009-01-08 14:57:10.000000000 -0800
++++ libdvdread/src/dvd_input.c 2009-04-24 09:02:34.000000000 -0700
+@@ -285,7 +285,7 @@
+ /* dlopening libdvdcss */
- #else
-
-- dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
-+ dvdcss_library = dlopen("/Applications/VLC.app/Contents/MacOS/lib/libdvdcss.2.dylib", RTLD_LAZY);
-
- if(dvdcss_library != NULL) {
- #if defined(__OpenBSD__) && !defined(__ELF__)
+ #ifdef __APPLE__
+- #define CSS_LIB "libdvdcss.2.dylib"
++ #define CSS_LIB "/Applications/VLC.app/Contents/MacOS/lib/libdvdcss.2.dylib"
+ #elif defined(WIN32)
+ #define CSS_LIB "libdvdcss.dll"
+ #elif defined(__OS2__)