try to fix segfault on open/close

Origin commit data
------------------
Branch: master
Commit: c1c2a5fc2c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-08-01 15:43:58 +02:00
committed by vanhofen
parent 13ac6ab00a
commit b8f7140215
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;