summaryrefslogtreecommitdiffstats
path: root/examples/seeking/cdparanoia.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-12-30 17:53:18 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-12-30 17:53:18 +0000
commit2deab46c699196a902a076bbd969d26a15d9068a (patch)
tree6d3936fd0046d1a3679a29aa833c72dc959fa9e9 /examples/seeking/cdparanoia.c
parent5f3fa649393fc4321b76e3220d3682511281d405 (diff)
downloadgst-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/cdparanoia.c')
-rw-r--r--examples/seeking/cdparanoia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/seeking/cdparanoia.c b/examples/seeking/cdparanoia.c
index ec047f95..db7223ff 100644
--- a/examples/seeking/cdparanoia.c
+++ b/examples/seeking/cdparanoia.c
@@ -24,7 +24,7 @@ get_position_info (GstElement *cdparanoia)
definition = gst_format_get_details (*formats);
format = *formats;
- res = gst_pad_query (pad, GST_PAD_QUERY_POSITION,
+ res = gst_pad_query (pad, GST_QUERY_POSITION,
&format, &position);
if (format == GST_FORMAT_TIME) {
@@ -70,7 +70,7 @@ get_track_info (GstElement *cdparanoia)
definition = gst_format_get_details (*formats);
format = *formats;
- res = gst_pad_query (pad, GST_PAD_QUERY_TOTAL,
+ res = gst_pad_query (pad, GST_QUERY_TOTAL,
&format, &total);
if (res) {
if (format == GST_FORMAT_TIME) {