JW Wang
73e80931ea
Bug 1421179. P1 - associate data with playback events published by MDSM. r=bechen,gerald
...
This is required for we want to associate playback offset with the
PlaybackStarted/PlaybackStopped events.
MozReview-Commit-ID: JkRhC2QE7kr
--HG--
extra : rebase_source : c5f637f2e5849565acb5b91364537f1724ce7d5f
2017-12-01 10:33:44 +08:00
Kilik Kuo
b5261ea942
Bug 1365505 - [P2][Fennec] Only include exoplayer & HLSDecoder related components when building --with-gradle. r=maliu
...
MozReview-Commit-ID: 7Y0bZynN66i
--HG--
extra : rebase_source : 6730f4e09c559074387b3fcf9dd2fb038628d448
2017-11-30 17:53:00 +08:00
Kilik Kuo
2f6593bbd3
Bug 1421920 - Remove unnecessary script in test_eme_unsetMediaKeys_then_capture.html for further debugging. r=jwwang
...
There're several causes for Bug 1414464.
Removing unnecessary script in this test to eliminate the uncertainty for further debugging.
MozReview-Commit-ID: IWvvlzJ24gw
--HG--
extra : rebase_source : 0307c8c1874be276f906a617bcaded9c27885d60
2017-12-01 10:59:57 +08:00
Alastor Wu
50105cec03
Bug 1417300 - adjust sample time before calculating the total decoded duration. r=jya
...
We do not want to perform the adjustment of the timestamp after reading the ogg
chain but before. Otherwise the parent's mDecodedAudioDuration would be adjusted
causing the sample's time to be twice the value it should be.
MozReview-Commit-ID: 50VrOCzrwFg
--HG--
extra : rebase_source : 48b1efecb138ca7fa0e4c0584e21be1b6850cce3
2017-12-01 10:54:13 +08:00
JW Wang
855a4bc6c4
Bug 1421875. P3 - remove MediaDecoder::DownloadProgressed() which is basically a one-line call to GetOwner()->DownloadProgressed(). r=bechen,gerald
...
Also devirtualize ChannelMediaDecoder::DownloadProgressed() and move it to private.
MozReview-Commit-ID: ITv3ISRbN5t
--HG--
extra : rebase_source : aa75bc11fc1a4af8df15db9224928b1f02267b80
2017-11-30 11:21:14 +08:00
JW Wang
7c3304f247
Bug 1421875. P2 - move MediaDecoder::NotifyDataArrived() down the class hierarchy. r=bechen,gerald
...
For it is never used by ChannelMediaDecoder.
MozReview-Commit-ID: Jtvlj0iwTm7
--HG--
extra : rebase_source : 8582486e0403cf78366adfdc0c11fab42fedb1c9
2017-11-30 11:07:13 +08:00
JW Wang
9262b684e3
Bug 1421875. P1 - rename MediaDecoder::NotifyDataArrivedInternal(). r=bechen,gerald
...
MozReview-Commit-ID: DVzTX4GePtB
--HG--
extra : rebase_source : 82b1f291468aa7e20d661161c9e83ec41a3864ab
2017-11-30 10:51:56 +08:00
Sebastian Hengst
7cbd9c3050
merge mozilla-inbound to mozilla-central. r=merge a=merge
2017-12-01 01:25:54 +02:00
JW Wang
0d7066652a
Bug 1421864 - move mChannelStatistics from ChannelMediaResource to MediaCacheStream. r=bechen,gerald
...
So it is callable from non-main thread.
MozReview-Commit-ID: atYmz4u2c9
--HG--
extra : rebase_source : 2e10064730b3e7e1ecb1a4fd65cf2e2da0390290
extra : source : 5680a6942f6985f9c6bbf284a9768ab910b37804
2017-11-29 16:49:54 +08:00
JW Wang
1ee2ce9a65
Bug 1421861 - remove unused MediaStatistics::mDecoderPosition. r=bechen
...
MozReview-Commit-ID: LxZtvFpg3mD
--HG--
extra : rebase_source : 5f3c9132a386b1d290b8c0b169011baec4240b34
extra : source : b30985c8d5b99f6770d156942e5f91a0a408513a
2017-11-29 10:57:40 +08:00
Alastor Wu
e4e20429c8
Bug 1415478 - part3 : add tests. r=jwwang
...
MozReview-Commit-ID: ALFQcKRKk7c
--HG--
extra : rebase_source : f3336de39be80552b422566feb8eac527ec9a912
2017-11-30 10:50:23 +08:00
Alastor Wu
d7ce5bde2b
Bug 1415478 - part2 : allow autoplay for non-audible media content and video without audio content. r=jwwang
...
Per UX spec, we would allow non-audible media (volume 0, muted, video without audio track)
to autoplay.
MozReview-Commit-ID: HKUyt5Jt4sH
--HG--
extra : rebase_source : 83e53a0035d72984494948f131a5d6e516baa577
2017-11-30 10:50:21 +08:00
Alastor Wu
e750ccbccf
Bug 1415478 - part1 : turn on the pref on Nightly build. r=jwwang
...
MozReview-Commit-ID: AJva2ypm7BJ
--HG--
extra : rebase_source : 385bcf45aa417de1593adcc506a047caa5b14f35
2017-11-30 10:50:17 +08:00
Bogdan Tara
a14227d83a
Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
2017-11-30 01:08:24 +02:00
Bogdan Tara
dbf72d85a4
Merge autoland to mozilla-central r=merge a=merge on a CLOSED TREE
2017-11-30 00:36:53 +02:00
Ryan VanderMeulen
5395ec18d2
Backed out 3 changesets (bug 1421025, bug 1388219) for causing bug 1421706 on a CLOSED TREE.
...
Backed out changeset 1a69438ec05f (bug 1421025)
Backed out changeset 213c2c200c08 (bug 1388219)
Backed out changeset 341aaeb4ce69 (bug 1388219)
2017-11-29 17:00:27 -05:00
Dorel Luca
be78e6ea9b
Merge inbound to mozilla-central r=merge a=merge
2017-11-29 12:26:15 +02:00
Alfredo.Yang
d5ba0f15df
Bug 1419682 - use unwrap_or() instead of map() lambda. r=kinetik
...
MozReview-Commit-ID: Er1CjuPDAF5
--HG--
extra : rebase_source : d8b924087272351901b07877d126ac85b7fdbfc7
2017-11-22 17:15:37 +08:00
JW Wang
0e04b33f33
Bug 1421134. P2 - run MediaCacheStream::SetReadMode() off the main thread. r=bechen,gerald
...
MozReview-Commit-ID: A6ui5dtWhNt
--HG--
extra : rebase_source : fef676273887d5db2fd798a6bcc25fbc936c375d
extra : source : beaec56918f2dbd0e1bd052d92a31fbcca1cd084
2017-11-28 10:51:47 +08:00
JW Wang
1ae4603e61
Bug 1421134. P1 - default MediaCacheStream::mCurrentMode to MODE_METADATA. r=bechen,gerald
...
We always read metadata when decoding starts. This allows us to remove the call
to mResource->SetReadMode(MediaCacheStream::MODE_METADATA) in ChannelMediaDecoder::Load().
MozReview-Commit-ID: AQMq4HxDZdT
--HG--
extra : rebase_source : 141c43bb93f274d8320a270b5c7289bd1eab134d
extra : source : 7de3d88ddb5c99352f4b5bd0b5e648a52a4a67a5
2017-11-28 10:43:50 +08:00
JW Wang
57ea5cf9d9
Bug 1420819 - run MediaCache::Flush() off the main thread. r=bechen,gerald
...
MozReview-Commit-ID: 4QR1TvORZlz
--HG--
extra : rebase_source : 1451c437c6daf80b15b6f23552900e2ef2467324
extra : intermediate-source : 3a0bdc29f6c70ac2a1479dbc7f10ebbd52a68456
extra : source : da25c3537d9b4665dff55f615467bcb62e5dde56
2017-11-27 15:04:21 +08:00
Tiberius Oros
18ea9ecad9
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
...
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Alastor Wu
258e1d56df
Bug 1420488 - part1 : bless media if media has started playing before. r=jwwang
...
If the media has started playing before, bless it and it would always be allowed
to autoplay.
MozReview-Commit-ID: 4GqMARLXULU
--HG--
extra : rebase_source : 2fdb3937156147755f8e387b1d84311ae1d37ce4
2017-11-29 18:59:56 +08:00
Sebastian Hengst
c4e3d3a858
Backed out 2 changesets (bug 1420488) for eslint failures in toolkit/content/tests/browser/browser_autoplay_policy_play_twice.js. r=backout
...
Backed out changeset 92bd0fcb67d5 (bug 1420488)
Backed out changeset 0f211029517c (bug 1420488)
2017-11-29 17:31:28 +02:00
Alex Chronopoulos
758db182f3
Bug 1419378 - Fail before stream init when output number of channels is zero. r=padenot
...
MozReview-Commit-ID: G2bjXhAXiqz
--HG--
extra : rebase_source : 21cf22e4afd4065835a5323ed0ab44a55035f0db
2017-11-28 12:57:02 +02:00
Jean-Yves Avenard
46c877fa75
Bug 1421187 - P4. Make mac decoder output YUV420 format. r=mattwoodrow
...
There's little advantage over using NV12 and using YUV420 allows for easier and faster frame copy. We assume of course that Apple's VideoToolbox have more optimized code than we do.
MozReview-Commit-ID: IjvepxW3OZI
--HG--
extra : rebase_source : 089f5a63c4871366aed8f0c0ef3ef6bd3c2d0a0f
2017-11-28 16:41:40 +01:00
Alastor Wu
28c25979d7
Bug 1420488 - part1 : bless media if media has started playing before. r=jwwang
...
If the media has started playing before, bless it and it would always be allowed
to autoplay.
MozReview-Commit-ID: 28X4TmG25aJ
--HG--
extra : rebase_source : 3fd7cb16da9e7f925ad7020fb74c48537e08a996
2017-11-29 18:05:56 +08:00
bechen@mozilla.com
d1d01fcc67
Bug 1417820 - fix regions-id.html. r=rillian
...
Insert space character when we concatenate the string in HEADER. Then split them by ASCII whitespace.
MozReview-Commit-ID: 12jov2hKK2E
--HG--
extra : rebase_source : ed9dd2c9f0fd64083311166424b47b10e6c9cbdc
2017-11-28 18:40:25 +08:00
bechen@mozilla.com
9ac8fcc879
Bug 1417820 - Replace "=" by ":". r=rillian
...
MozReview-Commit-ID: K83rsOwdI6k
--HG--
extra : rebase_source : 445872525e8e1a7ba237e8cd7b51d14d6ed0f4f4
2017-11-28 16:49:21 +08:00
Dorel Luca
79499f4044
Merge mozilla-central to autoland r=merge on a CLOSED TREE
2017-11-29 12:31:25 +02:00
Jean-Yves Avenard
424a8ff8a0
Bug 1417973 - Always use the AMD GPU decoder. r=mattwoodrow
...
High resolution, high framerate was disabled by default on old AMD cards on the provisio that it was bad. But this assumes that the CPU decoder could do it better.
This assumption appears fragile at best, as CPU with those old adapter are likely to be old and underpower to start with.
Chrome doesn't appear to restrict use of those cards to a given resolution.
So we disable this restriction, while making it user configurable.
MozReview-Commit-ID: HhADHNR0FdJ
--HG--
extra : rebase_source : ece39cd9b84c6e372d1002ee12e72523cee3d04d
2017-11-22 20:58:09 +01:00
JW Wang
496d14a291
Bug 1415441 - Eagerly init gMediaDecoderLog to debug crash. r=cpearce
...
MozReview-Commit-ID: E7ZDdQwZ32
2017-11-08 15:34:19 +08:00
JW Wang
a2551c1319
Bug 1416799 - Fix crash when seek fails. r=cpearce
2017-11-14 16:12:58 +08:00
Geoff Brown
057598fdaa
Bug 1421830 - In test_peerConnection_scaleResolution.html, close RTCPeerConnections; r=jib
2017-11-30 10:12:52 -07:00
Fernando Jimenez
29f504c683
Bug 1421343 - MediaSourceDecoder uses SourceBuffer without including its header. r=cpearce
...
MozReview-Commit-ID: 3hnmMwzp1xH
--HG--
extra : rebase_source : 98dbebb34f84bb6922efc729411dc52e8584abb1
2017-11-29 09:00:53 +01:00
Brindusan Cristian
9f3bd430c2
Merge inbound to mozilla-central a=merge r=merge
2017-11-28 11:50:57 +02:00
Munro Mengjue Chiang
0092d98651
Bug 1421025 - fix build break with --disable-webrtc. r=tjr
...
MozReview-Commit-ID: hsArstlQRX
--HG--
extra : rebase_source : 26cbb24da2d61496122537d346a7059c81a97fea
2017-11-28 10:59:25 +08:00
James Cheng
72518fc606
Bug 1421168 - Remove deadcode VideoData::CreateAndCopyIntoTextureClient. r=gerald
...
There is only declaration but no definition.
Also, there is no caller. Remove it.
MozReview-Commit-ID: Dq1yIgqVVES
--HG--
extra : rebase_source : 5775e39f3bc964c0aa7bf9be7822f17eb3c630a3
2017-11-28 15:18:43 +08:00
Karl Tomlinson
2f98789374
bug 1382366 disable AudioCallback -> SystemClockDriver fallback before disowning graph f=pehrsons r=padenot
...
MozReview-Commit-ID: ESr6yxjPVWf
--HG--
extra : histedit_source : eb60aa28970548a65b31e79ba0c7efaaf27268cc
2017-11-04 19:00:46 +13:00
Karl Tomlinson
ef7235b44f
bug 1382366 move declaration of mWaitState to SystemClockDriver f=pehrsons r=padenot
...
MozReview-Commit-ID: IBqJRjL2Ruk
--HG--
extra : histedit_source : bf467862aa715292c446fa037958338993096441
2017-11-04 11:02:52 +13:00
Karl Tomlinson
7c98745089
bug 1408276 move to LIFECYCLE_WAITING_FOR_MAIN_THREAD_CLEANUP at end of iteration f=pehrsons r=padenot
...
MozReview-Commit-ID: GbfIOPZPuGu
--HG--
extra : rebase_source : 8a7abbe8a96a90f20dbb0465b6a5f69f05140d4f
extra : amend_source : 41079a2a825b53ed6d4e8cc31fc4c8de2f041e8b
extra : histedit_source : df5b962ac253df34ace8ebc22cdd98b608b6ddfb
2017-10-17 18:14:43 +13:00
Karl Tomlinson
9aec4911f8
bug 1408276 remove unused GraphDriver::Destroy() r=padenot
...
MozReview-Commit-ID: 1eonMAWKubq
--HG--
extra : amend_source : bc4193e7041b25407422d49e4e12c81d24c66e72
2017-10-09 22:09:00 +13:00
sotaro
aded950985
Bug 1305906 - Add YUVColorSpace handling in WMFVideoMFTManager r=mattwoodrow
2017-11-28 09:20:11 +09:00
Margareta Eliza Balazs
f0400e7e4c
Merge inbound to mozilla-central r=merge a=merge
2017-11-27 23:57:42 +02:00
Sebastian Hengst
706ac3aea0
Backed out 3 changesets (bug 1415478) for frequently asserting in own test test_autoplay_policy.html at MediaDecoderStateMachine.cpp:989. r=backout
...
Backed out changeset 6ba103fe1caf (bug 1415478)
Backed out changeset df6721a3584f (bug 1415478)
Backed out changeset 8a802839959b (bug 1415478)
--HG--
extra : rebase_source : be4296b1b36005195897de5544941b58895de661
2017-11-27 19:57:34 +02:00
bechen@mozilla.com
173e42059a
Bug 1415805 - region.scroll setter should not throw. r=smaug
...
MozReview-Commit-ID: FU9YBBeLT5B
--HG--
extra : rebase_source : f0b0ff7b8c1ac44c9f4c9d6058bb6027178d44c6
2017-11-22 16:10:11 +08:00
bechen@mozilla.com
3f824300d2
Bug 1415805 - throw exception at region.lines setter if value is negative. r=smaug
...
MozReview-Commit-ID: 2SMJGQBFpgJ
--HG--
extra : rebase_source : a8a640636be0394d410bf4ba57f094525a4c92c4
2017-11-22 15:12:03 +08:00
Munro Mengjue Chiang
aa4f8e8705
Bug 1388219 - down scale camera output frame to the target capability. r=jib
...
MozReview-Commit-ID: BpAhwYrgHtA
--HG--
extra : rebase_source : 0213c8c820765898a0509ec7845c487d7fa0c230
2017-11-17 23:48:49 +08:00
Munro Mengjue Chiang
f02f21154e
Bug 1388219 - add a nsTArray mTargetCapability to record each track target capability. r=jib
...
MozReview-Commit-ID: 476kNk16VKR
--HG--
extra : rebase_source : c0718f640acdebaad9c314441e217f43377e12de
2017-11-23 15:46:25 +08:00
Alastor Wu
8cbc022a9e
Bug 1415478 - part3 : add tests. r=jwwang
...
MozReview-Commit-ID: ALFQcKRKk7c
--HG--
extra : rebase_source : 090bbe126cfec1fa59cf3b17023e686813de3de9
2017-11-27 19:20:27 +08:00