[vlc-devel] [PATCH 3/3] Do not use libdvdnav's read ahead cache on OS/2.

KO Myung-Hun komh78 at gmail.com
Tue Dec 20 12:29:47 CET 2011


Using it causes libdvdnav to complain about 'demux error'.
---
 modules/access/dvdnav.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index 2a7d647..fad5ed6 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -97,7 +97,11 @@ vlc_module_begin ()
 vlc_module_end ()
 
 /* Shall we use libdvdnav's read ahead cache? */
+#ifdef __OS2__
+#define DVD_READ_CACHE 0
+#else
 #define DVD_READ_CACHE 1
+#endif
 
 /*****************************************************************************
  * Local prototypes
-- 
1.7.3.2




More information about the vlc-devel mailing list