mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix build without USE_PIP.
This commit is contained in:
parent
d59c2ad40b
commit
1a730ef90b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user