mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
fixed regression: no receiver created for ES/PS/PES
(reported by Gavin Hamill)
This commit is contained in:
parent
2ec54f7505
commit
5aaf73310c
@ -171,3 +171,6 @@ Timothy D. Lenz
|
||||
|
||||
Rainer Blickle
|
||||
for reporting that channel switches may interrupt live TV on the server
|
||||
|
||||
Gavin Hamill
|
||||
for reporting that ES/PS/PES no longer works
|
||||
|
2
HISTORY
2
HISTORY
@ -1,6 +1,8 @@
|
||||
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.
|
||||
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
|
||||
|
@ -442,11 +442,12 @@ void cStreamdevLiveStreamer::SetPriority(int Priority)
|
||||
|
||||
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);
|
||||
if (IsRunning())
|
||||
Attach();
|
||||
delete current;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user