Re: streamdev CVS - recent tarball?

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

 



On Mon, 20 Sep 2010 12:14:28 +0100, Gavin Hamill wrote
> Ah, it does work, but only if I use http://hostname:port/TS/.....
> 
> PES/PS/ES do not work. I'm not bothered too much about PES/PS but ES 
> is very useful for streaming radio. How can I help to debug this further?

Thanks for reporting this regression. Streamdev-0.5.0 is not affected - only
the CVS version. Fix is attached.

Regards,
Frank
diff -r -u streamdev-0.5.0-CVS/server/livestreamer.c streamdev-0.5.0-esps/server/livestreamer.c
--- streamdev-0.5.0-CVS/server/livestreamer.c	2010-09-24 21:57:40.000000000 +0200
+++ streamdev-0.5.0-esps/server/livestreamer.c	2010-09-26 11:15:54.000000000 +0200
@@ -436,12 +436,13 @@
 
 void cStreamdevLiveStreamer::StartReceiver(void)
 {
-	if (m_Device != NULL && m_NumPids > 0 && IsRunning()) {
+	if (m_NumPids > 0) {
 		Dprintf("Creating Receiver to respect changed pids\n");
 		cReceiver *current = m_Receiver;
 		m_Receiver = new cStreamdevLiveReceiver(this, m_Channel->GetChannelID(), m_Priority, m_Pids);
 		cThreadLock ThreadLock(m_Device);
-		Attach();
+		if (IsRunning())
+			Attach();
 		delete current;
 	}
 	else
_______________________________________________
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