mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
adaptivedemux: Allow live seeking range to go back to "now"
The allowed live seek ranges returned by subclasses are "inclusive", that is to say that the "range_stop" value they return is the highest acceptable position one can seek to (i.e. "now"). Allow seeking to exactly that value
This commit is contained in:
parent
b63fb59a11
commit
6772981668
1 changed files with 1 additions and 1 deletions
|
@ -1526,7 +1526,7 @@ gst_adaptive_demux_handle_seek_event (GstAdaptiveDemux * demux, GstPad * pad,
|
|||
}
|
||||
}
|
||||
|
||||
if (start < range_start || start >= range_stop) {
|
||||
if (start < range_start || start > range_stop) {
|
||||
GST_MANIFEST_UNLOCK (demux);
|
||||
GST_API_UNLOCK (demux);
|
||||
GST_WARNING_OBJECT (demux, "Seek to invalid position");
|
||||
|
|
Loading…
Reference in a new issue