[MPlayer-dev-eng] [PATCH] mplayer: Fix building GUI without DVD support

Ingo Brückl ib at wupperonline.de
Thu Oct 18 10:00:36 CEST 2012


Reimar Döffinger wrote on Tue, 09 Oct 2012 08:56:59 +0200:

> "Ingo Brückl" <ib at wupperonline.de> wrote:

>>Valentine Barshak wrote on Mon, 8 Oct 2012 22:34:48 +0400:
>>
>>> This patch fixes the following compilation error
>>> when building GUI mplayer without DVD support:
>>>   gui/interface.o: In function `gui':
>>>   interface.c:(.text+0xbd4): undefined reference to `dvd_angle'
>>>   interface.c:(.text+0x1199): undefined reference to `dvd_angle'
>>
>>Reimar,
>>
>>would that be OK with you or should I rather #ifdef CONFIG_DVDREAD
>>everything with dvd_title, dvd_chapter and dvd_angle in the GUI sources?
>>(We could then move the definitions of dvd_title and dvd_chapter to a
>>proper place.)

>  The GUI should not be using any of these directly, instead use stream
> controls. Even more so since using the variables directly to my
> knowledge will not work when the cache is enabled.

This leads me to an other question:

In r34474, should I have added STREAM_CTRL_GET_NUM_TITLES to stream/cache2.c?

Ingo


More information about the MPlayer-dev-eng mailing list