summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-03-29 15:27:37 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-04-01 10:46:10 +0200
commitd3ae0ef71f854092ea0cc99cb611dff10817ee50 (patch)
tree9a329eacc0610c26d830f0e8c6ec9382c0186fbc
parentb9f569bfd005e1bccb2765acda587d367378fa4d (diff)
flvdemux: also check for segment stop for non-segment-seek
-rw-r--r--gst/flv/gstflvdemux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index e800211ea..09b12722e 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -743,8 +743,7 @@ gst_flv_demux_loop (GstPad * pad)
goto pause;
/* check EOS condition */
- if ((demux->segment.flags & GST_SEEK_FLAG_SEGMENT) &&
- (demux->segment.stop != -1) &&
+ if ((demux->segment.stop != -1) &&
(demux->segment.last_stop >= demux->segment.stop)) {
ret = GST_FLOW_UNEXPECTED;
goto pause;