• Rémi Denis-Courmont's avatar
    Call XInitThreads early enough · 826fdf52
    Rémi Denis-Courmont authored
    We need to call XInitThreads before anyone tries XOpenDisplay or
    something, and XInitThreads itself is not re-entrant, so call it before
    we start LibVLC. This only "fixes" Xlib with VLC. Other LibVLC users
    need to do something similar themselves. LibVLC cannot do it. Other
    application may have already connected to X before it starts LibVLC.
    (cherry picked from commit 364868f9)
    
    Conflicts:
    
    	bin/vlc.c
    	configure.ac
    826fdf52
vlc.c 5.71 KB