mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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
5bb45ffbfc
commit
06737aa972
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;
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue