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@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.
OK, I fixed the sound problem, it was an old avcodec.h lying around. But the compile problem is still in CVS.
S.
On Thu, 2005-03-31 at 10:29 +0000, Sebastian Frei wrote:
[...]
Your checkout command above doesn't do what you probably intended, it checks out HEAD, which among other issues, does not compile with VDR >= 1.3.21. The vdr-dxr3-0-2 branch does not have dxr3dolbydigital.*. Try this:
rm -rf dxr3 cvs -z9 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin \ co -r vdr-dxr3-0-2 dxr3
...or this:
cd dxr3 cvs up -r vdr-dxr3-0-2 make clean
On Thu, 2005-03-31 at 22:24 +0000, Sebastian Frei wrote:
Anyway the HEAD branch now compiles and workes for me.
...but it does not have OSD, and probably sound is broken with VDR >= 1.3.21 too. I'd strongly recommend using the vdr-dxr3-0-2 branch for now until Christian lands some new goodies to HEAD.