Commit b1504c37 authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent fd6d33c3
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>
 
* gst/gstsegment.c: (gst_segment_set_last_stop),
......
......@@ -211,7 +211,6 @@ gst_segment_set_last_stop (GstSegment * segment, GstFormat format,
gint64 position)
{
g_return_if_fail (segment != NULL);
g_return_if_fail (position != -1);
if (G_UNLIKELY (segment->format == GST_FORMAT_UNDEFINED))
segment->format = format;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment