vlc/vlc-2.0 | branch: master | KO Myung-Hun <[email protected]> | Tue Dec 20 
20:29:47 2011 +0900| [0c74488edd5f5272410e30af7fd83b152f85b0cb] | committer: 
Jean-Baptiste Kempf

Do not use libdvdnav's read ahead cache on OS/2.

Using it causes libdvdnav to complain about 'demux error'.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>
(cherry picked from commit bdf3c466d2212343667f5cda1bce3938d17471cd)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=0c74488edd5f5272410e30af7fd83b152f85b0cb
---

 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

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to