Fix mTerminate not being initialised.
This commit is contained in:
parent
df7e34a51d
commit
1bdb4f302c
|
@ -47,8 +47,10 @@ RtpSource::RtpSource(
|
|||
mFrame(65536),
|
||||
mFrameCount(0),
|
||||
mFrameGood(true),
|
||||
prevM(false),
|
||||
mFrameReady(false),
|
||||
mFrameProcessed(false)
|
||||
mFrameProcessed(false),
|
||||
mTerminate(false)
|
||||
{
|
||||
char hostname[256] = "";
|
||||
gethostname(hostname, sizeof(hostname));
|
||||
|
|
|
@ -92,8 +92,6 @@ private:
|
|||
bool mFrameGood;
|
||||
bool prevM;
|
||||
|
||||
bool mTerminate;
|
||||
|
||||
bool mFrameReady;
|
||||
std::condition_variable mFrameReadyCv;
|
||||
std::mutex mFrameReadyMutex;
|
||||
|
@ -101,6 +99,7 @@ private:
|
|||
bool mFrameProcessed;
|
||||
std::condition_variable mFrameProcessedCv;
|
||||
std::mutex mFrameProcessedMutex;
|
||||
bool mTerminate;
|
||||
|
||||
private:
|
||||
void init(uint16_t seq);
|
||||
|
|
Loading…
Reference in New Issue