vdr-xine 0.7.6: vdr 1.3.42 compatibility
Commit Message
Due to an ABI change in cDevice, the video will be frozen. The attached patch
fixes this.
BTW, Reinhard: any idea how long before the next vdr-xine release?
Comments
On Sun, Feb 05, 2006 at 06:50:13PM +0000, Darren Salt wrote:
> Due to an ABI change in cDevice, the video will be frozen. The attached patch
> fixes this.
Thank you very much for fixing my favorite plugin so fast !!!
Hi,
Darren Salt wrote:
> BTW, Reinhard: any idea how long before the next vdr-xine release?
Well, it works already with 1.3.42, but some changes still need some
fine tuning. Expect a release during the week or possibly next weekend.
Bye.
> +# ifdef VDRVERSNUM >= 10342
This surely has to be #if not #ifdef.
Olaf
@@ -2137,8 +2137,12 @@
fprintf(stderr, "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n");
}
-
+
+# ifdef VDRVERSNUM >= 10342
+ int cXineDevice::PlayAudio(const uchar *Data, int Length, uchar Id)
+# else
int cXineDevice::PlayAudio(const uchar *Data, int Length)
+# endif
{
// fprintf(stderr, " 0x%02x ", Data[ 3 ]);
return PlayAudioCommon(Data, Length);
@@ -80,7 +80,11 @@
virtual int GetAudioChannelDevice(void);
virtual void SetAudioChannelDevice(int AudioChannel);
virtual void SetDigitalAudioDevice(bool On);
+# if VDRVERSNUM >= 10342
+ virtual int PlayAudio(const uchar *Data, int Length, uchar Id);
+# else
virtual int PlayAudio(const uchar *Data, int Length);
+# endif
#else
virtual void PlayAudio(const uchar *Data, int Length);
#endif