streamdev CVS - recent tarball?
Commit Message
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
@@ -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