[Bug 795281] New: ximagesrc crashes when window resized

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 15 19:32:40 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795281

            Bug ID: 795281
           Summary: ximagesrc crashes when window resized
    Classification: Platform
           Product: GStreamer
           Version: 1.12.4
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dwmw2 at infradead.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

XID=$(xwininfo -int | sed -n 's/xwininfo: Window id: \([0-9]\+\) .*/\1/p')
 gst-launch-1.0 ximagesrc xid=$XID   use-damage=0 ! video/x-raw,framerate=3/1 !
videoconvert  ! autovideosink

Now resize the window you chose. First make it larger, and observe that you're
only getting the top left-hand corner of it. Then make it smaller and watch
ximagesrc crash:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  130 (MIT-SHM)
  Minor opcode of failed request:  4 (X_ShmGetImage)
  Serial number of failed request:  65
  Current serial number in output stream:  65

It should really reconfigure the pipeline with new geometry as the window
resizes.

-- 
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