Jean-Yves Avenard
89b1091f27
Bug 1215089 - P2: Add mDepth member to YCbCr data structure. r=kamidphish
...
MozReview-Commit-ID: BNLawJOfj3w
--HG--
extra : rebase_source : 6cd0336506a8feda874f6bd6525da73a745d5100
2017-06-29 23:09:20 +02:00
Jean-Yves Avenard
4bac0ed257
Bug 1215089 - P1: Add YUV422 support to ffmpeg decoder. r=kentuckyfriedtakahe
...
This allows for VP9 profile 1 support.
MozReview-Commit-ID: KymoerXNyzA
--HG--
extra : rebase_source : 37bcf92e71a0e3b55d70e52e0e3b34d544f67631
2017-06-29 23:07:03 +02:00
Rob Wu
11d4ea9489
Bug 1404661 - Fix typo in comment of flac::FrameHeader::Parse r=kamidphish
...
MozReview-Commit-ID: 7AlN8i4WYu5
--HG--
extra : rebase_source : 376dfaa2d6bf539972fb31932f8cce561a5d5421
2017-10-01 02:26:38 +02:00
Wes Kocher
382a7d90d6
Merge inbound to central, a=merge
...
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Andrea Marchesini
9067ec472c
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
JW Wang
23e496f3ed
Bug 1404771. P3 - constify some members and fix comments. r=gerald
...
MozReview-Commit-ID: CMJgmY9Al0k
--HG--
extra : rebase_source : 4bacbc52a0bab984d43802c0a93078297423eaf5
extra : intermediate-source : e19cd1f94a3f876cf9763e4296ca8f145897040f
extra : source : 7da3a65c6620166a88367dc6d1f92184fa07f515
2017-09-20 16:43:19 +08:00
JW Wang
ad01d1a091
Bug 1404771. P2 - always access mThrottleReadahead within the lock. r=gerald
...
So it is easier to run Update() loops off the main thread in the future.
MozReview-Commit-ID: LdxzQf6B3GK
--HG--
extra : rebase_source : 157984edf8ea08270fe61376e67183715b5bd4d4
extra : intermediate-source : f4045ce626977d392c799fae8f3d4f19efe3039f
extra : source : 778256b7055f4a470889eeae063660595d34337f
2017-09-20 16:37:32 +08:00
JW Wang
1ed6e3a966
Bug 1404771. P1 - fix the comment of mStreamLength. r=gerald
...
mStreamLength is always accessed within the lock. So it is safe to read/write
mStreamLength on all threads.
MozReview-Commit-ID: 9zJ2cwRrL5L
--HG--
extra : rebase_source : 10f282aa1c2fce2b9c0f431afb85e9d8ec7fab74
extra : intermediate-source : 38cac3d9015404aa3d1ddfd438ac57bd915fa0a7
extra : source : 60594740401732695f12f5f5232fa0f8e6681111
2017-09-20 16:29:46 +08:00
Andreas Pehrson
94fb70a59f
Bug 1380346 - Apply applyConstraints() properly. r=jib
...
MozReview-Commit-ID: EOuHS9nYT8S
--HG--
extra : rebase_source : 5d162b361ecfa6611317805a305a6ffcd33e16a2
2017-09-14 19:20:26 +02:00
Andreas Pehrson
c855ea91ce
Bug 1380346 - Verify screensharing content in mochitest. r=jib
...
This verifies that screen content is captured correctly by drawing to a canvas
that is full screen and comparing to pixels in the captured stream.
Note that going fullscreen requires the tab (and window) to be in the foreground
and having focus.
MozReview-Commit-ID: 9SNXaCPm9da
--HG--
extra : rebase_source : bcd1fb1954acacbe4b7c51055f73ffc74a0e978f
2017-09-14 19:02:46 +02:00
Andreas Pehrson
9bf120375b
Bug 1380346 - Modernize test_gUM_basicScreenShare.html. r=jib
...
MozReview-Commit-ID: ATNRw5avBaD
--HG--
extra : rebase_source : 472f4041bc7829d4c0bb9b4b800ca0f8b88cf0e0
2017-09-13 17:09:20 +02:00
Wes Kocher
eb9a2ed0f2
Merge inbound to central, a=merge
...
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Paul Adenot
318f0f3c3b
Bug 1326003 - Fix callsite on a CLOSED TREE.
...
MozReview-Commit-ID: FWfWMOKDjJq
2017-09-29 17:48:43 +02:00
maxLan
9c5102c149
Bug 1326003 - Remove dead code: WebAudioDecodeJob::mContentType. r=padenot
...
MozReview-Commit-ID: B35bgs91mep
--HG--
extra : source : f54176397a55ff09bab897d2026edff5ce477f86
2017-09-29 16:02:43 +02:00
Andrea Marchesini
728ee9036d
Bug 1404326 - Fixing comments in MediaRecorder.cpp, r=padenot
2017-09-29 16:11:47 +02:00
Andreas Farre
2e8f0b10d0
Bug 1403586 - Don't disble budget throttling due to gUM. r=smaug,padenot
2017-09-29 15:21:45 +02:00
Sebastian Hengst
5253bb7207
merge autoland to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 2gWLO0vz64b
2017-09-29 13:30:42 +02:00
Matthew Gregan
2bf67b1eb5
Bug 1403043 - Avoid reentering libcubeb from data_callback. r=jwwang
...
AudioStream::DataCallback uses cubeb_get_backend_id to work around a bug in
libcubeb's winmm backend, but calling libcubeb APIs from within libcubeb
callbacks is not safe. Move the query to AudioStream::Init and check a simple
bool from within the callback instead.
2017-09-29 17:19:47 +13:00
JW Wang
cf7433d7d9
Bug 1404187 - group timeout messages for MediaTestManager. r=kaku
...
So different test timeouts from the same test case will fall under the same bug.
MozReview-Commit-ID: LDstAhOpkYK
--HG--
extra : rebase_source : 9f2b52f237f18f3fecdd076295da4d43e5b30219
2017-09-29 11:25:31 +08:00
Kaku Kuo
6a5b40688d
Bug 1401757 part 1 - set MDSM::mMinimizePreroll to false once seekToNextFrame() is engaged; r=jwwang
...
MozReview-Commit-ID: KFWbOAw7dig
--HG--
extra : rebase_source : 06a5e9c875b01437370b878248b65ec1c87cecff
2017-09-28 17:57:31 +08:00
Munro Mengjue Chiang
e39858f1cd
Bug 1402377 - Stop the corresponding track instead of the whole stream when an external device is plugged out. r=jib,pehrsons
...
MozReview-Commit-ID: 7gbB5sgn6xI
--HG--
extra : rebase_source : 9dc0b1cc8d1dd55c4fb71f444c165498f0e7f7ad
2017-09-27 10:16:46 +08:00
Alastor Wu
6881f03d05
Bug 1403478 - part2 : merge 'test_SeekableBefore*' and 'test_SeekableAfter*' into 'test_SeekableBeforeAndAfter*'. r=jya
...
MozReview-Commit-ID: 3tfdEEV78k8
--HG--
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStream.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStream.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStreamSplit.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStreamSplit.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStreamSplit_mp4.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStreamSplit_mp4.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStream_mp4.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStream_mp4.html
extra : rebase_source : 98e2e7c90f9b22526889eca869160999307e0cf7
2017-09-29 11:58:44 +08:00
Alastor Wu
27e06f23ea
Bug 1403478 - part1 : check v.seekable before and after calling ms.endOfStream(). r=jwwang,jya
...
This patch does two things,
(1) check v.seekable after calling ms.endOfStream()
As test name suggests, we check seekable after calling endOfStream()
(2) check the time range of v.seekable
The seekable represents the ranges of the media resource [1], so it would be changed after calling ms.endOfStream().
Before calling the endOfStream(), seekable should be [0, ms.duration)
After calling the endOfStream(), seekable should be [0, ms.buffer.end(0))
[1] https://www.w3.org/TR/html51/semantics-embedded-content.html#dom-htmlmediaelement-seekable
MozReview-Commit-ID: 56AIZYVsHhW
--HG--
extra : rebase_source : a1f1df601dc8523cd5d4e58b41cada3c79d494c1
2017-09-29 11:33:46 +08:00
Wes Kocher
134e495909
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher
1674eb3e4f
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Alastor Wu
b25ce830dd
Bug 1403832 - part2 : reuse ErrorName() in MediaResult::Description(). r=jya
...
MozReview-Commit-ID: AN6v18RwlAw
--HG--
extra : rebase_source : 4d8e7370a166441005b5e9d7d632e526be666b10
2017-09-29 00:37:50 +08:00
Alastor Wu
1bc4324cb2
Bug 1403832 - part1 : replace Error.Code() with Error.ErrorName(). r=jya
...
Use ErrorName() as it provides more useful information for the error detail.
MozReview-Commit-ID: BQUPQGcLd8L
--HG--
extra : rebase_source : 734825c88dfbe79de1e61498dcc24606c50314ee
2017-09-29 00:37:45 +08:00
Bryce Van Dyk
06435b3208
Bug 1400757 - Add telemetry to MediaRecorder and TrackEncoder to track basic usage. r=francois,pehrsons
...
Add telemetry to collect the following:
- Number of times a MediaRecorder is started during a session
- Duration of media recordings
- How often we're timing out init of audio and video track encoders
MozReview-Commit-ID: 9Pc2oKNCH1M
--HG--
extra : rebase_source : 16414a5ffa95413458d36295e5508df4c16e6fa9
2017-09-19 07:34:02 +12:00
James Cheng
64ae68efce
Bug 1403830 - [Part2] Remove unnecessary code and include header using gmp-platform.h. r=cpearce
...
MozReview-Commit-ID: huebQ9Ihs8
--HG--
extra : rebase_source : ff8cd329bf19f4158ac435f644c4c9dae44d890c
2017-09-28 16:18:16 +08:00
James Cheng
8f80fefaf0
Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce
...
MozReview-Commit-ID: G8RHADhfd3c
--HG--
extra : rebase_source : 125098fb689e5d031f042c9b3976a8163f41ff51
2017-09-28 15:50:28 +08:00
James Cheng
ec87af6c06
Bug 1403804 - P2 - Remove remaining GMPCDMProxy term. r=cpearce
...
MozReview-Commit-ID: IlcqZWYlFPv
--HG--
extra : rebase_source : 7bc9bc7ef3573f491be833003e52aa8c4ccddf3e
2017-09-28 11:58:35 +08:00
James Cheng
bd88dbe2fe
Bug 1403804 - P1 - Remove PGMPDecryptor.ipdl and its related code from code base. r=cpearce
...
MozReview-Commit-ID: 4mxdcvnRl3W
--HG--
extra : rebase_source : 4c047fa94448bdde302f4b325f786f1d1b904388
2017-09-28 11:40:30 +08:00
Andreas Pehrson
d918302551
Bug 1319446 - DirectMediaStreamListener, you are dead to me. r=padenot
...
MozReview-Commit-ID: KwztE5ogSj9
--HG--
extra : rebase_source : e8e6bb3548c5697c5db901c0310ea5067a30c895
2017-09-27 12:01:46 +02:00
Sebastian Hengst
5a95ac34b4
merge mozilla-central to autoland. r=merge a=merge
2017-09-29 11:49:46 +02:00
James Cheng
1a809037a4
Bug 1396493 - Part8 - Delete fakeopenh264.voucher. r=cpearce
...
MozReview-Commit-ID: 56gfZT1vdX0
--HG--
extra : rebase_source : 3ff00d96e2a8f51f028e7828732db8f312c34973
2017-09-27 02:31:30 +08:00
James Cheng
d88213c50f
Bug 1396493 - Part7 - Rename dom/media/gmp-plugin to dom/media/fake-cdm r=cpearce
...
MozReview-Commit-ID: JswVNPW3SXS
--HG--
rename : dom/media/gmp-plugin/cdm-fake.cpp => dom/media/fake-cdm/cdm-fake.cpp
rename : dom/media/gmp-plugin/cdm-test-decryptor.cpp => dom/media/fake-cdm/cdm-test-decryptor.cpp
rename : dom/media/gmp-plugin/cdm-test-decryptor.h => dom/media/fake-cdm/cdm-test-decryptor.h
rename : dom/media/gmp-plugin/cdm-test-output-protection.h => dom/media/fake-cdm/cdm-test-output-protection.h
rename : dom/media/gmp-plugin/cdm-test-storage.cpp => dom/media/fake-cdm/cdm-test-storage.cpp
rename : dom/media/gmp-plugin/cdm-test-storage.h => dom/media/fake-cdm/cdm-test-storage.h
rename : dom/media/gmp-plugin/manifest.json => dom/media/fake-cdm/manifest.json
rename : dom/media/gmp-plugin/moz.build => dom/media/fake-cdm/moz.build
extra : rebase_source : 7af2ee71047d6fa85f692fa0132d2a04533027b0
2017-09-27 02:27:29 +08:00
James Cheng
ea01048e16
Bug 1396493 - Part6 - Fix unified build error due to adding a new gtest unit. r=cpearce
...
MozReview-Commit-ID: 8l3N9c8emDb
--HG--
extra : rebase_source : e85c543e35585a5bb3c291bf8bb9c6c44be3f7d6
2017-09-26 17:28:43 +08:00
James Cheng
7cd96467c1
Bug 1396493 - Part5 - Split out the CDM testing from TestGMPCrossOrigin.cpp to TestCDMStorage.cpp and rename GMPStorage into CDMStorage. r=cpearce
...
MozReview-Commit-ID: H17Iz67d4i7
--HG--
extra : rebase_source : 462dc6d559bc5d38a7b132103f023c3edfab0a2c
2017-09-26 17:24:04 +08:00
James Cheng
19984a5dd3
Bug 1396493 - Part4 - Fix the include header name after renaming by Part3. r=cpearce
...
MozReview-Commit-ID: 3dPKXXRqnUF
--HG--
extra : rebase_source : 010c6073ec49149b4e1db0d20d5cc6beeb9cffea
2017-09-27 21:12:39 +08:00
James Cheng
b394995f8f
Bug 1396493 - Part3 - Rename only the file names from gmp-* to cdm-* a. r=cpearce
...
MozReview-Commit-ID: AbEYahxfp4b
--HG--
rename : dom/media/gmp-plugin/gmp-fake.cpp => dom/media/gmp-plugin/cdm-fake.cpp
rename : dom/media/gmp-plugin/gmp-test-decryptor.cpp => dom/media/gmp-plugin/cdm-test-decryptor.cpp
rename : dom/media/gmp-plugin/gmp-test-decryptor.h => dom/media/gmp-plugin/cdm-test-decryptor.h
rename : dom/media/gmp-plugin/gmp-test-output-protection.h => dom/media/gmp-plugin/cdm-test-output-protection.h
rename : dom/media/gmp-plugin/gmp-test-storage.cpp => dom/media/gmp-plugin/cdm-test-storage.cpp
rename : dom/media/gmp-plugin/gmp-test-storage.h => dom/media/gmp-plugin/cdm-test-storage.h
extra : rebase_source : bb5abd64591c62d53b7aecdac960dc3f3f48f619
2017-09-27 21:06:56 +08:00
James Cheng
3bdcb38e14
Bug 1396493 - Part2 - Modify the gtest to adapt to the interface change. r=cpearce
...
MozReview-Commit-ID: FyuXeSipeRV
--HG--
extra : rebase_source : 69adc1656e6d9d15387b03e530c970981854fe09
2017-09-25 17:40:01 +08:00
James Cheng
06ead99170
Bug 1396493 - Part1 - Convert gmp-fake to use Chromium ContentDecryptionModule8 interface. r=cpearce
...
MozReview-Commit-ID: JAGAnVuEGSE
--HG--
extra : rebase_source : bc5e1e721478fc708affaa077ff73388fd312478
2017-09-25 17:40:22 +08:00
Kaku Kuo
eb83d295c7
Bug 1403412 - disable VP9 estimizer on Mac; r=jya
...
MozReview-Commit-ID: 8RTe7lVSRwl
--HG--
extra : rebase_source : 5e67fae9fa287c4188402d8956d90e4ce47e1f32
2017-09-28 00:17:29 +08:00
Gerald Squelart
452f62c32c
Bug 1403753 - Added missing #includes in some dom/media files - r=SingingTree
...
MozReview-Commit-ID: I5c81uRGkyi
--HG--
extra : rebase_source : a5ce3c6bf81b5726cc80a328f29338fd2233f04d
2017-09-28 11:34:05 +13:00
Wes Kocher
61c098eae7
Merge inbound to m-c a=merge CLOSED TREE
...
MozReview-Commit-ID: 3pMHYV9oXLm
--HG--
rename : dom/base/nsReferencedElement.cpp => dom/base/IDTracker.cpp
rename : dom/base/nsReferencedElement.h => dom/base/IDTracker.h
2017-09-27 16:51:49 -07:00
Sebastian Hengst
2d548eb88a
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-27 11:51:06 +02:00
Sebastian Hengst
a3b6b15cef
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: BGCq2q6xO1S
2017-09-27 11:47:52 +02:00
Wes Kocher
acf8913934
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Wes Kocher
a341b32d06
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Wes Kocher
22a72df7fe
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Joel Maher
808f4c3bd8
Bug 1389983 - fix skip syntax for dom/media/tests/mochitest/test_getUserMedia_addtrack_removetrack_events.html. r=me, a=test-only
2017-09-26 15:16:34 -04:00
Wes Kocher
9d9610f6a3
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Andrea Marchesini
6b24a13ac2
Bug 1403232 - Fixing the WebVTT parser when the buffer uncompleted, r=bechen
2017-09-27 07:38:15 +02:00
Sylvestre Ledru
58dfe37aba
Bug 1403292 - Add some comments to ignore the clang-format execution on these declarations r=jya
...
MozReview-Commit-ID: G30klPUAXTM
--HG--
extra : rebase_source : 2a6076da704b6fcc27f2abeebc71d7d09272dbf0
2017-09-26 21:11:33 +02:00
Sebastian Hengst
72d1ea4a4b
merge mozilla-central to autoland. r=merge a=merge
2017-09-27 11:49:57 +02:00
Jean-Yves Avenard
24ce341523
Bug 1403190 - P1. Rename media.windows-media-foundation.* into media.wmf.* prefs. r=cpearce
...
MozReview-Commit-ID: F9rQoGVPmRt
--HG--
extra : rebase_source : e09c3065dda022208682dda52bca8dfef7ae23dc
2017-09-26 17:00:57 +02:00
Sebastian Hengst
087942d456
Backed out changeset 31a7d05125cc (bug 1403190) for breaking Windows builds due to wrong closing quotation marks in preferences file. r=backout on a CLOSED TREE
2017-09-27 10:18:02 +02:00
Jean-Yves Avenard
8755f326b6
Bug 1403129 - Don't cache decoder's description. r=gerald
...
MozReview-Commit-ID: 5ULVmUWUBGk
--HG--
extra : rebase_source : e68fcf4db866e766ec9f60af2ce40787e2cd539a
2017-09-26 15:26:34 +02:00
Jean-Yves Avenard
06bc9c648f
Bug 1403190 - P1. Rename media.windows-media-foundation.* into media.wmf.* prefs. r=cpearce
...
MozReview-Commit-ID: F9rQoGVPmRt
--HG--
extra : rebase_source : 0bb194abe90e720100f2a2a09d0d905d6928aed3
2017-09-26 17:00:57 +02:00
Yoshi Huang
c3e27f8363
Bug 1376971 - Part 4: query loadingprincipal in HTMLMediaElement. r=baku
...
Query loadingprincipal attribute on the media part.
2017-09-26 12:41:27 +08:00
Wes Kocher
7bf1b49628
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 7EzhCCVVn7n
2017-09-25 16:41:34 -07:00
Dan Minor
30d76b125c
Bug 1382182 - Build jsep using moz.build; r=ted,jesup
...
MozReview-Commit-ID: 9UhlBZi0yO0
--HG--
extra : rebase_source : 7ad69af2dfb61ad88fc5f87f4d17a09abbf23edc
2017-07-20 11:24:08 -04:00
Philippe Normand
082eec8e9c
Bug 1399833 - set default values for variables controlled by Preferences. r=padenot
...
This is needed for Servo's gecko-media where there is no support for
Mozilla Preferences.
MozReview-Commit-ID: HbDT42SRrE3
--HG--
extra : source : 8952a9fc838fb2f45bf70a0ad5a3eb45bbeccec2
2017-09-14 13:29:30 +01:00
Sebastian Hengst
1a3935a05f
merge autoland to mozilla-central.r=merge a=merge
...
MozReview-Commit-ID: JRQXsnsRpCS
2017-09-25 11:56:13 +02:00
Tom Ritter
1a9e967cb3
Bug 1402367 Lowercase windows includes for MinGW build r=dmajor
...
MozReview-Commit-ID: BUwvFA97lcu
--HG--
extra : rebase_source : b9497034b2d638c8cccc387f19d560cca381ee74
2017-09-22 11:02:06 -05:00
Chris Peterson
210c7f9690
Bug 870698 - Part 9: Replace Assign(NS_LITERAL_STRING("")) with AssignLiteral(u""). r=erahm
...
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.
MozReview-Commit-ID: 6vgQiU8zN3o
--HG--
extra : rebase_source : 1b536b92ef43f610db057ace6f108620e8d8b4d5
extra : source : 336e21386d5eeb16f1c9893c29377f23b67cc4b0
2017-09-06 01:43:13 -07:00
Chris Peterson
a6a56ed916
Bug 870698 - Part 6: Replace Append(NS_LITERAL_CSTRING("")) with AppendLiteral(""). r=erahm
...
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.
MozReview-Commit-ID: F750v6NN81s
--HG--
extra : rebase_source : 714dd78df0f4c33e23e5b117615bd8fd561674c5
extra : source : 742bda9e6b1ddaf34d09894204ad18ce798b79b7
2017-09-07 18:25:25 -07:00
Chris Peterson
a0c8081df4
Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
...
MozReview-Commit-ID: G1GhyvD29WK
--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Samael Wang
c4ecad6c4b
Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
...
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.
MozReview-Commit-ID: 3tQLpsqmmaq
--HG--
extra : rebase_source : 3e5094fed014a5d152e85f21b6de796a9a7abaa9
2017-09-05 16:02:04 +08:00
Samael Wang
dae9d4d191
Bug 1364364 - Part 5.1: Rename frame/iframe.html of to-be-modifed test cases. r=smaug
...
Since git lacks of native rename command, git-cinnabar can only recognize
and convert plain mv to hg rename, so I need a separated patch for renaming.
MozReview-Commit-ID: 4M6n5wIWoFl
--HG--
rename : dom/indexedDB/test/bfcache_iframe1.html => dom/indexedDB/test/bfcache_page1.html
rename : dom/indexedDB/test/bfcache_iframe2.html => dom/indexedDB/test/bfcache_page2.html
rename : dom/media/webspeech/synth/test/file_bfcache_frame.html => dom/media/webspeech/synth/test/file_bfcache_page1.html
rename : dom/media/webspeech/synth/test/file_bfcache_frame2.html => dom/media/webspeech/synth/test/file_bfcache_page2.html
rename : dom/workers/test/WorkerDebugger_frozen_iframe1.html => dom/workers/test/WorkerDebugger_frozen_window1.html
rename : dom/workers/test/WorkerDebugger_frozen_iframe2.html => dom/workers/test/WorkerDebugger_frozen_window2.html
rename : dom/workers/test/suspend_iframe.html => dom/workers/test/suspend_window.html
extra : rebase_source : 340ef1d025899138c07acf6709adb72740b9ae5c
2017-09-05 15:57:21 +08:00
Chris Peterson
45aa2a8e8e
Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
...
MozReview-Commit-ID: CrkIP4iHP1U
--HG--
extra : rebase_source : 5dc4e91a3f1860773c199f1abf3f66479218834a
extra : intermediate-source : ba51cc79847f2b43ba616f4a5d2bbc6958ca9f6d
extra : source : 1fda2fa990cc918c748ffa14fcc5dbe13fe3bdc3
2017-09-03 22:14:11 -07:00
Chris Peterson
9f4c1f5278
Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
...
MozReview-Commit-ID: A0u9PP49OW3
--HG--
extra : rebase_source : 7d5286959f510eb4b7df1b7e32d5b9b58719c48b
extra : intermediate-source : f552b4a78236c42bc09030b3eb008725a3edb9c8
extra : source : 26ac4a1014f6661a70e3bf9f552407e12c2c3981
2017-09-03 22:12:56 -07:00
Alastor Wu
5eddb6c449
Bug 1401147 - part2 : add test. r=jya
...
MozReview-Commit-ID: 2onCtimjuz4
--HG--
extra : rebase_source : 9e54641fbc2480895ff067e0d48f1eebba313911
2017-09-23 00:00:56 +08:00
Jean-Yves Avenard
a47673b6ea
Bug 1401147 - part1 : empty track buffer content upon detach. r=jya
...
After detached the source buffer, we would reset all its resource and shutdown
demuxer.
MozReview-Commit-ID: 7xEJ7q00aeF
--HG--
extra : rebase_source : c80ebb2e9ed6c9d3a672273d20ba2558b289e92d
2017-09-19 14:44:59 +02:00
Sebastian Hengst
2479eaedbf
merge mozilla-central to autoland. r=merge a=merge
2017-09-22 11:50:19 +02:00
Sebastian Hengst
9e7898d195
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: FKzfDK7mwcx
2017-09-22 11:29:49 +02:00
Nicholas Nethercote
e3c9cbb969
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Jan-Ivar Bruaroey
630e3ccfc3
Bug 1399922 - Use a static mutex for getting deviceId keys in MediaParent. r=jesup
...
MozReview-Commit-ID: E6pzyAM4jOQ
--HG--
extra : rebase_source : f6a893508e4f5d1b426a62b6c549aba1e1f2041d
2017-09-21 10:45:56 -04:00
JW Wang
4ead787594
Bug 1401471. P4 - always access mChannelOffset within the cache monitor. r=gerald
...
MozReview-Commit-ID: KIQU3PrBUj1
--HG--
extra : rebase_source : 5b012b8ace153124a1f2f158efeaad9057927dd4
extra : intermediate-source : d5219d074f525e614164e7c3076a9df695c55e6c
extra : source : 8f07a48d4ac13162add83cce8677322e148d6f74
2017-09-20 16:23:21 +08:00
JW Wang
184fd3f455
Bug 1401471. P3 - store the seek target in StreamAction so we won't need to read mChannelOffset outside the cache monitor. r=gerald
...
MozReview-Commit-ID: Kkbs3WbSBVm
--HG--
extra : rebase_source : ee6e4119850c854c5a25bef841ffc555daa54fd1
extra : intermediate-source : 30a8f473342993067788911da6f0b999e3a5f9ce
extra : source : d0f1cd9ce8a3d12b63e198c8c8349823eb4b7dcd
2017-09-20 16:20:56 +08:00
JW Wang
bfbcdad5a4
Bug 1401471. P2 - remove SEEK_AND_RESUME. r=gerald
...
MozReview-Commit-ID: ACdp3wVuurb
--HG--
extra : rebase_source : 0050aea48b07b406a84d8b33ebcd9bbf33c6c94e
extra : intermediate-source : 7efbc9605b94bfc93b660e673690625dd7ee74a2
extra : source : 315382f4c613b80d6f315c7dd7a36dada99b9d27
2017-09-20 16:16:07 +08:00
JW Wang
8de2a1f57f
Bug 1401471. P1 - make StreamAction a struct so we can associate data with each action in the future. r=gerald
...
MozReview-Commit-ID: A0ZpunJgNYm
--HG--
extra : rebase_source : 3061d04f6e44d8a818ec08d59b0365b3baac5da1
extra : intermediate-source : 907b58682e04f5ee18256d5b85eae0662b83f727
extra : source : 2b76eb41fe275e65833d65a2217955e5761ad994
2017-09-20 16:12:31 +08:00
JW Wang
ca87557a06
Bug 1401461. P2 - don't call mChannelStatistics.AddBytes() if the data is from an old channel. r=gerald
...
MozReview-Commit-ID: GIVwoGpo43R
--HG--
extra : rebase_source : 0d6bf80071ad0c326767db57fd9d707cec30ab89
extra : source : 6c73d7c37fb631a5e5deab3c1c692605ad5d18f3
2017-09-20 14:41:17 +08:00
JW Wang
25f00c44db
Bug 1401461. P1 - protect access to ChannelMediaResource::Listener::mResource. r=gerald
...
MozReview-Commit-ID: 6G1x7cXNvAq
--HG--
extra : rebase_source : 2f6a8642930ec314621aab2ce6424e4f9f95e0c2
extra : source : eeb067bc2905dfa6fb5764fd42ebb78e1b71a61d
2017-09-20 14:37:18 +08:00
Alastor Wu
e22a7e735d
Bug 1402206 - print error name for MediaFormatReader::OnSeekFailed(). r=jya
...
Print error code couldn't effectively help people understand the reason of error, we should print its name.
MozReview-Commit-ID: KaBTi8zpq91
--HG--
extra : rebase_source : 64eebd9af18fcb5062ff347464045bb9327fb716
2017-09-22 16:23:08 +08:00
Jean-Yves Avenard
2cd8f30633
Bug 1401922 - P2. Only set error when non handled. r=alwu
...
MozReview-Commit-ID: CF2Iw0i0nD8
--HG--
extra : rebase_source : d95ae83f8e426593200cd15b3ea7d6fd19da3ec8
2017-09-21 13:29:54 +02:00
Jean-Yves Avenard
ac7ed4578a
Bug 1401922 - P1. Ensure an error is returned when no decoder could be created. r=alwu
...
PDMFactory::CreateDecoder may not always modify CreateDecoderParams::mError as not all PDM handle this optional return value.
MozReview-Commit-ID: K8WFA0o778U
--HG--
extra : rebase_source : 55c35ab0cb5282d8dfbd1bbc1a2e6e22d97d3209
2017-09-21 13:25:05 +02:00
Phil Ringnalda
1112382b61
Backed out 2 changesets (bug 1401461) for being the wrong patches
...
Backed out changeset 20a0000f97bc (bug 1401461)
Backed out changeset e3c36a62b5b1 (bug 1401461)
MozReview-Commit-ID: BJeIuoGJwjb
2017-09-21 20:29:39 -07:00
Phil Ringnalda
4627ae77ed
Backed out 4 changesets (bug 1401471) because it depends on 1401461 which is being backed out
...
Backed out changeset 6a2c85349226 (bug 1401471)
Backed out changeset 554875cb6a2e (bug 1401471)
Backed out changeset f871c6aa4d90 (bug 1401471)
Backed out changeset ff9dbb6a6692 (bug 1401471)
MozReview-Commit-ID: 80kxfUqbik4
2017-09-21 20:29:08 -07:00
JW Wang
eace06432d
Bug 1401471. P4 - always access mChannelOffset within the cache monitor. r=gerald
...
MozReview-Commit-ID: KIQU3PrBUj1
--HG--
extra : rebase_source : 8984d39f5b0b29fe3233c96e5431e8641dd918fd
extra : source : 8f07a48d4ac13162add83cce8677322e148d6f74
2017-09-20 16:23:21 +08:00
JW Wang
105690ac8c
Bug 1401471. P3 - store the seek target in StreamAction so we won't need to read mChannelOffset outside the cache monitor. r=gerald
...
MozReview-Commit-ID: Kkbs3WbSBVm
--HG--
extra : rebase_source : f77d564715998591fd91aa824906cdd90b7abdbe
extra : source : d0f1cd9ce8a3d12b63e198c8c8349823eb4b7dcd
2017-09-20 16:20:56 +08:00
JW Wang
0a4181eb82
Bug 1401471. P2 - remove SEEK_AND_RESUME. r=gerald
...
MozReview-Commit-ID: ACdp3wVuurb
--HG--
extra : rebase_source : 1553881dc5cf0e17f5175f0c02388666f43bdaa2
extra : source : 315382f4c613b80d6f315c7dd7a36dada99b9d27
2017-09-20 16:16:07 +08:00
JW Wang
3ed737a3b8
Bug 1401471. P1 - make StreamAction a struct so we can associate data with each action in the future. r=gerald
...
MozReview-Commit-ID: A0ZpunJgNYm
--HG--
extra : rebase_source : f76432a674e4535cd09a928b7151b9d530528909
extra : source : 2b76eb41fe275e65833d65a2217955e5761ad994
2017-09-20 16:12:31 +08:00
JW Wang
6ab26b050e
Bug 1401461. P2 - don't call mChannelStatistics.AddBytes() if the data is from an old channel. r=gerald
...
MozReview-Commit-ID: GIVwoGpo43R
--HG--
extra : rebase_source : 0d6bf80071ad0c326767db57fd9d707cec30ab89
extra : source : 6c73d7c37fb631a5e5deab3c1c692605ad5d18f3
2017-09-20 14:41:17 +08:00
JW Wang
f69d8e8e34
Bug 1401461. P1 - protect access to ChannelMediaResource::Listener::mResource. r=gerald
...
MozReview-Commit-ID: 6G1x7cXNvAq
--HG--
extra : rebase_source : 2f6a8642930ec314621aab2ce6424e4f9f95e0c2
extra : source : eeb067bc2905dfa6fb5764fd42ebb78e1b71a61d
2017-09-20 14:37:18 +08:00
Kaku Kuo
88d6505246
Bug 1401902 - we should use MediaDataDecoder's address as an ID instead of MFR::DecoderData's address;r=gerald
...
We misused MFR::DecoderData's address as an identity in bug 1393399 but our intention was MediaDataDecoder's address.
We report telemetry data when we get the 1st decoded frame from a new MediaDataDecoder, which is identified by its address.
If we misuse the MFR::DecoderData's address as identity, it will take longer than we expect since only when
the MFR is recreated will we get a new MFR::DecoderData.
MozReview-Commit-ID: HOf5hTSoBed
--HG--
extra : rebase_source : 76731bd11eac9243a23a972f85c72203c3a3e7f1
2017-09-21 18:02:30 +08:00
Sebastian Hengst
17eaa88fb4
Backed out changeset 0ceb7e5789f4 (bug 1401461) for leaking in mochitest run on Windows 7 debug. r=backout
2017-09-21 11:16:40 +02:00
Sebastian Hengst
a5de561618
Backed out changeset ddfa978c27f7 (bug 1401461)
2017-09-21 11:15:57 +02:00
Andreas Pehrson
78a302848f
Bug 1296531 - Let waitForPixel and friends take a cancelPromise. r=jib
...
MozReview-Commit-ID: 42hT181wkvq
--HG--
extra : rebase_source : 430d7ea6156bddf98893c4b8b3d0db70c3c54831
2017-05-29 16:27:45 +02:00
Andreas Pehrson
b99abdab75
Bug 1296531 - Let waitForAnalysisSuccess take a cancelPromise. r=jib
...
MozReview-Commit-ID: 3UHUXbg2laL
--HG--
extra : rebase_source : 65fec6f5fd95691f774d6b47a9bfa1acbdf48b06
2017-05-29 15:52:51 +02:00
Andreas Pehrson
540090020d
Bug 1296531 - Make logic that passes buffered data to direct listener generic. r=jesup
...
MozReview-Commit-ID: GdGFJHTNBS
--HG--
extra : rebase_source : 031f02b25072a2c2e47e28c9f584c7d31a758c60
2017-05-24 18:54:40 +02:00
Sebastian Hengst
fd1c572923
merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
2017-10-05 11:47:25 +02:00
Andrea Marchesini
970f42c82a
Bug 1403706 - Remove race conditions in temporary blob - part 2 - MediaRecorder should use MutableBlobStorage, r=pehrsons, r=smaug
2017-10-05 07:41:41 +02:00
Andreas Pehrson
96e4767e6c
Bug 1395853 - Add a mochitest for video codec content flow across peerconnection. r=jib
...
MozReview-Commit-ID: 2mZ9LkRWden
--HG--
extra : rebase_source : 3609da40f14fa434f3c2545458937782ed393591
2017-09-13 09:53:39 +02:00
Andreas Pehrson
845b05ec85
Bug 1395853 - Allow pt97 to be accepted as H264 in sdputils. r=drno
...
MozReview-Commit-ID: Cck57WEmjxz
--HG--
extra : rebase_source : 3fe03ed6c6b49ec8264aacaaa4c07916363ee522
2017-09-13 11:42:45 +02:00
Andreas Pehrson
1a839a7c53
Bug 1395853 - Add a mochitest for audio codec content flow across a PeerConnection. r=jib
...
MozReview-Commit-ID: 8cb7fgR5nO7
--HG--
extra : rebase_source : c1f33def1fe7e201bdc7eb66a49d7ddcb44fca70
2017-09-06 18:34:33 +02:00
Andreas Pehrson
2841ae1914
Bug 1395853 - Add convenience methods regarding codec ids to sdpUtils. r=drno
...
MozReview-Commit-ID: J4bZhZ6gm7O
--HG--
extra : rebase_source : cf2e730be85544bb0eac65b7c9e2ce0cf2da626f
2017-09-13 11:38:14 +02:00
Andreas Pehrson
b8f0ecca46
Bug 1395853 - Refactor checkReceivingToneFrom to take a cancel promise. r=jib
...
MozReview-Commit-ID: 456FVAlZkXJ
--HG--
extra : rebase_source : c537d0492f4645cfe76c75466c078bf14fc63c73
2017-09-06 18:33:03 +02:00
Randell Jesup
87905650ba
bug 1399137: make the fake openh264 encoder support mode 0 h264 r=pehrsons
...
MozReview-Commit-ID: LpUQMKkQq16
--HG--
extra : rebase_source : 30c9322a8223adbf70982e4f7d76cf3353e544df
2017-09-13 12:04:20 +02:00
Andreas Pehrson
f6213c0568
Bug 1296531 - Don't notify of ended tracks when adding a direct listener. r=jesup
...
There were some cases where these tracks were detected as ended when they were
in fact not. That result in problems in the MediaRecorder.
MozReview-Commit-ID: 4CNUYRvzOgK
--HG--
extra : rebase_source : b94c29bc73e76575489a4684facc0b01bb7aeb22
extra : source : bedb7abcc84263c6a6369c4d05e8bf3287281090
2017-05-23 16:00:42 +02:00
Andreas Pehrson
447dfdfffa
Bug 1296531 - Make sure test_pc_capturedVideo.html doesn't run out of source before connecting. r=jesup
...
MozReview-Commit-ID: EioemlMzYB7
--HG--
extra : rebase_source : 4d352c378a7080df4274126ace1a2f4c5a5d1dc3
2017-05-15 14:11:46 +02:00
JW Wang
d2e7186d25
Bug 1401461. P2 - don't call mChannelStatistics.AddBytes() if the data is from an old channel. r=gerald
...
MozReview-Commit-ID: GIVwoGpo43R
--HG--
extra : rebase_source : d6e77d812975fee2451d02faa81d76c03bbdad00
extra : source : 6c73d7c37fb631a5e5deab3c1c692605ad5d18f3
2017-09-20 14:41:17 +08:00
JW Wang
3ce1e10aba
Bug 1401461. P1 - remove ChannelMediaResource::Listener::Revoke(). r=gerald
...
See comment 0 for the rationale. We check |aRequest != mResource->mChannel|
to know if a new channel is being loaded and the call should be aborted.
MozReview-Commit-ID: 6G1x7cXNvAq
--HG--
extra : rebase_source : 3114979192346e257f5d8040b8e0ffffa419d3f5
extra : source : eeb067bc2905dfa6fb5764fd42ebb78e1b71a61d
2017-09-20 14:37:18 +08:00
Sebastian Hengst
0dc17cba82
merge mozilla-central to autoland. r=merge a=merge
2017-09-20 11:49:13 +02:00
Sebastian Hengst
bc68e8f407
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 9Z3Ly8icnvh
2017-09-20 11:48:02 +02:00
JW Wang
1c84dd5856
Bug 1400155 - early return from NotifyDataReceived() when the stream is already closed. r=gerald
...
See comment 3 for the detail. We can't assert !mClosed since NotifyDataReceived()
could be called after the stream is closed.
MozReview-Commit-ID: 4pTfjABdl9B
--HG--
extra : rebase_source : d7d8b38268f3f54242dd728fe5fd0ada17d6ee48
extra : source : 713510f4087b38f0d447529dbf601f19b3a89eae
2017-09-19 15:32:54 +08:00
JW Wang
472ab4804d
Bug 1399760. P3 - keep ID of the loading channel so we check whether the data callback is from an old channel. r=gerald
...
The load ID works as follows:
1. A load ID is passed to MediaCacheStream::NotifyDataStarted()
when loading a new channel.
2. Each MediaCacheStream::NotifyDataReceived() call is also associated
with a load ID from which the data is received.
3. If |mLoadID != aLoadID| tests to be true in NotifyDataReceived(), it means
the data is from an old channel and should be discarded.
4. MediaCache::Update() reset mLoadID for the stream before calling
CacheClientSeek() to prevent data from the old channel from being
stored to the wrong position.
MozReview-Commit-ID: 9kBoublLlln
--HG--
extra : rebase_source : 58e6d3fe40ec7a549cabc70b30db8006b49c0563
2017-09-20 11:41:08 +08:00
JW Wang
ba7be530dd
Bug 1399760. P2 - ensure mCacheStream.NotifyDataStarted() is always called in OnStartRequest(). r=gerald
...
This keeps us in a good shape that NotifyDataStarted() is always called
before subsequent NotifyDataReceived() calls. This is also required by P3
where we need to set the loadID before NotifyDataReceived().
MozReview-Commit-ID: 9TPodkMM4EH
--HG--
extra : rebase_source : 0079e3ae6b791c64c76ca3bc3faac46039fc48fc
2017-09-20 11:30:03 +08:00
JW Wang
dd57b36053
Bug 1399760. P1 - remove the CopySegmentToCache() member function. r=gerald
...
MozReview-Commit-ID: 3D9RiK3PJUf
--HG--
extra : rebase_source : acf4962bb9fd4f784bbe5d13cc3428e7d60322d3
2017-09-20 11:12:48 +08:00
James Cheng
59439b26b7
Bug 1401114 - Replace 'if (NS_FAILED(' with 'if (NS_WARN_IF(NS_FAILED(' under dom/media/gmp. r=gerald
...
MozReview-Commit-ID: 8ThoMrmlHNx
--HG--
extra : rebase_source : ae5095a7f756576cd9f7951651f060c67bc5e2a3
2017-09-19 16:14:49 +08:00
Jonathan Watt
341ea5e4f1
Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr
2017-08-30 15:58:31 +01:00
Jonathan Watt
0e4feb75d3
Bug 1401356, part 1 - Rename nsSVGEffects.h/.cpp to SVGObserverUtils.h/.cpp. r=longsonr
...
--HG--
rename : layout/svg/nsSVGEffects.cpp => layout/svg/SVGObserverUtils.cpp
rename : layout/svg/nsSVGEffects.h => layout/svg/SVGObserverUtils.h
2017-08-30 14:14:46 +01:00
Andrew Halberstadt
7527e600f0
Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
...
MozReview-Commit-ID: IQL7hWxQX9F
--HG--
extra : rebase_source : b78cbf7913fc1b0a27dfa085c38957e2bc2467d0
2017-08-22 16:56:02 -04:00
JW Wang
02c39abdd3
Bug 1401460 - update principals in OnStartRequest(). r=gerald
...
See comment 0 for the rationale.
The principal will not change after OnStartRequest().
MozReview-Commit-ID: K2HyWBBzGmC
--HG--
extra : rebase_source : 1d913390b1b94923d859bdb5f6e8d34d3f0ed60d
2017-09-20 14:23:59 +08:00
JW Wang
81acc3c247
Bug 1400166. P2 - Flush() should dispatch a task to clear arrays. r=gerald
...
If mBlockChanges is cleared when PerformBlockIOs() is dropping the data lock,
blockIndex will become an invalid index after it acquire the data lock again.
MozReview-Commit-ID: 5Cu2TgEO3F5
--HG--
extra : rebase_source : 1b3dce490acee6d034c3b85741deda79d209d21a
2017-09-18 11:07:52 +08:00
JW Wang
20c0330a15
Bug 1400166. P1 - move re-initialization code to Flush() for it is confusing to call Init() twice. r=gerald
...
MozReview-Commit-ID: 6KolHyGkqXo
--HG--
extra : rebase_source : 98ee1e8a4bebde33149e2dd6d8d0469be7ca11e9
2017-09-18 10:52:17 +08:00
Wes Kocher
519bb0922b
Merge inbound to central, a=merge
...
MozReview-Commit-ID: EK8iFR1hSRp
2017-09-18 16:21:01 -07:00
Joel Maher
b2d10f4be8
Bug 1389983 - Disable dom/media/tests/mochitest/test_getUserMedia_addtrack_removetrack_events.html on linux debug for frequent failures. r=me, a=test-only
2017-09-18 12:00:25 -04:00
Joel Maher
3effc6f2a5
Bug 1282262 - Disable dom/media/tests/mochitest/test_getUserMedia_mediaStreamClone.html for frequent failures. r=me, a=test-only
2017-09-18 12:00:24 -04:00
Andrea Marchesini
b0b73ddd29
Bug 1388125 - CloneableWithRangeMediaResource for streams implementing nsICloneableInputStreamWithRange, r=jya
2017-09-18 13:34:43 +02:00
Andrea Marchesini
5f79fe9d48
Bug 1388125 - Move ChannelMediaResource to separate files, r=jya
2017-09-18 13:33:49 +02:00
Andrea Marchesini
3ad3aaae76
Bug 1388125 - Move FileMediaResource to separate files, r=jya
2017-09-18 13:31:08 +02:00
Andrea Marchesini
052284c159
Bug 1388125 - FileMediaResource should use BlobImpl->Size() instead of stream::Available() to know the size, r=jya
2017-09-18 13:31:00 +02:00
Sebastian Hengst
7dba57e6b9
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: DYPstPArJWR
2017-09-18 11:34:59 +02:00
Jean-Yves Avenard
6367aea01f
Bug 1400537 - P2. Pass video framerate to decoder. r=gerald
...
Continuation on bug 1397307
which was incomplete.
MozReview-Commit-ID: JGGHQyjnALI
--HG--
extra : rebase_source : 067652250dcd0904c8436eebc50068c7fb8d8cbb
2017-09-17 18:06:47 +02:00
Jean-Yves Avenard
3e790e2a55
Bug 1400537 - P1. Don't assume that the PDM will properly report an error. r=alwu
...
Only the Windows H264 decoder supports CreateDecoderParam::mError, all the other PDM leave the value untouched.
As such, it can't be assumed that in case of failure, the mError attribute will be set.
MozReview-Commit-ID: GWHGP6Wv3fl
--HG--
extra : rebase_source : 081b71c7a53c41d9a13904e4182e3cfdb876ae43
2017-09-17 18:01:37 +02:00
Bharat Raghunathan
1880a2c631
Bug 1396794 - Removed aPacket and aLength change r=kentuckyfriedtakahe
...
MozReview-Commit-ID: JG9vo3dbMB
--HG--
extra : rebase_source : d699868284c5929aee3b26544fc99f454dd114ed
2017-09-16 07:18:56 +05:30
Sebastian Hengst
9f35e3578f
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-17 23:35:08 +02:00
Jean-Yves Avenard
afd0595779
Bug 1400598 - P1. Stop parsing bytesteam as soon as we have found the necessary data. r=gerald
...
MozReview-Commit-ID: 9APhbRHIMUP
--HG--
extra : rebase_source : 5f62596fab23c2b832d6cdb85764f3b4b37aa7ad
2017-09-16 23:35:17 +02:00
Jan-Ivar Bruaroey
c0da003175
Bug 1381638 - Prevent sharing multiple input devices in the same process. r=jesup
2017-09-15 23:00:39 -04:00
Sebastian Hengst
1d35d25f21
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 1Wa3jV6n7Wj
2017-09-16 11:35:02 +02:00
Randell Jesup
eea2736c27
Bug 1396879: don't dynamically switch to/from fast-path gUM audio r=jib
2017-09-16 00:06:07 -04:00
Jean-Yves Avenard
19ca46af01
Bug 1400614 - P2. Change string output content. r=gerald
...
Doesn't look as nice as I had hoped.
MozReview-Commit-ID: 6GAXsVKC2sQ
--HG--
extra : rebase_source : bc06616f22f08a6ae6d14dc2fb8b4b60448120f2
2017-09-17 09:56:38 +02:00
Jean-Yves Avenard
56de0134f7
Bug 1400614 - P1. Handle case where we have no video track. r=gerald
...
MozReview-Commit-ID: KcHMH3pOouc
--HG--
extra : rebase_source : 5b8135156a535ea75d13c2568123d242b79dd5cc
2017-09-17 00:57:17 +02:00
John Lin
ac062e7031
Bug 1394239 - don't return video frames that MDSM won't show. r=jya
...
In some Android ROMs, MediaCodec doesn't allocate additional buffers to reduce
consumer starvation and will not work when MDSM grips most recently returned
frame before rearching seek target. Implement SetSeekThreshold() to get actual
seek target to check if video buffers can be released back to remote decoder
immediately.
MozReview-Commit-ID: 7IetuVxCXc0
--HG--
extra : rebase_source : 8e8643dbde757d41a26de45663a8232b4c66c386
2017-09-11 12:50:48 +08:00
James Cheng
7789212fcf
Bug 1399754 - [Part2] Fix wrong format string. r=cpearce
...
MozReview-Commit-ID: 5oXE0UvGeFt
--HG--
extra : rebase_source : 92ecf466b49f4062a85f058b802c37887cabf23a
2017-09-14 17:18:00 +08:00
James Cheng
1d71cf11e9
Bug 1399754 - [Part1] Replace CDM_LOG with GMP_LOG. r=cpearce
...
MozReview-Commit-ID: IG3qsRGW42E
--HG--
extra : rebase_source : 0b0cd4a394a5c15ed8fa8b631c149c962297e55e
2017-09-14 16:00:58 +08:00
Jean-Yves Avenard
83780d15b6
Bug 1400254 - Don't apply fuzz workaround when appendWindowEnd is set. r=gerald
...
Someone changing the attribute appendWindowStart and appendWindowEnd can be expected to know what they are doing. As such, we don't need to make sure playback starts when content timestamps are broken.
MozReview-Commit-ID: EcPORuDHpF5
--HG--
extra : rebase_source : 2e29f07d8c4c52dfee360bac9e83b4d92b3eae38
2017-09-17 15:30:34 +02:00
Alastor Wu
da413dafe6
Bug 1400758 - part3 : report the error description with InitPromise for ffmpeg decoders. r=jya
...
MozReview-Commit-ID: 3MGmU34JY3t
--HG--
extra : rebase_source : 154697238162ff92f861e7cbaa1a6d22b1ee13f4
2017-09-18 18:10:05 +08:00
Alastor Wu
9d25af9bef
Bug 1400758 - part2 : report the error description with InitPromise for agnostic decoders. r=jya
...
MozReview-Commit-ID: BxTTHJPwDNq
--HG--
extra : rebase_source : e634e0a7d61da02f258b7736e69afa249dd2c6ee
2017-09-18 18:10:00 +08:00