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:
Wim Taymans 2010-11-17 16:42:00 +01:00
parent 9076d5688f
commit e84d563033

View file

@ -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);