From 2deab46c699196a902a076bbd969d26a15d9068a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 30 Dec 2002 17:53:18 +0000 Subject: Fix plugins for new query API Original commit message from CVS: Fix plugins for new query API --- examples/stats/mp2ogg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/stats') 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; -- cgit v1.2.1