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
@ -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…
x
Reference in New Issue
Block a user