[vlc-devel] [PATCH 0/2] demux/mkv: fix crash + ES handling during DEMUX_SET_TITLE

Filip Roséen filip at atch.se
Mon Feb 20 18:10:18 CET 2017

These two patches fix the issues raised in the below linked thread:

 - https://forum.videolan.org/viewtopic.php?p=453545

To summarize the mentioned crash is due to not terminating the preload-cluster
loop if there are no more level-related elements to be found in the file, and
the mentioned problems during DEMUX_SET_TITLE are due to the relevant
elementary-streams not being destroyed/created prior to playback.

I hope the commit messages explain what is necessary to understand why these
two patches are needed.

Filip Roséen (2):
  demux/mkv: abort matroska_segment_c::PreloadClusters on end-of-file
  demux/mkv: fix ES handling during DEMUX_SET_TITLE

 modules/demux/mkv/matroska_segment.cpp | 6 +++++-
 modules/demux/mkv/mkv.cpp              | 1 -
 2 files changed, 5 insertions(+), 2 deletions(-)


More information about the vlc-devel mailing list