Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: AW: [ANNOUNCE] vdr-vbox-0.0.1 Plugin



Klaus Wolf wrote:

i am having trouble to make your plugin working.

After make plugin i am getting the following errors:

Entering directory `/usr/local/src/vdr-1.1.27/PLUGINS/src/vbox-0.0.1'
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"vbox"'
-I../../../inc
lude -I../../../../DVB/include sndplayer.c
In file included from sndplayer.c:15:
sndplayer.h:157:5: warning: no newline at end of file
sndplayer.c: In member function `virtual void cSndPlayer::Action()':
sndplayer.c:665: error: invalid conversion from `const cFrame*' to
`cFrame*'
sndplayer.c:813:2: warning: no newline at end of file
make[1]: *** [sndplayer.o] Error 1
make[1]: Leaving directory
`/usr/local/src/vdr-1.1.27/PLUGINS/src/vbox-0.0.1'
make: *** [plugins] Error 2


i am using:

-vdr 1.1.27
plugins:
-mp3-0.7.12


libsndfile is 1.0.4 and libmad is installed

any idee ??

thanks
Klaus Wolf


The version 1.2.27
has const cFrame *Get(void); in class cRingBufferFrame
but newer version since 1.1.29 have
cFrame *Get(void); without the const.

i am using 1.2.1

you can modify sndplayer.c line 665:
pframe = ringBuffer->Get();
to
pframe = (cFrame* )ringBuffer->Get();

Better would be to declare pFrame as const cFrame*,
but then the compiler will break on a call to Drop(cFrame* frame)

I dont know why the prototypes of cRingBufferFrame have all changed and the const qualifier is omitted everywhere.

regards,
gunnar





--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index