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

Rémi Denis-Courmont remi at remlab.net
Mon Oct 31 19:08:07 CET 2011


Le jeudi 20 octobre 2011 15:30:12 KO Myung-Hun, vous avez écrit :
> Using it causes libdvdnav to complain about 'demux error'.

This patch does not seem to do anything?

And this sounds like a bug in the OS/2 dvdnav port.

> ---
>  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


-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list