Get width and height from sps when incorrect in mp4 file
This commit is contained in:
parent
939924439d
commit
90419e15eb
2 changed files with 9 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue