diff options
author | Johns <johns98@gmx.net> | 2013-01-09 00:39:27 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-01-09 00:39:27 +0100 |
commit | 1a730ef90b7fa999b5ea8f671560e2b4d56c777d (patch) | |
tree | be06c5d450f173da292afbf4e2ca9c6a1ff17397 | |
parent | d59c2ad40b7a1f82cf5d1378307d6cd8a995c0b8 (diff) | |
download | vdr-plugin-softhddevice-1a730ef90b7fa999b5ea8f671560e2b4d56c777d.tar.gz vdr-plugin-softhddevice-1a730ef90b7fa999b5ea8f671560e2b4d56c777d.tar.bz2 |
Fix build without USE_PIP.
-rw-r--r-- | softhddev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/softhddev.c b/softhddev.c index 91886b9..3f32538 100644 --- a/softhddev.c +++ b/softhddev.c @@ -2937,7 +2937,9 @@ void SoftHdDeviceExit(void) } pthread_mutex_destroy(&SuspendLockMutex); +#ifdef USE_PIP pthread_mutex_destroy(&PipVideoStream->DecoderLockMutex); +#endif pthread_mutex_destroy(&MyVideoStream->DecoderLockMutex); } @@ -2956,7 +2958,9 @@ int Start(void) CodecInit(); pthread_mutex_init(&MyVideoStream->DecoderLockMutex, NULL); +#ifdef USE_PIP pthread_mutex_init(&PipVideoStream->DecoderLockMutex, NULL); +#endif pthread_mutex_init(&SuspendLockMutex, NULL); if (!ConfigStartSuspended) { |