зеркало из https://github.com/mozilla/gecko-dev.git
9ec710cad0
Upstream webrtc.org has added more stringent checks for SPS and PPS identifiers. This breaks out the SPS and PPS NALUs into separate binary blobs to ensure that the identifiers are zero. It is also necessary to set pragma pack so that the structure does not contain values which trick the parser into thinking a new NALU has begun. The ENCODED_FRAME_MAGIC is changed for a similar reason. All of the constants were determined by running mochitests with the actual h.264 encoder. For similar reasons, this also changes things so that only IFrames are sent, as the upstream code is now checking for previous IFrame identifiers and will drop frames if they are not sent. The SPS and PPS NALUs are now embedded into a single frame rather than being sent as separate frames as was previously done. This is consistent with the real H.264 plugin, and fixes a problem with intermittent failures due to occasionally bad timestamps. Differential Revision: https://phabricator.services.mozilla.com/D7447 --HG-- extra : rebase_source : 34ce1e8e5d11a346b2ccb8e8121d5526c02c9911 |
||
---|---|---|
.. | ||
mp4_demuxer | ||
Cargo.toml | ||
GMPTestMonitor.h | ||
MockMediaDecoderOwner.h | ||
MockMediaResource.cpp | ||
MockMediaResource.h | ||
TestAudioBuffers.cpp | ||
TestAudioCompactor.cpp | ||
TestAudioDeviceEnumerator.cpp | ||
TestAudioMixer.cpp | ||
TestAudioPacketizer.cpp | ||
TestAudioSegment.cpp | ||
TestAudioTrackEncoder.cpp | ||
TestBitWriter.cpp | ||
TestBlankVideoDataCreator.cpp | ||
TestCDMStorage.cpp | ||
TestDataMutex.cpp | ||
TestGMPCrossOrigin.cpp | ||
TestGMPRemoveAndDelete.cpp | ||
TestGMPUtils.cpp | ||
TestIntervalSet.cpp | ||
TestMP3Demuxer.cpp | ||
TestMP4Demuxer.cpp | ||
TestMediaDataDecoder.cpp | ||
TestMediaEventSource.cpp | ||
TestMediaMIMETypes.cpp | ||
TestOpusParser.cpp | ||
TestRust.cpp | ||
TestTimeUnit.cpp | ||
TestVPXDecoding.cpp | ||
TestVideoSegment.cpp | ||
TestVideoTrackEncoder.cpp | ||
TestVideoUtils.cpp | ||
TestWebMBuffered.cpp | ||
TestWebMWriter.cpp | ||
dash_dashinit.mp4 | ||
hello.rs | ||
id3v2header.mp3 | ||
moz.build | ||
negative_duration.mp4 | ||
noise.mp3 | ||
noise_vbr.mp3 | ||
short-zero-in-moov.mp4 | ||
short-zero-inband.mov | ||
small-shot-false-positive.mp3 | ||
small-shot-partial-xing.mp3 | ||
small-shot.mp3 | ||
test.webm | ||
test_case_1224361.vp8.ivf | ||
test_case_1224363.vp8.ivf | ||
test_case_1224369.vp8.ivf |