[gst-devel] glimagesink crash

Alexandre Quessy alexandre at quessy.net
Thu Jun 3 20:03:14 CEST 2010


Hello!
The examples shipped with glimagesink are (still?) outdated.
I took part in a thread about this recently. Can't find it now, though.

a

2010/5/31 David Hoyt <dhoyt at hoytsoft.org>:
> I'm using glimagesink w/ xoverlay in ubuntu 9.10 -- the first time I run it,
> it works fine. But if I set the xid for xoverlay in subsequent calls, it
> crashes with:
>
> The error was 'BadWindow (invalid Window parameter)'.
> (Details: serial 14 error_code 3 request_code 3 minor_code 0)
>  (Note to programmers: normally, X errors are reported asynchronously;
>   that is, you will receive the error a while after causing it.
>   To debug your program, run it with the --sync command line
>   option to change this behavior. You can then get a meaningful
>   backtrace from your debugger if you break on the gdk_x_error() function.)
>
> Any idea what I could be doing wrong? The same code works fine w/ ximagesink
> and xvimagesink. When I don't use xoverlay and let gstreamer create its own
> window, it doesn't crash.
>
> If I set the "sync" property on glimagesink (not related to the "--sync"
> option in the error message) to false, I don't get a crash -- but when I
> have a pipeline transition from NULL -> PLAYING -> NULL -> PLAYING, instead
> of embedding it, it creates a new window as large as my monitor.
>
> I appreciate any help anyone can offer.
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Alexandre Quessy
http://alexandre.quessy.net/




More information about the gstreamer-devel mailing list