mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
enabled thread support
This commit is contained in:
parent
076501266c
commit
9a14e748c9
3
video.c
3
video.c
@ -5439,6 +5439,7 @@ void VideoInit(const char *display_name)
|
|||||||
Debug(3, "video: x11 already setup\n");
|
Debug(3, "video: x11 already setup\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open the connection to the X server.
|
// Open the connection to the X server.
|
||||||
// use the DISPLAY environment variable as the default display name
|
// use the DISPLAY environment variable as the default display name
|
||||||
if (!display_name && !(display_name = getenv("DISPLAY"))) {
|
if (!display_name && !(display_name = getenv("DISPLAY"))) {
|
||||||
@ -5450,7 +5451,7 @@ void VideoInit(const char *display_name)
|
|||||||
// FIXME: we need to retry connection
|
// FIXME: we need to retry connection
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#ifdef USE_GLX_not_needed_done_with_locks
|
#ifdef USE_GLX
|
||||||
if (!XInitThreads()) {
|
if (!XInitThreads()) {
|
||||||
Error(_("video: Can't initialize X11 thread support on '%s'\n"),display_name);
|
Error(_("video: Can't initialize X11 thread support on '%s'\n"),display_name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user