Commit e9ee83a8 authored by Steve Lhomme's avatar Steve Lhomme

mkv.cpp: fix the end of stream handling (when there are pending Post commands)

parent 578f2782
...@@ -2671,6 +2671,8 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux ) ...@@ -2671,6 +2671,8 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux )
{ {
if ( !(*p_editions)[i_current_edition]->EnterAndLeave( psz_current_chapter ) ) if ( !(*p_editions)[i_current_edition]->EnterAndLeave( psz_current_chapter ) )
psz_current_chapter = NULL; psz_current_chapter = NULL;
else
return true;
} }
} }
} }
......
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