mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 17:16:51 +00:00
Fix build without USE_PIP.
This commit is contained in:
@@ -2937,7 +2937,9 @@ void SoftHdDeviceExit(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
pthread_mutex_destroy(&SuspendLockMutex);
|
pthread_mutex_destroy(&SuspendLockMutex);
|
||||||
|
#ifdef USE_PIP
|
||||||
pthread_mutex_destroy(&PipVideoStream->DecoderLockMutex);
|
pthread_mutex_destroy(&PipVideoStream->DecoderLockMutex);
|
||||||
|
#endif
|
||||||
pthread_mutex_destroy(&MyVideoStream->DecoderLockMutex);
|
pthread_mutex_destroy(&MyVideoStream->DecoderLockMutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2956,7 +2958,9 @@ int Start(void)
|
|||||||
CodecInit();
|
CodecInit();
|
||||||
|
|
||||||
pthread_mutex_init(&MyVideoStream->DecoderLockMutex, NULL);
|
pthread_mutex_init(&MyVideoStream->DecoderLockMutex, NULL);
|
||||||
|
#ifdef USE_PIP
|
||||||
pthread_mutex_init(&PipVideoStream->DecoderLockMutex, NULL);
|
pthread_mutex_init(&PipVideoStream->DecoderLockMutex, NULL);
|
||||||
|
#endif
|
||||||
pthread_mutex_init(&SuspendLockMutex, NULL);
|
pthread_mutex_init(&SuspendLockMutex, NULL);
|
||||||
|
|
||||||
if (!ConfigStartSuspended) {
|
if (!ConfigStartSuspended) {
|
||||||
|
|||||||
Reference in New Issue
Block a user