summaryrefslogtreecommitdiffstats
path: root/examples/stats
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
commit4d36ba7e87583f5ad00ac3145542f0f22e1d3f0b (patch)
treebed6436143f8908188f632eaafb9b4d292a76229 /examples/stats
parent88b88e114e69c82c62b69d3af3962ea7a1ce554f (diff)
Fix plugins for new query API
Original commit message from CVS: Fix plugins for new query API
Diffstat (limited to 'examples/stats')
-rw-r--r--examples/stats/mp2ogg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stats/mp2ogg.c b/examples/stats/mp2ogg.c
index 273a349a..e5d3fbd9 100644
--- a/examples/stats/mp2ogg.c
+++ b/examples/stats/mp2ogg.c
@@ -71,11 +71,11 @@ main (gint argc, gchar *argv[])
format = GST_FORMAT_TIME;
/* get the position */
- gst_pad_query (enc_src, GST_PAD_QUERY_POSITION,
+ gst_pad_query (enc_src, GST_QUERY_POSITION,
&format, &position);
/* get the total duration */
- gst_pad_query (enc_src, GST_PAD_QUERY_TOTAL,
+ gst_pad_query (enc_src, GST_QUERY_TOTAL,
&format, &duration);
format = GST_FORMAT_BYTES;