fixed regression: no receiver created for ES/PS/PES

(reported by Gavin Hamill)
This commit is contained in:
Frank Schmirler 2010-12-10 16:38:10 +01:00
parent 635ccc479f
commit fe9a58b88c
3 changed files with 8 additions and 2 deletions

View File

@ -139,3 +139,6 @@ Matthias Prill
Timothy D. Lenz Timothy D. Lenz
for reporting missing support for invisible channel groups in HTTP menu for reporting missing support for invisible channel groups in HTTP menu
Gavin Hamill
for reporting that ES/PS/PES no longer works

View File

@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History VDR Plugin 'streamdev' Revision History
--------------------------------------- ---------------------------------------
- fixed regression: no receiver created for ES/PS/PES (reported by Gavin
Hamill)
- VTP no longer uses a static priority value for its server-side receivers. - VTP no longer uses a static priority value for its server-side receivers.
The server stores channel and priority requested with the PROV command and The server stores channel and priority requested with the PROV command and
re-uses these values in a subsequent TUNE for the same channel. The new re-uses these values in a subsequent TUNE for the same channel. The new

View File

@ -450,7 +450,7 @@ void cStreamdevLiveStreamer::SetPriority(int Priority)
void cStreamdevLiveStreamer::StartReceiver(void) void cStreamdevLiveStreamer::StartReceiver(void)
{ {
if (m_Device != NULL && m_NumPids > 0 && IsRunning()) { if (m_NumPids > 0) {
Dprintf("Creating Receiver to respect changed pids\n"); Dprintf("Creating Receiver to respect changed pids\n");
cReceiver *current = m_Receiver; cReceiver *current = m_Receiver;
#if VDRVERSNUM < 10500 #if VDRVERSNUM < 10500
@ -459,7 +459,8 @@ void cStreamdevLiveStreamer::StartReceiver(void)
m_Receiver = new cStreamdevLiveReceiver(this, m_Channel->GetChannelID(), m_Priority, m_Pids); m_Receiver = new cStreamdevLiveReceiver(this, m_Channel->GetChannelID(), m_Priority, m_Pids);
#endif #endif
cThreadLock ThreadLock(m_Device); cThreadLock ThreadLock(m_Device);
Attach(); if (IsRunning())
Attach();
delete current; delete current;
} }
else else