mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gstpad: drop assertion on gst_pad_peer_query_position
It is a 'both' query, so it can be sent both ways
This commit is contained in:
parent
34a28274b5
commit
8bc7f086e4
1 changed files with 0 additions and 1 deletions
|
@ -2587,7 +2587,6 @@ gst_pad_peer_query_position (GstPad * pad, GstFormat format, gint64 * cur)
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_PAD (pad), 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);
|
g_return_val_if_fail (format != GST_FORMAT_UNDEFINED, FALSE);
|
||||||
|
|
||||||
query = gst_query_new_position (format);
|
query = gst_query_new_position (format);
|
||||||
|
|
Loading…
Reference in a new issue