mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Name threads for easier debugging.
This commit is contained in:
parent
bded2ae5df
commit
12bfab3f10
2
Todo
2
Todo
@ -7,6 +7,8 @@ missing:
|
|||||||
atmolight
|
atmolight
|
||||||
zoom/fit-zoom 4:3
|
zoom/fit-zoom 4:3
|
||||||
multistream handling
|
multistream handling
|
||||||
|
audio out with oss/oss4
|
||||||
|
HDMI/SPDIF Passthrough
|
||||||
|
|
||||||
vdpau:
|
vdpau:
|
||||||
1080i with temporal spatial too slow GT 520
|
1080i with temporal spatial too slow GT 520
|
||||||
|
2
audio.c
2
audio.c
@ -445,7 +445,9 @@ static void AudioInitThread(void)
|
|||||||
pthread_mutex_init(&AudioMutex, NULL);
|
pthread_mutex_init(&AudioMutex, NULL);
|
||||||
pthread_cond_init(&AudioStartCond, NULL);
|
pthread_cond_init(&AudioStartCond, NULL);
|
||||||
pthread_create(&AudioThread, NULL, AudioPlayHandlerThread, NULL);
|
pthread_create(&AudioThread, NULL, AudioPlayHandlerThread, NULL);
|
||||||
|
pthread_setname_np(AudioThread, "softhddev audio");
|
||||||
//pthread_detach(AudioThread);
|
//pthread_detach(AudioThread);
|
||||||
|
// wait until thread has opened and is ready
|
||||||
do {
|
do {
|
||||||
pthread_yield();
|
pthread_yield();
|
||||||
} while (!AlsaPCMHandle);
|
} while (!AlsaPCMHandle);
|
||||||
|
1
video.c
1
video.c
@ -5709,6 +5709,7 @@ void VideoDisplayHandler(void)
|
|||||||
pthread_mutex_init(&VideoLockMutex, NULL);
|
pthread_mutex_init(&VideoLockMutex, NULL);
|
||||||
pthread_cond_init(&VideoWakeupCond, NULL);
|
pthread_cond_init(&VideoWakeupCond, NULL);
|
||||||
pthread_create(&VideoThread, NULL, VideoDisplayHandlerThread, NULL);
|
pthread_create(&VideoThread, NULL, VideoDisplayHandlerThread, NULL);
|
||||||
|
pthread_setname_np(VideoThread, "softhddev video");
|
||||||
//pthread_detach(VideoThread);
|
//pthread_detach(VideoThread);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user