mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive, because that's not a requirement.
Original commit message from CVS: * gst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive, because that's not a requirement. This causes problems with converting negative granulepos values for Dirac.
This commit is contained in:
parent
207bbf4f14
commit
34087e8b17
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-08-26 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/gstutils.c: Remove check in gst_pad_query_convert() that
|
||||
src_val must be positive, because that's not a requirement.
|
||||
This causes problems with converting negative granulepos
|
||||
values for Dirac.
|
||||
|
||||
2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/gstclock.c: (gst_clock_add_observation):
|
||||
|
|
|
@ -2788,7 +2788,6 @@ gst_pad_query_convert (GstPad * pad, GstFormat src_format, gint64 src_val,
|
|||
gboolean ret;
|
||||
|
||||
g_return_val_if_fail (GST_IS_PAD (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