mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
zapit/include/zapit/zapit.h: add EnablePlayback() to lock/unlock playback starting
This commit is contained in:
@@ -261,5 +261,6 @@ class CZapit : public OpenThreads::Thread
|
|||||||
bool StopPip();
|
bool StopPip();
|
||||||
void Lock() { mutex.lock(); }
|
void Lock() { mutex.lock(); }
|
||||||
void Unlock() { mutex.unlock(); }
|
void Unlock() { mutex.unlock(); }
|
||||||
|
void EnablePlayback(bool enable) { playbackStopForced = !enable; }
|
||||||
};
|
};
|
||||||
#endif /* __zapit_h__ */
|
#endif /* __zapit_h__ */
|
||||||
|
Reference in New Issue
Block a user