Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128867 - media-plugins/vdr-pvr350: pvr350 tv-out does not work with vdr-1.3.42 and newer
Summary: media-plugins/vdr-pvr350: pvr350 tv-out does not work with vdr-1.3.42 and newer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Matthias Schwarzott
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-05 00:13 UTC by Harri Kaimio
Modified: 2006-04-14 16:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harri Kaimio 2006-04-05 00:13:25 UTC
Due to changes in vdr-1.3.42 vdr-pvr350 plugin does not work with it and later releases without applying the following patch:

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
Comment 1 Matthias Schwarzott gentoo-dev 2006-04-14 16:07:28 UTC
Added patch to CVS.

Next time, please attach the patch via the "Create a New Attachment"-function and not included in the text.