Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Compile error in DXR3 plugin 0.2.0
On Sat, Jun 07, 2003 at 06:03:12PM +0200, Baty Jean-Marc wrote:
> Thank you for your answer but...Now with gcc/g++ 3.2.3 i've got:
>
> make[1]: Entering directory `/usr/local/src/vdr-1.2.0/PLUGINS/src/dxr3-0.2.0'
> g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"'
> -DSOCKET_CHMOD=0660 -I../../../include -I../../../../DVB/include
> -I../../../../ffmpeg spuenc.c
> spuenc.c: In member function `void cSPUenc::SetPalette(int, int, const
> eDvbColor*)':
> spuenc.c:452: case label does not reduce to an integer constant
> make[1]: *** [spuenc.o] Error 1
> make[1]: Leaving directory `/usr/local/src/vdr-1.2.0/PLUGINS/src/dxr3-0.2.0'
Remove the Elchi-Patch, or use these patch to fix the problem:
--- vdr-1.1.30.orig/PLUGINS/src/dxr3-0.1.8/spuenc.c 2003-04-25 00:13:04.000000000 +0200
+++ vdr-1.1.30/PLUGINS/src/dxr3-0.1.8/spuenc.c 2003-05-01 18:47:49.000000000 +0200
@@ -445,12 +445,14 @@
for (int x = first,i = 0; x <= last; x++,i++)
{
col = *pal;
+
+ if (col == clrBackground)
+ idx = BACKGROUND;
+ else
switch (col)
{
case clrTransparent:idx = TRANSPARENT;
break;
- case clrBackground: idx = BACKGROUND;
- break;
case clrBlack: idx = BLACK;
break;
case clrRed: idx = RED;
> JMB
Ciao,
Andreas
--
Andreas Kool (akool@akool.de * akool@isdn4linux.de * http://www.akool.de)
PGP: 3FBF2411 Fingerprint: B5 35 34 74 25 60 2A 7A 89 06 92 C4 08 BA A5 BD
(To get my PGP key, send me a mail with subject "send pgp key")
X <-- Nail here for a new Monitor
Transmission of this message via the Microsoft Network is prohibited
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index