From c19732a6aed3518fb3da61e64c49014d0a8f81ec Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Tue, 15 Aug 2017 12:08:30 +0200 Subject: [PATCH] Fixed filtering of unsupported data tracks in MP4 --- src/input/input_mp4.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input/input_mp4.cpp b/src/input/input_mp4.cpp index 5c986a62..1496c1a6 100644 --- a/src/input/input_mp4.cpp +++ b/src/input/input_mp4.cpp @@ -253,7 +253,9 @@ namespace Mist { myMeta.tracks[trackNo].lang = mdhdBox.getLanguage(); std::string hdlrType = mdiaBox.getChild().getHandlerType(); - if (hdlrType != "vide" && hdlrType != "soun" && hdlrType != "stbl"){ + if (hdlrType != "vide" && hdlrType != "soun" && hdlrType != "sbtl"){ + headerData.erase(trackNo); + myMeta.tracks.erase(trackNo); break; }