mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
zapit.cpp: fix possible seqfault
This commit is contained in:
@@ -1267,6 +1267,8 @@ void CZapit::Rezap(void)
|
|||||||
{
|
{
|
||||||
if (currentMode & RECORD_MODE)
|
if (currentMode & RECORD_MODE)
|
||||||
return;
|
return;
|
||||||
|
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts)
|
||||||
|
return;
|
||||||
if(config.rezapTimeout > 0)
|
if(config.rezapTimeout > 0)
|
||||||
sleep(config.rezapTimeout);
|
sleep(config.rezapTimeout);
|
||||||
if(current_channel)
|
if(current_channel)
|
||||||
|
Reference in New Issue
Block a user