Commit Graph

1618 Commits

Author SHA1 Message Date
Pale Moon 5ca9729a5f ICU update requires clobber. 2018-07-25 06:42:10 +08:00
Pale Moon 59f88ee9ff Adjust ar-MA i18n test to expect 24-hour format. 2018-07-25 06:42:08 +08:00
Pale Moon 4e750b7e64 Update generated unicode data for js input test 2018-07-25 06:42:07 +08:00
Pale Moon b5aff63e3f Add current patch files needed for our tree. 2018-07-25 06:42:04 +08:00
Pale Moon 3b3ef5d112 Update to fully-patched ICU 58.2 (Unicode 9) 2018-07-25 06:41:54 +08:00
Pale Moon f540fcbd71 Update warning patch to be more generic for mingw 2018-07-25 06:37:07 +08:00
Pale Moon 4830dd2047 Update ICU-update script 2018-07-25 06:37:05 +08:00
Pale Moon 128d8b4a15 Remove obsolete patch files 2018-07-25 06:37:02 +08:00
Pale Moon 5cc71fa9cf Do not look at the ICU version number when whitelisting the ICU namespace in the clang plugin 2018-07-25 06:37:01 +08:00
Lootyhoof 426730cd74 Remove redundant downloads indicator styling 2018-07-25 06:36:59 +08:00
Moonchild fbaf4e1bd9 Update README.md
Fix line break (proper MD style, since GH apparently, despite its documentation saying otherwise, doesn't honor GFM line breaks)
2018-07-25 06:36:57 +08:00
Pale Moon d8472ea142 Update readme. 2018-07-25 06:36:55 +08:00
trav90 17e6d71294 Revert "Dispatch AudioSink notifications asynchronously" 2018-07-25 06:36:53 +08:00
JustOff c4a22066ef Catch the error when trying to remove the trash directory when it contains a file that is locked 2018-07-25 06:36:51 +08:00
trav90 0343f07498 [mp3] Add blocking read to ensure complete frame reads 2018-07-25 06:36:50 +08:00
Pale Moon 9739829d2d Don't write HSTS site state to file if HSTS has been user-disabled.
This also adds a missing pref observer.
Follow-up to 9bc65e235b62c4e84c69f301bd89de29769f4abf.
2018-07-25 06:36:48 +08:00
trav90 4f8e7a5731 Revert "Properly handle MP4 time offset in MoofParser" 2018-07-25 06:36:46 +08:00
trav90 ee6bb9e25d Revert "MP4 dts must use the same timeline as pts" 2018-07-25 06:36:44 +08:00
trav90 1ca1c250da Add bracket for sed 4.3 compliance 2018-07-25 06:36:42 +08:00
trav90 d5da9a7762 Set GStreamer pref to "false" by default 2018-07-25 06:36:40 +08:00
trav90 f9b7ce3b67 Fix bustage when building tests 2018-07-25 06:36:38 +08:00
trav90 d324c4b48d Add explicit namespace references to keep compiler happy in gtest 2018-07-25 06:36:36 +08:00
trav90 9dd58cfe2b Change duration of MP3 file used by mochitests
The owl.mp3 file and derivative is made of 128 0.026122s long samples, which gives us an actual duration of 3.343616s. However, when decoding those files, the first two samples are dropped by the CoreAudio and WMF decoder giving us an actual play time of 3.29s.

We have no way to determine the exact duration at the demuxing stage. External readers such as DirectShow or GStreamer would only report the decoded frames time, while the MediaFormatReader reports the demuxed time.

There is no right answer here. So setting a duration that will allow all readers to pass the tests.
2018-07-25 06:36:34 +08:00
trav90 271ccfdf61 Revert "Never use GStreamer to decode webm"
Causes build bustage. GStreamer support will be going away in its entirety soon anyway.
2018-07-25 06:36:33 +08:00
trav90 a37d9cbbf8 Implement canPlayType for new MP3Decoder 2018-07-25 06:36:31 +08:00
trav90 a9b6b2a24b Never use GStreamer to decode webm 2018-07-25 06:36:29 +08:00
trav90 138751698e Use new MP3Demuxer when possible 2018-07-25 06:36:27 +08:00
Pale Moon 8bd908fa4b Reinstate network.stricttransportsecurity.enabled HSTS switch.
Defaults to enabled (HSTS on) but can be flipped to disable the use of the HSTS mechanism, trading security for privacy.
This resolves #830.
2018-07-25 06:36:25 +08:00
trav90 9e8e29f1e1 Add some explicit namespace references to keep compiler happy 2018-07-25 06:36:23 +08:00
trav90 4b7a6746f8 [mp3] Return 0 for incomplete ID3 header size 2018-07-25 06:36:21 +08:00
trav90 de03581394 [mp3] Decrease buffer size when scanning for next frame 2018-07-25 06:36:19 +08:00
trav90 b4fc54629a Add MP3 decoder and integrate with MP3 demuxer 2018-07-25 06:36:17 +08:00
trav90 e14db2c288 Fix MP3 decoding with early version of LibAV
LibAV 0.8 incorrectly set the pts as dts ; so we must set the dts to ensure not all frames have a time of 0.
2018-07-25 06:36:15 +08:00
trav90 d972b22cc4 [mp3] Properly read channels count
The channel count is stored on bit 6 & 7 of byte at offset 3.
2018-07-25 06:36:13 +08:00
trav90 b22face031 Extend MP3 demuxer gtest to include a test file for large ID3v2 tags 2018-07-25 06:36:11 +08:00
trav90 ae0250cfaa Prevent potential overflows of the input buffer pointer when skipping large ID3 headers 2018-07-25 06:36:09 +08:00
trav90 11031cf9ed Successfully skip ID3 tags stretching beyond the current input buffer
This also slightly tightens up invalid header detection for both ID3 and MPEG frame headers.
2018-07-25 06:36:08 +08:00
trav90 2fe8db9249 Fix comment typos 2018-07-25 06:36:06 +08:00
trav90 d010804dbb Abort frame parsing if no valid audio stream is found 2018-07-25 06:36:04 +08:00
trav90 8ad5db6929 Increase strictness of ID3 header detection 2018-07-25 06:36:02 +08:00
trav90 fe6198e9e1 Use getter to access MediaRawData mData and mSize member in MP3Demuxer 2018-07-25 06:36:00 +08:00
trav90 18fcfaafab Add MP3 track demuxer seek tests 2018-07-25 06:35:58 +08:00
trav90 029a85726a Add MP3 demuxer tests for stream resources with unknown lengths 2018-07-25 06:35:57 +08:00
trav90 aeacb9eae3 Add tests for MP3 track demuxer 2018-07-25 06:35:55 +08:00
trav90 e3a17053d0 Reset MP3 frame parser on track demuxer reset 2018-07-25 06:35:53 +08:00
trav90 75f6617aab Fix MP3 demuxer initialization for resources with unknown content lengths 2018-07-25 06:35:51 +08:00
trav90 cf7c0f7308 Remove extra { 2018-07-25 06:35:49 +08:00
trav90 cd3cf81bba Rebase MP3 demuxer on MediaDataDemuxer interface 2018-07-25 06:35:47 +08:00
trav90 f466cc6b5a Add MP3 track demuxer 2018-07-25 06:35:45 +08:00
JustOff c12a7d644d Fix "TypeError: aUrl is undefined" when open new window 2018-07-25 06:35:43 +08:00