Error message when start playing a video with vlc

Bug #1433245 reported by Oliver Wieland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Low
Tomas Groth

Bug Description

kubuntu 14.10, OpenLP r2523

When start playing a video with vlc, there are error messages on the command line:

../../../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[00007fb68c003788] vdpau_avcodec generic error: Xlib not initialized for threads
[00007fb68c003788] vdpau_avcodec generic error: Xlib is required for VDPAU
../../../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[00007fb674001268] vdpau_display vout display error: Xlib not initialized for threads

openlp.log is attached

Related branches

Revision history for this message
Oliver Wieland (oliwee) wrote :
summary: - Error message when start playing a video with vnc
+ Error message when start playing a video with vlc
Revision history for this message
Tomas Groth (tomasgroth) wrote :

Mostly a note to myself for later... See if this fixes the issue:

        try:
            x11 = ctypes.cdll.LoadLibrary('libX11.so')
            x11.XInitThreads()
        except:
            print "Warning: failed to XInitThreads()"

Revision history for this message
Tomas Groth (tomasgroth) wrote :

It did fix the issue.

Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
importance: Undecided → Low
milestone: none → 2.1.4
status: New → In Progress
Tim Bentley (trb143)
Changed in openlp:
status: In Progress → Won't Fix
status: Won't Fix → Fix Committed
Oleg (oleg-oleinicov-4)
Changed in openlp:
status: Fix Committed → Fix Released
Tim Bentley (trb143)
Changed in openlp:
status: Fix Released → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.