diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-07-23 10:57:35 +0100 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-07-23 10:57:35 +0100 |
commit | 589ab4b2992c25612bd631b3bec68e4e5bcca9ce (patch) | |
tree | c83324f810a6a322c45e194e7e67cf68fab64b2a | |
parent | c8d47454a4073ff197da886a033787438bfe145b (diff) | |
download | clutter-gst-589ab4b2992c25612bd631b3bec68e4e5bcca9ce.tar.gz |
video-sink: fix warnings
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c index e216863..0de05bd 100644 --- a/clutter-gst/clutter-gst-video-sink.c +++ b/clutter-gst/clutter-gst-video-sink.c @@ -1030,7 +1030,6 @@ clutter_gst_ayuv_upload (ClutterGstVideoSink * sink, GstBuffer * buffer) ClutterGstVideoSinkPrivate *priv = sink->priv; CoglHandle tex; GstVideoFrame frame; - GstMapInfo info; if (!gst_video_frame_map (&frame, &priv->info, buffer, GST_MAP_READ)) goto map_fail; @@ -1308,7 +1307,7 @@ navigation_event (ClutterActor * actor, if (event->type == CLUTTER_MOTION) { ClutterMotionEvent *mevent = (ClutterMotionEvent *) event; - GST_DEBUG ("Received mouse move event to %d,%d", mevent->x, mevent->y); + GST_DEBUG ("Received mouse move event to %.2f,%.2f", mevent->x, mevent->y); gst_navigation_send_mouse_event (GST_NAVIGATION (sink), "mouse-move", 0, mevent->x, mevent->y); } else if (event->type == CLUTTER_BUTTON_PRESS || @@ -1316,7 +1315,7 @@ navigation_event (ClutterActor * actor, ClutterButtonEvent *bevent = (ClutterButtonEvent *) event; const char *type; - GST_DEBUG ("Received button %s event at %d,%d", + GST_DEBUG ("Received button %s event at %.2f,%.2f", (event->type == CLUTTER_BUTTON_PRESS) ? "press" : "release", bevent->x, bevent->y); type = |