try to fix segfault on open/close

This commit is contained in:
Jacek Jendrzej
2019-07-22 19:48:51 +02:00
parent 42ac0f8229
commit e27822382d
2 changed files with 30 additions and 11 deletions

View File

@@ -3,6 +3,7 @@
#include <string>
#include <vector>
#include <OpenThreads/Mutex>
typedef enum
{
@@ -17,6 +18,7 @@ class cPlayback
friend class CStreamInfo2;
private:
static OpenThreads::Mutex mutex;
bool enabled;
bool playing, first;
bool no_probe;