Re: Streamdev to Streamdev with PVRInput card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Jun 2011 20:43:38 +0200, Martin Dauskardt wrote
> When leaving OpenDvr, the bool is set to true. 
> It will only become false again during runtime, if vdr calls the 
> pvrinput- function SetChannelDevice() and determines the needed settings.
> 
> And this is your problem. There are no debug messages from 
> pvrinput's SetChannelDevice() or ProvidesChannel(), so vdr never 
> calls  these pvrinput functions - although a channel switch for a 
> pvrinput device is requested.
> 
> But why? I have no idea. It works for you with vomp. It worked for 
> me with streamdev when I tested this last year. But I had only 
> streamdev-server running and used vlc to switch channels.

Streamdev-client won't forward calls to SetChannelDevice and ProvidesChannel
to the server, if the current channel and the requested new channel are on the
same transponder. Instead it will just go ahead and later add the PIDs of the
new channel to the current connection.

Pvrinput obviously uses the same frequencies (i.e. transponder) and even the
same PIDs for different channels, so streamdev-clients current behaviour is
bound to fail. According to an other posting in this thread, it is not
possible to use different frequencies, so it seems the problem needs to be
fixed in streamdev-client. Please try the following patch:

--- a/common.h
+++ b/common.h
@@ -23,7 +23,7 @@
 #      define Dprintf(x...)
 #endif
 
-#define TRANSPONDER(c1, c2) (c1->Transponder() == c2->Transponder())
+#define TRANSPONDER(c1, c2) (c1->Transponder() == c2->Transponder() &&
!c1->IsSourceType('V'))
 
 #define MAXPARSEBUFFER KILOBYTE(16)

AFAIKT the problem is streamdev-client only. So HTTP streaming with e.g. VLC
is not affected.
 
Regards,
Frank

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux