Fixed filtering of unsupported data tracks in MP4

This commit is contained in:
Erik Zandvliet 2017-08-15 12:08:30 +02:00
parent 07a0a3df2d
commit c19732a6ae

View file

@ -253,7 +253,9 @@ namespace Mist {
myMeta.tracks[trackNo].lang = mdhdBox.getLanguage();
std::string hdlrType = mdiaBox.getChild<MP4::HDLR>().getHandlerType();
if (hdlrType != "vide" && hdlrType != "soun" && hdlrType != "stbl"){
if (hdlrType != "vide" && hdlrType != "soun" && hdlrType != "sbtl"){
headerData.erase(trackNo);
myMeta.tracks.erase(trackNo);
break;
}