mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
flvdemux: also check for segment stop for non-segment-seek
This commit is contained in:
parent
b9f569bfd0
commit
d3ae0ef71f
1 changed files with 1 additions and 2 deletions
|
@ -743,8 +743,7 @@ gst_flv_demux_loop (GstPad * pad)
|
||||||
goto pause;
|
goto pause;
|
||||||
|
|
||||||
/* check EOS condition */
|
/* check EOS condition */
|
||||||
if ((demux->segment.flags & GST_SEEK_FLAG_SEGMENT) &&
|
if ((demux->segment.stop != -1) &&
|
||||||
(demux->segment.stop != -1) &&
|
|
||||||
(demux->segment.last_stop >= demux->segment.stop)) {
|
(demux->segment.last_stop >= demux->segment.stop)) {
|
||||||
ret = GST_FLOW_UNEXPECTED;
|
ret = GST_FLOW_UNEXPECTED;
|
||||||
goto pause;
|
goto pause;
|
||||||
|
|
Loading…
Reference in a new issue