Commit Graph

6691 Commits

Author SHA1 Message Date
JW Wang
1f7b60118b Bug 1275807 - Remove remaining use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: L12wxh7GPIr

--HG--
extra : rebase_source : 745ae8240326246050513c96300eba1e32d84130
2016-05-24 16:48:26 +08:00
Chris Peterson
11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Bill McCloskey
291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
Jean-Yves Avenard
48f24d3464 Bug 1275538: P2. Drop decoded frames that we know are already too late. r=kamidphish
MozReview-Commit-ID: EZ2Ql2DtTKa

--HG--
extra : rebase_source : 4dbffc3538e86562a6bb347354f4ff377e484f04
2016-05-26 14:58:48 +10:00
Jean-Yves Avenard
ca37fb4d46 Bug 1275538: P1. Abort early if a skip request is in progress. r=gerald,kamidphish
We would only abort early if new data had been received. Which may not always be the case.

MozReview-Commit-ID: HvAUq5CTc7F

--HG--
extra : rebase_source : a24b6c8bf2a31b0c9e69fc748ebb9b80b5c0d286
2016-05-26 13:59:46 +10:00
Andreas Pehrson
1d2085e59f Bug 1275596 - Ignore ended tracks when selecting new track in MediaStreamAudioSourceNode and MediaElementSourceNode. r=padenot
This is how it was meant to work when the refactor landed in Bug 1208371.
We have no test coverage of seeking apparently.

MozReview-Commit-ID: IhyGbjctO7E

--HG--
extra : rebase_source : 70f1ab777d8f7d6632d24f7134415ad13f73d166
2016-05-26 15:56:58 +02:00
Karl Tomlinson
605ca4cc77 bug 1275754 strip obsolete updates from mStreamUpdates when adding new updates r=padenot
MozReview-Commit-ID: 64tRYsgC1pC

--HG--
extra : rebase_source : 85e43345c3eabc885f87c8c0dad5d16a2c2e6f6c
2016-05-25 19:18:17 +12:00
eyim
4f13f0068e Bug 1271003 - Record whether we've used DXVA in crash reports r=BenWa,jrmuizel
MozReview-Commit-ID: 3nIwpdqSZS1

--HG--
extra : rebase_source : a0f71faccfda12ce3bce4a4526dc87610508c7b3
2016-05-26 15:38:41 -04:00
Kaku Kuo
6c95ab3e8e Bug 1275541 - Undefine GetCurrentTime. r=padenot, r=jesup
MozReview-Commit-ID: 3LSadqoMKD3

--HG--
extra : rebase_source : 514892577c08251de1c2be0a7e3ca110497370d4
2016-05-25 20:12:27 +08:00
Eric Rahm
c077aa9010 Bug 1274913 - Move PDM log definition to header. r=njn 2016-05-24 14:55:53 -07:00
Dan Glastonbury
d3d4cb2e30 Bug 1275472 - Enable suspending of background video only in nightly builds. r=cpearce
MozReview-Commit-ID: 13HJbggtTXH

--HG--
extra : rebase_source : 13cd70b3e67823b5d36b9785ab8c5feac5d72575
2016-05-25 14:13:30 +10:00
Randell Jesup
f357e1adcd Bug 1275703: remove saved state about configuration of the VoiceEngine r=jib
MozReview-Commit-ID: LLexZdEuqo
2016-05-25 17:35:06 -04:00
Joel Maher
3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
JW Wang
8b980a3cbc Bug 1274216 - remove use of FlushableTaskQueue from PlatformDecoderModule. r=jya.
MozReview-Commit-ID: E3DG84yKRmw

--HG--
extra : rebase_source : 2636b7d1ef5cc544f70b3912d4d6bd30f25424df
2016-05-19 17:50:31 +08:00
JW Wang
b9c2b41eb4 Bug 1274189. Part 3 - remove use of FlushableTaskQueue. r=jya
MozReview-Commit-ID: BblRglpMvtp

--HG--
extra : rebase_source : 525d103c8a4b829fc3f35d7722cd9456277f8f19
2016-05-19 16:30:02 +08:00
JW Wang
ef34d3ad83 Bug 1274189. Part 2 - remove use of FlushableTaskQueue::Flush(). r=jya.
MozReview-Commit-ID: I079lp6vSqu

--HG--
extra : rebase_source : 4cd655365a45123de748791100bd308e229d650c
2016-05-25 10:15:24 +08:00
JW Wang
ecc1e85308 Bug 1274189. Part 1 - rename some functions to be consistent with other MediaDataDecoder sub-classes. r=jya.
MozReview-Commit-ID: EqR1cQ2sAhQ

--HG--
extra : rebase_source : 650274ea49bdfcf4a6af55ef6da128d3590bc3a9
2016-05-20 16:28:50 +08:00
JW Wang
006ae9baa3 Bug 1193124 - Ensure logical position is updated after seek. r=jwwang
MozReview-Commit-ID: KD4ylXbaDfu

--HG--
extra : rebase_source : c3e856ce515eeeec17b0dd9c64332fcff4d6deb5
2016-04-18 18:57:47 +08:00
Chris Pearce
bc093355a7 Bug 1249706 - Fix 8fe22dd4fc8a (backout of a085ea2d24bb). r=bustage
--HG--
extra : rebase_source : dedc21e95680f0361f4ff9e2058fe37f1a322e8e
2016-05-25 10:51:14 +12:00
Chris Pearce
daf024be7d Bug 1249706 - Backout a085ea2d24bb for blowing telemetry server's mind. r=backout
--HG--
extra : rebase_source : fc17ac88544ff800b141a276f66282b34f613dfe
2016-05-25 10:31:15 +12:00
Jean-Yves Avenard
708b1db5db Bug 1274933: Reject data promise when EOS is encountered following waiting for data. r=gerald
MozReview-Commit-ID: 1hKplz5wFnJ

--HG--
extra : rebase_source : 301821b51146e5cc7273f86b53b16c1e6ef6ca08
2016-05-24 19:58:36 +10:00
Gian-Carlo Pascutto
e3b4dc9250 Bug 1249313 - Don't shut down the entire Cameras IPC if a single source is shut down. r=jesup 2016-02-23 15:20:26 +01:00
JW Wang
96106a2fbc Bug 1274522. Part 2 - fix comments. r=gerald.
MozReview-Commit-ID: J7YKTy1m7PU

--HG--
extra : rebase_source : 29f7497cb035545d15dc2d0c79d82bf0ff94d549
2016-05-24 11:47:23 +08:00
JW Wang
acc0134e37 Bug 1274522. Part 1 - Use AsyncShutdown API in MediaShutdownManager. r=gerald.
MozReview-Commit-ID: 4hMS188FBdp

--HG--
extra : rebase_source : 6c193d5a07f3109ef8a9a6268b112f3368500e88
2016-05-20 17:17:40 +08:00
Jean-Yves Avenard
cd102518d1 Bug 1270323: P5. Prevent potential null deref. r=cpearce
This currently can't happen as no MediaDataDecoder ever return a null sample.

MozReview-Commit-ID: BucIadubght

--HG--
extra : rebase_source : 4c6f3dc1d5581bdb9d58ba3b7cc1659c57f40d8e
2016-05-23 16:12:17 +10:00
Jean-Yves Avenard
977d53d5e1 Bug 1270323: P4. Don't drain decoder if we're already waiting for new data. r=cpearce
If we're in waiting for data mode, the decoder must have already been drained and we want the waiting promise to be resolved upon the next run of UpdateReceivedNewData.

MozReview-Commit-ID: Hf8pFFyQmjJ

--HG--
extra : rebase_source : c51ed65c7d7c4a9ee877e6f9420f6534480e7cb5
2016-05-23 16:09:12 +10:00
Jean-Yves Avenard
e1fd229178 Bug 1270323: [ffmpeg] P3. Use the dts of the last sample input, not the dts of the last decoded sample. r=cpearce
Amendment to bug 1244410. If no frames had been output yet, last dts would have been INT64_MIN.

MozReview-Commit-ID: LOdWLpyuLYm

--HG--
extra : rebase_source : f842d2214b1e82f3b069e843157b95d87e62fa01
2016-05-23 15:37:34 +10:00
Jean-Yves Avenard
1a18fcce6e Bug 1270323: P2. Don't process new incoming data while a skip to next keyframe is pending. r=cpearce
Followup from bug 1272964 P4.

MozReview-Commit-ID: 18MC3O1JZLv

--HG--
extra : rebase_source : f1f09890f8837caceb37e0e5deafea6e43fbe900
2016-05-21 23:02:43 +08:00
Jean-Yves Avenard
51b5eef658 Bug 1270323: P1. Don't reset flag indicating that new data was received. r=cpearce
A bit of a shot in the dark, but it is possible that data got received but that information got lost as reset was called.

MozReview-Commit-ID: 1KjQeCFsGPJ

--HG--
extra : rebase_source : 3a522045bde0658fdfeccbf4d0cac11b43bc35d7
2016-05-21 22:58:40 +08:00
Jean-Yves Avenard
4bde53c7a1 Bug 1275098: Silence incorrect dumb compiler warning. r=cpearce
MozReview-Commit-ID: In7HSZM2SjX

--HG--
extra : rebase_source : 9f4358e5fad4b0233847fc96a6a8097ea101498a
2016-05-24 10:16:39 +10:00
JW Wang
13fa174ec0 Bug 1274199 - remove use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: J9BHEuF6CPJ
2016-05-19 17:04:18 +08:00
JW Wang
fbdef02717 Bug 1272565 - draw a blank image when no frames in the video track.
MozReview-Commit-ID: 1Kijn00XAnQ
2016-05-17 10:33:32 +08:00
JW Wang
d1674fc0e3 Bug 1274212 - remove use of FlushableTaskQueue. r=kaku
MozReview-Commit-ID: DmyrIhGq8yb
2016-05-19 17:24:30 +08:00
JW Wang
5a7fa14c5c Bug 1274214 - remove use of FlushableTaskQueue. r=kaku.
MozReview-Commit-ID: 5tMa5aqAgQ1
2016-05-19 17:32:22 +08:00
Byron Campen [:bwc]
495f614a9f Bug 1213773: Better handling of answer with direction of inactive in renegotiation. r=mt
MozReview-Commit-ID: Fjo2rBtIYvD

--HG--
extra : rebase_source : bc08c173713781e134de25d39e199aa405a0ca7f
2016-02-05 13:21:11 -06:00
Jean-Yves Avenard
4fed0cc0ca Bug 1274892: [MSE] Don't crash when source buffer is deleted early. r=cpearce
The condition will be perfectly handled by the MediaFormatReader anyway.

MozReview-Commit-ID: Dm6evq6T4t6

--HG--
extra : rebase_source : 6e49cfae68bfa856aad891faf3cea565b152e565
2016-05-23 14:03:43 +10:00
Chris Pearce
375dc51df7 Bug 1271169 - Add gtest to ensure EME device binding works. r=gerald
Call the device binding code in gtests, and have a test GMP which returns the
device ID it was passed in a message, so that we can verify that the id the GMP
was passed is the same as the id generated in the parent.

MozReview-Commit-ID: Gjqvo6dRK1D

--HG--
extra : rebase_source : bea5acc878a639fb819051e19e23533c14c19927
2016-05-10 13:40:05 +12:00
Chris Pearce
a7ee9fee8a Bug 1271169 - Move all device binding code into librlz and remove static runtime requirement. r=glandium
I want the EME device binding/nodeId code to be callable from gtests, as well
as in plugin-container. I need this because I want to add a gtest that ensures
that we don't regress the EME/GMP device binding code. I want to call the GMP
device binding code in the gtest and in the GMP process, and compare the
result.

So we need to make it possible to link the device binding code into the gtests
as well as plugin-container. So move all code that device binding calls into
librlz, to make it easier to link against all the code required.

Note: the device binding code needs to be statically linked into
plugin-container so that it's covered by the Adobe CDM's voucher tool.


MozReview-Commit-ID: AvBAe1dh49Z

--HG--
rename : ipc/app/sha256.c => dom/media/gmp/rlz/sha256.c
rename : ipc/app/sha256.h => dom/media/gmp/rlz/sha256.h
extra : rebase_source : f60f1e68649fa90cbe1f2fe09f5f69948444b1df
2016-05-20 16:11:29 +12:00
Chris Pearce
9c711e8fb4 Bug 1271169 - Move EME/GMP device binding code into GMPDeviceBinding.h/cpp. r=gerald
I want the EME device binding/nodeId code to be callable from gtests, as well
as from in plugin-container.

First step is to move the device binding code into a discrete file, so I can
also link that into gtests, and call it from there to compare the result with
what's in the GMP process.

MozReview-Commit-ID: 9xT2rp3hWW

--HG--
extra : rebase_source : 824c7a9841bce83c438decad48ce210f6c2a5571
2016-05-11 19:56:42 +12:00
Andreas Pehrson
05c6dff3b5 Bug 1208390 - Implement MediaStream.getTrackById(). r=jib, r=smaug
MozReview-Commit-ID: 5a90ZOx7eUE

--HG--
extra : rebase_source : b2fcb6aa7bc0a442cc80ecf3b9dce81415245b41
2016-05-20 13:01:30 +02:00
Andreas Pehrson
1952c7354d Bug 1208390 - Use MediaStream.getTrackById() in some existing tests. r=jib
MozReview-Commit-ID: 5Xy0Zmo2Ob2

--HG--
extra : rebase_source : 708e417c38b165b1eb4de53cef5db7539d9e8363
2016-05-20 13:33:42 +02:00
Andreas Pehrson
f923e71db9 Bug 1208390 - Add test for MediaStream.getTrackById(). r=jib
MozReview-Commit-ID: 5OMc1QYagCc

--HG--
extra : rebase_source : af84228363d5877b7b0385fb74f488a246a5a85a
2016-05-20 13:01:04 +02:00
Randell Jesup
5211329bd6 Bug 1273206: Shut down all getUserMedia VoEBase channels when not in use r=padenot
MozReview-Commit-ID: KLGKNvwJpKg
2016-05-23 10:22:47 -04:00
Sebastian Hengst
e013fac160 Backed out changeset 998ed936f745 (bug 1228601) for reftest failure in 1frame_rotation_90.mp4. r=backout on a CLOSED TREE 2016-05-23 14:24:00 +02:00
Andreas Pehrson
ff6ebbe16a Bug 1271669 - Don't test invalid pc.addTrack() in test_pc_replaceTrack.html. r=jib
It is now valid, with its own test.

MozReview-Commit-ID: CLdCuRdwYE4

--HG--
extra : rebase_source : f5420b2b9eaaa1ebe04d787db6b0aec1e157a792
extra : histedit_source : 1490988ff154b37d51256abf0ae2e61bcb148461
2016-05-19 15:46:25 +02:00
Andreas Pehrson
ffb3049b28 Bug 1271669 - Remove test_peerConnection_addTrack.html. r=jib
This tested that we were throwing on adding a track with a constructed
MediaStream, which we now allow.

MozReview-Commit-ID: 37QfxZngvqI

--HG--
extra : rebase_source : 3fec846b200def54edbef6bc429eff1eb75e7973
extra : histedit_source : 819a5782fdb814f7e401972999579f406ca59234
2016-05-19 16:38:11 +02:00
Andreas Pehrson
5c1742c0d9 Bug 1271669 - Remove wallpaper constraints to the MediaStream argument to RTCPeerConnection.addTrack(). r=jib
This change RTCPeerConnection.addTrack() to allow any MediaStream as argument.

The MediaStream is in the end used as an identifier of how the tracks will be
grouped together on the receiving side of the peer connection.

MozReview-Commit-ID: 9wDPOmMHYDc

--HG--
extra : rebase_source : 5fd59853c2d207cbcdaa1e4a767b3c4de20a1beb
extra : histedit_source : 2b88e899a329df07a46c1f12e449956d59645cf7
2016-05-19 15:32:56 +02:00
Andreas Pehrson
f0637ecee9 Bug 1271669 - Ensure media element flow is tested for all local tracks. r=jib
MozReview-Commit-ID: 6tfp0hHlxlY

--HG--
extra : rebase_source : fbc07d5b7c4e687a62f7c16e7a71b6ada10c2c6a
extra : histedit_source : c266ca1fc22d54fb1fd7ca7fbff08175d34bc256
2016-05-18 16:47:27 +02:00
Andreas Pehrson
58ae6c5d6c Bug 1271669 - Test that we can pc.addTrack() with any MediaStream. r=jib
MozReview-Commit-ID: KvcN1RtGN5X

--HG--
extra : rebase_source : 08648ed731cfa4d52f79ff19ed79fcf933ef15a0
extra : histedit_source : e0e7e3c0b8c7f50af1cd466d2f981caaed7859e0
2016-05-20 10:51:56 +02:00
Kaku Kuo
2c3aeb1b17 Bug 1274192 part 2 - make MDSM and SeekTask to adopt new MediaDecoderReaderWrapper API; r=jwwang
MozReview-Commit-ID: 36QOhD3Hc2f

--HG--
extra : rebase_source : 05a56c3e9dfa970cc576ae7bf54fa7c8b9408b2a
2016-05-19 19:02:20 +08:00