diff options
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r-- | video/out/x11_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 539d66e641..5c3c5aea0d 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -399,6 +399,8 @@ int vo_x11_init(struct vo *vo) assert(!vo->x11); + XInitThreads(); + struct vo_x11_state *x11 = talloc_ptrtype(NULL, x11); *x11 = (struct vo_x11_state){ .log = mp_log_new(x11, vo->log, "x11"), |