From b4cf20a9fda687d1d091155a446674d6a01c27e3 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 3 Sep 2013 11:43:55 +0400 Subject: [PATCH] zapit/include/zapit/zapit.h: add EnablePlayback() to lock/unlock playback starting --- src/zapit/include/zapit/zapit.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zapit/include/zapit/zapit.h b/src/zapit/include/zapit/zapit.h index a80088ebc..f236fc4be 100644 --- a/src/zapit/include/zapit/zapit.h +++ b/src/zapit/include/zapit/zapit.h @@ -261,5 +261,6 @@ class CZapit : public OpenThreads::Thread bool StopPip(); void Lock() { mutex.lock(); } void Unlock() { mutex.unlock(); } + void EnablePlayback(bool enable) { playbackStopForced = !enable; } }; #endif /* __zapit_h__ */