mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
zapit/include/zapit/frontend_c.h: prevent setTsidOnid() to change
current transponder id on locked frontend: fix case when PiP started while no live channel running (ie playback mode), return to live playback mode can break running recording
This commit is contained in:
@@ -225,7 +225,11 @@ class CFrontend
|
||||
return (currentTransponder.TP_id == 0)
|
||||
|| (tpid == currentTransponder.TP_id);
|
||||
}
|
||||
void setTsidOnid(transponder_id_t newid) { currentTransponder.TP_id = newid; }
|
||||
void setTsidOnid(transponder_id_t newid)
|
||||
{
|
||||
if (!usecount)
|
||||
currentTransponder.TP_id = newid;
|
||||
}
|
||||
uint32_t getRate ();
|
||||
|
||||
void Lock();
|
||||
|
Reference in New Issue
Block a user