Get width and height from sps when incorrect in mp4 file

This commit is contained in:
Erik Zandvliet 2016-04-08 11:06:51 +02:00
parent 939924439d
commit 90419e15eb
2 changed files with 9 additions and 1 deletions

View file

@ -1110,7 +1110,6 @@ JSON::Value FLV::Tag::toJSON(DTSC::Meta & metadata, AMF::Object & amf_storage, u
metadata.tracks[reTrack].width = spsChar.width;
metadata.tracks[reTrack].height = spsChar.height;
metadata.tracks[reTrack].fpks = spsChar.fps * 1000;
}
pack_out.null();
return pack_out; //skip rest of parsing, get next tag.