diff options
author | 2006-04-14 23:08:18 +0000 | |
---|---|---|
committer | 2006-04-14 23:08:18 +0000 | |
commit | e0b19edf618c99c9cf3c92e5f384bfd302fd6c81 (patch) | |
tree | b5ec87b5a9cf9a62606a9bef1352988db130a8fa /media-plugins/vdr-pvr350/files | |
parent | Version bump. (diff) | |
download | gentoo-2-e0b19edf618c99c9cf3c92e5f384bfd302fd6c81.tar.gz gentoo-2-e0b19edf618c99c9cf3c92e5f384bfd302fd6c81.tar.bz2 gentoo-2-e0b19edf618c99c9cf3c92e5f384bfd302fd6c81.zip |
Added patch to work with vdr-1.3.42 and greater - Thanks to Harri Kaimio <harri@kaimio.fi> - See Bug #128867
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-plugins/vdr-pvr350/files')
-rw-r--r-- | media-plugins/vdr-pvr350/files/vdr-pvr350-0.0.4_pre1-vdr-1.3.42.diff | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-plugins/vdr-pvr350/files/vdr-pvr350-0.0.4_pre1-vdr-1.3.42.diff b/media-plugins/vdr-pvr350/files/vdr-pvr350-0.0.4_pre1-vdr-1.3.42.diff new file mode 100644 index 000000000000..ce5f006c3ca6 --- /dev/null +++ b/media-plugins/vdr-pvr350/files/vdr-pvr350-0.0.4_pre1-vdr-1.3.42.diff @@ -0,0 +1,31 @@ +diff -ur pvr350-0.0.4pre1/device.c /tmp/pvr350-0.0.4pre1/device.c +--- pvr350-0.0.4pre1/device.c 2005-02-12 21:15:16.000000000 +0200 ++++ /tmp/pvr350-0.0.4pre1/device.c 2006-04-05 09:08:54.000000000 +0300 +@@ -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); + } +diff -ur pvr350-0.0.4pre1/device.h /tmp/pvr350-0.0.4pre1/device.h +--- pvr350-0.0.4pre1/device.h 2005-02-12 21:14:25.000000000 +0200 ++++ /tmp/pvr350-0.0.4pre1/device.h 2006-04-05 09:11:46.000000000 +0300 +@@ -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 |