problem using jvlc on linux

*nix specific usage questions
bentium
New Cone
New Cone
Posts: 6
Joined: 22 Dec 2008 11:35

problem using jvlc on linux

Postby bentium » 23 Mar 2010 15:15

hi,


i have made a program that uses JVLC to play an rtsp stream inside my java program.

The streaming works brilliantly on windows. start/stop/... all stable
now, on any linux i try, streaming starts and stops, but when i open a new JFrame (like a filechooser) & dispose that frame, VLC tears my entire jvm down with following error:

Code: Select all

x11 video output error: X11 request 20.0 failed with error code 3: BadWindow (invalid Window parameter) X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 20 (X_GetProperty) Resource id in failed request: 0x34000ce Serial number of failed request: 32568 Current serial number in output stream: 32568
i already searched this forum many times
viewtopic.php?f=13&t=55309
viewtopic.php?f=13&t=44999
viewtopic.php?f=13&t=56904

i've tried many VLC versions in my jvlc application (going from 0.9.3 to 1.0.3) and i keep getting the same problem

what is happening here?

Rémi Denis-Courmont
Developer
Developer
Posts: 15257
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: problem using jvlc on linux

Postby Rémi Denis-Courmont » 26 Mar 2010 23:02

Xlib is not happy that you destroyed an actively used window. Either you update to VLC 1.1 which does not use Xlib anymore, or you stop VLC before you dispose the window.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests