summaryrefslogtreecommitdiffstats
path: root/gst/debug/gstnavigationtest.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-11-11 00:43:29 +0000
committerDavid Schleef <ds@schleef.org>2003-11-11 00:43:29 +0000
commitdc1936977b14f3d63f09aca6f47f65dae9e7e103 (patch)
tree723bbba601a8ee630dcf6f769a23edceabd05d1f /gst/debug/gstnavigationtest.c
parente9b809fdbad49ff9f3d5da3cda2b194323901de4 (diff)
Change GstCaps to GstStructure in navigation events. Fix x[v]imagesink to scale navigation events.
Original commit message from CVS: Change GstCaps to GstStructure in navigation events. Fix x[v]imagesink to scale navigation events.
Diffstat (limited to 'gst/debug/gstnavigationtest.c')
-rw-r--r--gst/debug/gstnavigationtest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/debug/gstnavigationtest.c b/gst/debug/gstnavigationtest.c
index 5dbe84c0..97ada378 100644
--- a/gst/debug/gstnavigationtest.c
+++ b/gst/debug/gstnavigationtest.c
@@ -153,10 +153,10 @@ gst_navigationtest_handle_src_event (GstPad *pad, GstEvent *event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_NAVIGATION:
- gst_caps_get_float(event->event_data.caps.caps, "pointer_x",
- &navigationtest->x);
- gst_caps_get_float(event->event_data.caps.caps, "pointer_y",
- &navigationtest->y);
+ gst_structure_get_double(event->event_data.structure.structure,
+ "pointer_x", &navigationtest->x);
+ gst_structure_get_double(event->event_data.structure.structure,
+ "pointer_y", &navigationtest->y);
break;
default:
break;