GNOME Bugzilla – Bug 570768
[ximagesink] wrong mouse pointer position if output window is smaller than the image
Last modified: 2009-04-14 11:28:21 UTC
gst-launch -v videotestsrc ! 'video/x-raw-yuv,width=800,height=600' ! navigationtest ! ffmpegcolorspace ! ximagesink -then manually reduce the output window size and the black block will have an offset Reason: ximagesink tries to keep the coordinates correct if the output window is bigger than the image and neglects the case that it can be smaller. My patch will follow in a couple of seconds...
Created attachment 128085 [details] [review] fixes navigation bug in ximagesink
Sorry, of course this is a bug in ximagesink, and not in videotestsrc
Committed, thanks a lot for the patch (and sorry it took so long): commit 77050a72f8c54a62ab344402aa15d8645150596a Author: Hannes Bistry <hannesb@gmx.net> Date: Tue Apr 14 12:10:30 2009 +0100 ximagesink: fix mouse pointer offsets in navigation event if window is smaller than the image Fixes #570768.