mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
utils: a convert query can have a -1 input value
It is allowed to pass -1 to the src_val for a convert.
This commit is contained in:
parent
9076d5688f
commit
e84d563033
1 changed files with 0 additions and 1 deletions
|
@ -3108,7 +3108,6 @@ gst_pad_query_peer_convert (GstPad * pad, GstFormat src_format, gint64 src_val,
|
|||
|
||||
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 (src_val >= 0, FALSE);
|
||||
g_return_val_if_fail (dest_format != NULL, FALSE);
|
||||
g_return_val_if_fail (dest_val != NULL, FALSE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue