After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 515985 - [ximagesrc] regression when using damage
[ximagesrc] regression when using damage
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal blocker
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-12 11:21 UTC by Jan Schmidt
Modified: 2008-02-12 13:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
move initialisation into the function which opens the X display. (901 bytes, patch)
2008-02-12 12:51 UTC, Jan Schmidt
none Details | Review

Description Jan Schmidt 2008-02-12 11:21:22 UTC
Slomo & I both get the following trying to use ximagesrc:

gst-launch-0.10 ximagesrc ! ffmpegcolorspace ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
X Error of failed request:  176
  Major opcode of failed request:  158 (DAMAGE)
  Minor opcode of failed request:  3 (XDamageSubtract)
  Serial number of failed request:  30
  Current serial number in output stream:  31

This works for me with the previous -good release.
Comment 1 Jan Schmidt 2008-02-12 11:29:13 UTC
Not that there have been many commits in ximagesrc other than the ones we just did :)
Comment 2 Jan Schmidt 2008-02-12 12:50:50 UTC
Doh. This is caused/triggered by the first patch from bug #515706 initialising the variables in the _start() method. The display can be opened before then, to perform a get_caps() call.

Patch attached.
Comment 3 Jan Schmidt 2008-02-12 12:51:27 UTC
Created attachment 105039 [details] [review]
move initialisation into the function which opens the X display.
Comment 4 Sebastian Dröge (slomo) 2008-02-12 13:13:03 UTC
Works fine for me
Comment 5 Jan Schmidt 2008-02-12 13:35:26 UTC
Thanks, committed.