mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
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:
parent
07902f6ab4
commit
66c0879908
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue