initializing Xlib for Python bindings
Posted: 17 Nov 2016 16:06
Hi,
First of all thanks to Olivier for writing the python binding. It's great!
However, I have never managed to run vdpau with it, because of ..
This is an "eternal problem": how to initialize Xlib from python. I've tried the vlc 2.2 python bindings, both examples "gtkvlc.py" and "qtvlc.py", i.e. the "gtkvlc.py" does have the following lines:
import gtk
gtk.gdk.threads_init()
But still no success when trying "gtkvlc.py".
Kind Regards,
Sampsa
First of all thanks to Olivier for writing the python binding. It's great!
However, I have never managed to run vdpau with it, because of ..
Code: Select all
[00007f008404b8d8] vdpau_avcodec generic error: Xlib not initialized for threads
[00007f008404b8d8] vdpau_avcodec generic error: Xlib is required for VDPAU
import gtk
gtk.gdk.threads_init()
But still no success when trying "gtkvlc.py".
Kind Regards,
Sampsa