[vlc-devel] [PATCH 02/12] Do not use libdvdnav's read ahead cache on OS/2.
KO Myung-Hun
komh78 at gmail.com
Fri Mar 2 15:57:52 CET 2012
From: KO Myung-Hun <komh78 at gmail.com>
Using it causes libdvdnav to complain about 'demux error'.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit bdf3c466d2212343667f5cda1bce3938d17471cd)
Signed-off-by: KO Myung-Hun <komh at chollian.net>
---
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