segment: Return -1 if gst_segment_to_stream_time_full() considers the position not inside the segment

Fixes GstPipeline unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=756564
This commit is contained in:
Sebastian Dröge 2015-10-26 10:53:35 +02:00
parent 07902f6ab4
commit 66c0879908

View file

@ -529,7 +529,7 @@ gst_segment_to_stream_time (const GstSegment * segment, GstFormat format,
if (gst_segment_to_stream_time_full (segment, format, position, &result) == 1)
return result;
return 0;
return -1;
}
/**