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

KO Myung-Hun komh at chollian.net
Mon Oct 10 13:43:54 CEST 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 dcf9310..66b3f46 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