diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-12-30 17:53:18 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-12-30 17:53:18 +0000 |
commit | 2deab46c699196a902a076bbd969d26a15d9068a (patch) | |
tree | 6d3936fd0046d1a3679a29aa833c72dc959fa9e9 /examples/seeking/spider_seek.c | |
parent | 5f3fa649393fc4321b76e3220d3682511281d405 (diff) | |
download | gst-plugins-bad-2deab46c699196a902a076bbd969d26a15d9068a.tar.gz gst-plugins-bad-2deab46c699196a902a076bbd969d26a15d9068a.tar.bz2 gst-plugins-bad-2deab46c699196a902a076bbd969d26a15d9068a.zip |
Fix plugins for new query API
Original commit message from CVS:
Fix plugins for new query API
Diffstat (limited to 'examples/seeking/spider_seek.c')
-rw-r--r-- | examples/seeking/spider_seek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/seeking/spider_seek.c b/examples/seeking/spider_seek.c index 849bafaa..6c88ae44 100644 --- a/examples/seeking/spider_seek.c +++ b/examples/seeking/spider_seek.c @@ -153,7 +153,7 @@ query_durations () GstFormat format; format = seek_formats[i].format; - res = gst_element_query (element, GST_PAD_QUERY_TOTAL, &format, &value); + res = gst_element_query (element, GST_QUERY_TOTAL, &format, &value); if (res) { g_print ("%s %13lld | ", seek_formats[i].name, value); } @@ -183,7 +183,7 @@ query_positions () GstFormat format; format = seek_formats[i].format; - res = gst_element_query (element, GST_PAD_QUERY_POSITION, &format, &value); + res = gst_element_query (element, GST_QUERY_POSITION, &format, &value); if (res) { g_print ("%s %13lld | ", seek_formats[i].name, value); } @@ -209,7 +209,7 @@ update_scale (gpointer data) if (seekable_elements) { GstElement *element = GST_ELEMENT (seekable_elements->data); - gst_element_query (element, GST_PAD_QUERY_TOTAL, &format, &duration); + gst_element_query (element, GST_QUERY_TOTAL, &format, &duration); } position = gst_clock_get_time (clock); |