From e5f4d65005f04122a6f6a5050d0437ffc38225e7 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 12 May 2005 12:27:07 +0000 Subject: [PATCH] gst/gstutils.c: No, an element is not a pad. Original commit message from CVS: * gst/gstutils.c: (gst_element_query_position): No, an element is not a pad. --- ChangeLog | 5 +++++ gst/gstutils.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c44dd6cda7..37145af47b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-12 Ronald S. Bultje + + * gst/gstutils.c: (gst_element_query_position): + No, an element is not a pad. + 2005-05-12 Ronald S. Bultje * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset), diff --git a/gst/gstutils.c b/gst/gstutils.c index 6d4cf13794..c92d8c173e 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -1170,7 +1170,7 @@ gst_element_query_position (GstElement * element, GstFormat * format, GstQuery *query; gboolean ret; - g_return_val_if_fail (GST_IS_PAD (element), FALSE); + g_return_val_if_fail (GST_IS_ELEMENT (element), FALSE); g_return_val_if_fail (format != NULL, FALSE); query = gst_query_new_position (*format);