#! /bin/sh /usr/share/dpatch/dpatch-run ## 90_pvr350-0.0.4pre1-1.3.42.dpatch by Thomas Günther ## http://toms-cafe.de/vdr/download/pvr350-0.0.4pre1-1.3.42.diff ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Changes for VDR >= 1.3.42. @DPATCH@ --- pvr350-0.0.4pre1/device.c +++ pvr350-0.0.4pre1/device.c @@ -321,7 +321,11 @@ streams to find out the aspect ratio that's needed */ #if VDRVERSNUM >= 10318 +#if VDRVERSNUM >= 10342 +int cPvr350Device::PlayAudio(const uchar *Data, int Length, uchar Id) +#else int cPvr350Device::PlayAudio(const uchar *Data, int Length) +#endif { return PlayVideo(Data,Length); } --- pvr350-0.0.4pre1/device.h +++ pvr350-0.0.4pre1/device.h @@ -74,8 +74,12 @@ virtual void StillPicture(const uchar *Data, int Length); virtual int PlayVideo(const uchar *Data, int Length); #if VDRVERSNUM > 10318 +#if VDRVERSNUM >= 10342 + virtual int PlayAudio(const uchar *Data, int Length, uchar Id); +#else virtual int PlayAudio(const uchar *Data, int Length); #endif +#endif virtual void SetVideoFormat(bool VideoFormat16_9); virtual void SetVolumeDevice(int Volume); #if VDRVERSNUM < 10307