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
commit2deab46c699196a902a076bbd969d26a15d9068a (patch)
tree6d3936fd0046d1a3679a29aa833c72dc959fa9e9 /examples/stats
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/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;