Commit 3804e8f0 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: avoid 1st segment loop on dead demux

parent f8e451e3
......@@ -132,7 +132,7 @@ bool Stream::operator ==(const Stream &stream) const
SegmentChunk * Stream::getChunk()
{
if (currentChunk == NULL && output)
if (currentChunk == NULL && output && !eof)
{
if(esCount() && !isSelected())
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment