From f40f2641791a096cf00fb57e8953d16fa7bdf6fd 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 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/b4cf20a9fda687d1d091155a446674d6a01c27e3 Author: [CST] Focus Date: 2013-09-03 (Tue, 03 Sep 2013) --- 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__ */