Mailing List archive

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

[vdr] DXR3 plugin compilation problem with vdr-1.3.20 and dvd plugin patchesfrom CVS [was] problems playing DVDs



C.Y.M wrote:
Yay! This is now fixed in vdr-1.3.20 :) There is still one little problem though. If I press the "1" key on the remote, I am still unable to switch b/n the mp2 audio tracks, but its livable. :) Thanks everyone!
After reading of your success I decided to have a go at upgrading but have run into problems compiling the dxr3 plugin.

DVD plugin will only compile after applying the vdr-1.3.20 patch in the patches dir. But having applied that patch, the DXR3 plugin compilation fails with the following message...
----
dxr3device.c: In member function `virtual cSpuDecoder*
cDxr3Device::GetSpuDecoder()':
dxr3device.c:481: error: cannot allocate an object of type `cDxr3SpuDecoder'
dxr3device.c:481: error: because the following virtual functions are
abstract:
../../../include/vdr/spu.h:28: error: virtual cSpuDecoder::eScaleMode
cSpuDecoder::getScaleMode()
make: *** [dxr3device.o] Error 1
----

I think that this part of the DVD plugin patch may be the problem...

----
diff -bur vdr-1.3.20_orig/spu.h vdr-1.3.20/spu.h
--- vdr-1.3.20_orig/spu.h       2005-02-06 21:16:58.000000000 +0100
+++ vdr-1.3.20/spu.h    2005-02-06 22:18:09.000000000 +0100
@@ -25,6 +25,7 @@

     virtual int setTime(uint32_t pts) = 0;

+    virtual cSpuDecoder::eScaleMode getScaleMode(void) = 0;
     virtual void setScaleMode(cSpuDecoder::eScaleMode ScaleMode) = 0;
     virtual void setPalette(uint32_t * pal) = 0;
     virtual void setHighlight(uint16_t sx, uint16_t sy,
----

...I tried commenting out that addition and recompiling; but I think there's probably more to it than that :) (dxr3 compiled but vdr became unstable)

Any help would be greatly appreciated.

I'm using the patched version of the dxr3 plugin described here...
http://cachalot.mine.nu/src/dxr3/

--
Richard Wall




Home | Main Index | Thread Index