mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
pointer_[xy] are FLOATS, not INTS
Original commit message from CVS: pointer_[xy] are FLOATS, not INTS
This commit is contained in:
parent
6fe62bb933
commit
14c6d82c4a
2 changed files with 5 additions and 5 deletions
sys/xvimage
|
@ -3,7 +3,7 @@ plugin_LTLIBRARIES = libgstxvimagesink.la
|
|||
|
||||
libgstxvimagesink_la_SOURCES = xvimagesink.c
|
||||
libgstxvimagesink_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS)
|
||||
libgstxvimagesink_la_LIBADD = $(X_LIBS) $(XVIDEO_LIBS)
|
||||
libgstxvimagesink_la_LIBADD = $(X_LIBS) $(XVIDEO_LIBS) $(XSHM_LIBS)
|
||||
libgstxvimagesink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) \
|
||||
$(top_builddir)/gst-libs/gst/navigation/libgstnavigation.la \
|
||||
$(top_builddir)/gst-libs/gst/xoverlay/libgstxoverlay.la
|
||||
|
|
|
@ -374,8 +374,8 @@ gst_xvimagesink_handle_xevents (GstXvImageSink *xvimagesink, GstPad *pad)
|
|||
event->event_data.caps.caps = GST_CAPS_NEW (
|
||||
"xvimagesink_navigation",
|
||||
"video/x-raw-rgb",
|
||||
"pointer_x", GST_PROPS_INT (e.xmotion.x),
|
||||
"pointer_y", GST_PROPS_INT (e.xmotion.y),
|
||||
"pointer_x", GST_PROPS_FLOAT (e.xmotion.x),
|
||||
"pointer_y", GST_PROPS_FLOAT (e.xmotion.y),
|
||||
"state", GST_PROPS_INT (e.xmotion.state));
|
||||
break;
|
||||
case ButtonPress:
|
||||
|
@ -388,8 +388,8 @@ gst_xvimagesink_handle_xevents (GstXvImageSink *xvimagesink, GstPad *pad)
|
|||
event->event_data.caps.caps = GST_CAPS_NEW (
|
||||
"xvimagesink_navigation",
|
||||
"video/x-raw-rgb",
|
||||
"pointer_x", GST_PROPS_INT (e.xbutton.x),
|
||||
"pointer_y", GST_PROPS_INT (e.xbutton.y),
|
||||
"pointer_x", GST_PROPS_FLOAT (e.xbutton.x),
|
||||
"pointer_y", GST_PROPS_FLOAT (e.xbutton.y),
|
||||
"button", GST_PROPS_INT (e.xbutton.button),
|
||||
"state", GST_PROPS_INT (e.xbutton.state));
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue