GNOME Bugzilla – Bug 795281
ximagesrc crashes when window resized
Last modified: 2018-11-03 15:29:07 UTC
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.
Related to #794761
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/465.