GNOME Bugzilla – Bug 515985
[ximagesrc] regression when using damage
Last modified: 2008-02-12 13:35:26 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.
Not that there have been many commits in ximagesrc other than the ones we just did :)
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.
Created attachment 105039 [details] [review] move initialisation into the function which opens the X display.
Works fine for me
Thanks, committed.