From: Thiago Santos Date: Tue, 19 Nov 2013 14:41:54 +0000 (-0300) Subject: gstpad: drop assertion on gst_pad_peer_query_position X-Git-Tag: 1.3.1~300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06737aa972e2fbbdde3aaaf15dc6cee9cc535deb;p=platform%2Fupstream%2Fgstreamer.git gstpad: drop assertion on gst_pad_peer_query_position It is a 'both' query, so it can be sent both ways --- diff --git a/gst/gstutils.c b/gst/gstutils.c index 92cb30f..4e5f8b8 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -2587,7 +2587,6 @@ gst_pad_peer_query_position (GstPad * pad, GstFormat format, gint64 * cur) gboolean ret = FALSE; g_return_val_if_fail (GST_IS_PAD (pad), FALSE); - g_return_val_if_fail (GST_PAD_IS_SINK (pad), FALSE); g_return_val_if_fail (format != GST_FORMAT_UNDEFINED, FALSE); query = gst_query_new_position (format);