[gstreamer-bugs] [Bug 393975] closing x/xvimagesink window crashes gst-launch

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu May 17 10:37:39 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=393975

  GStreamer | gst-plugins-base | Ver: 0.10.x

Jan Schmidt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thaytan at mad.scientist.com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.13




------- Comment #9 from Jan Schmidt  2007-05-17 17:37 UTC -------
Fixed in CVS:

2007-05-17  Jan Schmidt  <thaytan at mad.scientist.com>

        * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put),
        (gst_ximagesink_xwindow_new), (gst_ximagesink_handle_xevents),
        (gst_ximagesink_show_frame):
        * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
        (gst_xvimagesink_xwindow_new), (gst_xvimagesink_handle_xevents),
        (gst_xvimagesink_show_frame):
        When we create our own window, indicate that we handle the        
WM_DELETE client message from the window manager, so that it won't         kill
our window (and our app) along with it. Handle ClientMessage,
        post an error on the bus, and close the window. Further buffers
        arriving will result in a FlowError because the window has been
        destroyed.

        Fixes: #393975

The behaviour still looks a little strange, because gstreamer-properties
doesn't seem to be handling errors on the bus. The test pattern window
disappears when closed, but the throbber dialog stays open until it is
explicitly closed too. That wouldn't happen if gstreamer-properties caught the
error message and closed the window.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=393975.




More information about the Gstreamer-bugs mailing list