[MPlayer-dev-eng] [PATCH] use dvdnav's dvdread (for menu selection)

Nico Sabbi nicola_sabbi at fastwebnet.it
Sat Sep 9 21:44:21 CEST 2006


Nico Sabbi wrote:

>
> In short: dvdnav is installed with its own old version of dvdread, 
> that is the only
> library working when selecting menu items; stream_dvd.c can reuse this 
> version
> of dvdread.
>
> This patch changes configure (and to a lesser extent stream_dvd.h) 
> modifying the
> order of detection:
> 1) dvdnav
> 2) mpdvdkit
> 3) dvdread
>
> when dvdnav is yes it will disable mpdvdkit and set dvdread to yes, 
> but without
> adding -ldvdread to the compilation switches.
>
> I preferred to add the changes to stream_dvd.h rather than adding 
> -Idvdread to the
> include path because in the future separating the configuration cases 
> will be easier.
>
> If no one objects I'll commit this patch soon.
>
>------------------------------------------------------------------------
>
>Index: stream/stream_dvd.h
>===================================================================
>--- stream/stream_dvd.h	(revisione 19602)
>+++ stream/stream_dvd.h	(copia locale)
>@@ -6,6 +6,11 @@
> #include "libmpdvdkit2/ifo_types.h"
> #include "libmpdvdkit2/ifo_read.h"
> #include "libmpdvdkit2/nav_read.h"
>+#elif USE_DVDNAV
>  
>

this should read #elif defined(USE_DVDNAV).
committed.



More information about the MPlayer-dev-eng mailing list