[Bug 729088] New: Catch XWindows errors when destroying xwindow

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 28 01:58:53 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729088
  GStreamer | gst-plugins-base | git

           Summary: Catch XWindows errors when destroying xwindow
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vhdirk at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=275302)
 View: https://bugzilla.gnome.org/attachment.cgi?id=275302
 Review: https://bugzilla.gnome.org/review?bug=729088&attachment=275302

proposed patch

When passing a window handle to xvimagesink, the whole application will
abruptly exit when the window handle becomes invalid at some point.
This happens, for instance, when the drawingarea owning the window handle is
managed by a different process. If that process is killed, the window handle
becomes invalid immediately.

The proposed patch will catch the Xerrors generated when rendering to an
xwindow whose handle is gone, and signal a flow error. Also, Xerrors are caught
while destroying the xvcontext, and replaced by GStreamer errors.

This enables the user to act on these errors, rather than having the
application quit immediately.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list