mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/gstsegment.c: Relax arg checking again, -1 is allowed.
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment_full): Relax arg checking again, -1 is allowed.
This commit is contained in:
parent
fd6d33c360
commit
b1504c37da
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-10-18 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/gstsegment.c: (gst_segment_set_last_stop),
|
||||||
|
(gst_segment_set_seek), (gst_segment_set_newsegment_full):
|
||||||
|
Relax arg checking again, -1 is allowed.
|
||||||
|
|
||||||
2006-10-18 Wim Taymans <wim@fluendo.com>
|
2006-10-18 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/gstsegment.c: (gst_segment_set_last_stop),
|
* gst/gstsegment.c: (gst_segment_set_last_stop),
|
||||||
|
|
|
@ -211,7 +211,6 @@ gst_segment_set_last_stop (GstSegment * segment, GstFormat format,
|
||||||
gint64 position)
|
gint64 position)
|
||||||
{
|
{
|
||||||
g_return_if_fail (segment != NULL);
|
g_return_if_fail (segment != NULL);
|
||||||
g_return_if_fail (position != -1);
|
|
||||||
|
|
||||||
if (G_UNLIKELY (segment->format == GST_FORMAT_UNDEFINED))
|
if (G_UNLIKELY (segment->format == GST_FORMAT_UNDEFINED))
|
||||||
segment->format = format;
|
segment->format = format;
|
||||||
|
|
Loading…
Reference in a new issue