[vdr] Problems compiling dxr3plugin-cvs

Sebastian Frei sebastian at schnapsleichen.de
Thu Mar 31 12:29:11 CEST 2005


Hi,

because of the OSD pink fix I wanted to give the cvs a try. I checked it out:

/usr/src/vdr-1.3.22/PLUGINS/src>cvs -z9 
-d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/dxr3plugin -bvdr-dxr3-0-2 
co dxr3

and tried to compile:

/usr/src/vdr-1.3.22/PLUGINS/src/dxr3>make all
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"' 
-DSOCKET_CHMOD=0660 -D_GNU_SOURCE -DMICROCODE=\"/usr/share/misc/em8300.uc\" 
-DLOGPATH=\"/video/\"       -I../../../include -I../DVB/include 
-I/usr/local/include/ffmpeg -I/usr/include dxr3.c
In file included from dxr3.c:17:
../../../include/vdr/audio.h:21: warning: `virtual void cAudio::Play(const 
uchar*, int, uchar)' was hidden
dxr3dolbydigital.h:37: warning:   by `virtual void 
cDxr3DolbyDigital::Play(const uchar*, int)'
dxr3.c: In member function `virtual void cDxr3OsdColorItem::Set()':
dxr3.c:143: warning: unused variable 'realValue'
dxr3.c:186:1: warning: "/*" within comment
dxr3.c:215:1: warning: "/*" within comment
dxr3.c:229:1: warning: "/*" within comment
dxr3.c: In member function `virtual bool cPluginDxr3::Start()':
dxr3.c:392: error: cannot allocate an object of type `cDxr3DolbyDigital'
dxr3.c:392: error:   because the following virtual functions are abstract:
../../../include/vdr/audio.h:21: error:  virtual void cAudio::Play(const 
uchar*, int, uchar)
dxr3.h: At global scope:
dxr3.h:5: warning: 'SettingBar' defined but not used
make: *** [dxr3.o] Error 1

The line 21 in audio.h says:
virtual void Play(const uchar *Data, int Length, uchar Id) = 0;
Adding a ", uchar Id" to line 28 in dxr3dolbydigital.c and line 37 in 
dxr3dolbydigital.h makes it compile.

But then I have no analog sound in VDR.  "Digital Audio output" is off, and 
"Switch to analog output" does nothing.

Having no sound makes VDR nearly unusable, so: Anybody any ideas ?

S.



More information about the vdr mailing list