gecko-dev/dom/media/fmp4
Jean-Yves Avenard a18ecfafaa Bug 1280346: [mp4] Always use SPS dimensions if available. r=gerald,rillian
H264 decoders always use those anyway, so may as well use them in the demuxer if SPS NAL is available.
This guarantees that we have correct dimensions when reading the MP4 metadata, and will have the side benefit that when loadedmetadata is fired, the dimensions provided at the time will be final; not having to wait to decode the first frame.

MozReview-Commit-ID: 3j70Xqw8jJY

--HG--
extra : rebase_source : 6bc0f1fa1c2db35bcaa683cc1a68042d122e2892
2016-08-22 06:39:41 +10:00
..
MP4Decoder.cpp Bug 1290284 - Centralise string comparisons for H264 and VPX detection. r=cpearce 2016-07-29 14:12:54 +12:00
MP4Decoder.h Bug 1290284 - Centralise string comparisons for H264 and VPX detection. r=cpearce 2016-07-29 14:12:54 +12:00
MP4Demuxer.cpp Bug 1280346: [mp4] Always use SPS dimensions if available. r=gerald,rillian 2016-08-22 06:39:41 +10:00
MP4Demuxer.h Bug 1240411: P4. Clean up readers headers. r=cpearce 2016-01-19 19:47:31 +11:00
MP4Stream.cpp Bug 1229963 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/media/; r=cpearce 2015-12-02 18:07:59 -05:00
MP4Stream.h Bug 1240411: P4. Clean up readers headers. r=cpearce 2016-01-19 19:47:31 +11:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00