[Bug 690646] Cursor offset with ximagesrc and xid
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Sep 4 09:41:00 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=690646
GStreamer | gst-plugins-good | 1.0.5
Antonio Ospite <ao2> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ao2 at ao2.it
--- Comment #20 from Antonio Ospite <ao2 at ao2.it> 2014-09-04 16:40:54 UTC ---
Hi, I confirm the issue, I started looking at the ximagesrc code and it looks
like the window geometry is not fully taken into account, in particular the
window position seems to be ignored.
If I don't set the xid property and set startx,starty and endx,endy manually
starting from the info from xwininfo the pointer is shown correctly.
Given this data:
xwininfo: Window id: 0x380000b "xeyes"
Absolute upper-left X: 1032
Absolute upper-left Y: 774
...
Width: 140
Height: 100
...
The following command line works fine with either use-damage set to true or
false:
gst-launch-1.0 ximagesrc startx=1032 starty=774 endx=$((1032 + 140 - 1))
endy=$((774 + 100 - 1)) use-damage=true ! videoconvert ! autovideosink
I am not sure if I can find the time to come up with a fix myself, I still have
a lot to learn about X.
Ciao,
Antonio
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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