pvr350 TV out not working with VDR
Commit Message
Well, that was easy. Here's the patch for pvr350 plugin:
-------
----
BR, H
Harri Kaimio wrote:
> Hi,
>
> status update: I got my TV-out working with VDR 1.3.41 and older
> versions. So it seems that something changed between 1.3.41 and 1.3.44
> breaks the PVR350 plug-in. I'll try to find out the exact reason, any
> help is appreciated...
>
> BR, H
>
> Harri Kaimio wrote:
>> Hi,
>>
>> I am having problems installing PVR-350 as VDR output device. I have VDR
>> 1.3.44 and vdr-pvr350 0.0.4pre1 plugin. I get only OSD information on my
>> TV - no video nor audio.
>>
>> VDR works OK with softdevice and the PVR350 TV-out works with other
>> software (I can even play VDR recordings using simply "cat <vdrfile> >
>> /dev/video16". So HW seems to be working but something in my VDR
>> installation is broken.
>>
>> Any ideas? Or has anyone succeeded with this combination?
>>
>> BR, Harri
>>
>>
>> _______________________________________________
>> vdr mailing list
>> vdr@linuxtv.org
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>
>
> _______________________________________________
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
@@ -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);
}
@@ -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