Граф коммитов

12182 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Alex Gaynor 279b3dd5ce Bug 1409747 - fixed compilation on macOS with the sandbox disabled; r=haik
MozReview-Commit-ID: F9lNO8OPKS4

--HG--
extra : rebase_source : dbf7e1858f712182bab5c85fbd70b5b4293c5db5
2017-10-18 10:27:34 -04:00
Bob Clary 012a6c1870 Bug 1409365 - disable dom/media/test/crashtests/1180881.html on Android 5.0, r=gbrown 2017-10-18 14:46:15 -07:00
Jesse Ruderman 8a71e39fe1 Bug 497734 - Add crashtests. r=me 2017-10-18 09:43:11 -04:00
Sebastian Hengst f9b5b9b40c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 790IXj5MZ4f
2017-10-18 11:48:34 +02:00
Phil Ringnalda cf776f840e Backed out 2 changesets (bug 1407487) for Android and hazard build bustage and Linux webspeech test timeouts
CLOSED TREE

Backed out changeset 806976ac38b8 (bug 1407487)
Backed out changeset 0ff7dc9aebd9 (bug 1407487)

MozReview-Commit-ID: HLDEXTRvG7l
2017-10-17 19:49:43 -07:00
Sebastian Hengst f3f32c7851 merge mozilla-central to mozilla-inbound. r=merge a=merge
--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 98d9275bf6065bc701881aed6c4635f1da9ea642
2017-10-18 00:05:25 +02:00
Sebastian Hengst 34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Bob Clary c0eb52d90b Bug 1409203 - disable dom/media/tests/mochitest/test_peerConnection_videoCodecs.html on Android, r=gbrown 2017-10-17 07:20:40 -07:00
Randell Jesup 6ccd0752b4 Bug 1407680: Set DelayAgnostic and ExtendedFilter options r=dminor
This was lost due to API changes in the update to upstream v57
2017-10-17 16:27:20 -04:00
Boris Zbarsky fb684cc726 Bug 1409152. Add an nsTArray::ContainsSorted method. r=froydnj 2017-10-17 15:39:59 -04:00
Alastor Wu c8a9b504ed Bug 1408987 - Part 2: Make mManager thread-safe. r=jya
mManager would be accessed in both main thread and task queue, and be set on task
queue, so we need to make sure it's thread-safe.

MozReview-Commit-ID: m76KeEsDgB
2017-10-17 16:53:54 +08:00
Alastor Wu bbdf374f35 Bug 1408987 - Part 1: Add OnTaskQueue() assertion to clarify functions' running thread. r=jya
MozReview-Commit-ID: 36sqB5SlOd
2017-10-17 15:58:44 +08:00
Dan Minor 1d0e9fe0b4 Bug 1404250 - Ensure that target bitrate is between minimum and maximum bitrates in VideoConduit; r=pehrsons
MozReview-Commit-ID: Am19abfrETx

--HG--
extra : rebase_source : 7906e80ab0a07cc5ffb7940a4f362b709a4bacbc
2017-10-10 10:43:09 -04:00
Alastor Wu def6113401 Bug 1409274 - remove the lock for SourceBufferTaskQueue. r=jya
It would only be accessed on task queue now, so we don't need to lock it.

MozReview-Commit-ID: 6jd36TQW4aA

--HG--
extra : rebase_source : e8bb53a226154312496149ab8f6b00dead49a3b6
2017-10-17 15:46:26 +08:00
Sebastian Hengst 32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
JW Wang ee83cd683f Bug 1400674 - fix the algorithm of filling audio gaps with silence. r=jya
MozReview-Commit-ID: Hjsboq6PdlN

--HG--
extra : rebase_source : b92dbbe184563b71bb9cfc541a310ae60d41d68d
2017-10-13 17:24:24 +08:00
Ethan Lin f585fef0f1 Bug 1408296 - Enable some crashtests for webrender. r=kats
MozReview-Commit-ID: 543ZYLhacx8

--HG--
extra : rebase_source : 247ddffeba52e7a7fbe864c2644be66b164ceb24
2017-10-13 11:56:04 +08:00
Chris Pearce 2ba329dae6 Bug 1409178 - Move DecoderTraits::CreateDecoder() to ChannelMediaDecoder::Create(). r=jwwang
Now DecoderTraits doesn't need to depend on ChannelMediaDecoder.

MozReview-Commit-ID: D4AUiV2eGWy

--HG--
extra : rebase_source : 38e6c4cdd0f7e32473c6945550bca6fd0cc72bf2
2017-10-16 22:55:26 +02:00
Chris Pearce 48475f5f0b Bug 1409178 - Merge InstantiateDecoder and DecoderTraits::CreateDecoder. r=jwwang
CreateDecoder is the only caller of InstantiateDecoder, and all CreateDecoder
does is call InstantiateDecoder.

MozReview-Commit-ID: KwwL2el8L4x

--HG--
extra : rebase_source : bff225558fd2de535c2cb010eb35b95c6d9469e5
2017-10-16 22:42:32 +02:00
Chris Pearce eb61536947 Bug 1409178 - Remove MediaDecoder::InitStatics() since it's a no-op. r=jwwang
MozReview-Commit-ID: Leo5wNaxpjg

--HG--
extra : rebase_source : 2555c7dc26ca6867e79322bd572085a0cdfeb3b2
2017-10-16 22:39:02 +02:00
Chris Pearce 1d354be8e8 Bug 1409060 - Don't include necko-config.h in MediaDecoder.h. r=jwwang
MozReview-Commit-ID: 2RmqxUayD0L

--HG--
extra : rebase_source : ac868ce7df6a308a9005ce89c725616006c666ba
2017-10-16 17:54:18 +02:00
bechen@mozilla.com fbee889f6c Bug 1408693 - Add a lock to protect the sGPUCrashDataMap. r=jwwang
MozReview-Commit-ID: 7NDcoGMkKZ3

--HG--
extra : rebase_source : 206af0de83a1fb4fb5258202a25de8484a9e2bef
2017-10-16 14:03:04 +08:00
Kris Maglione 60d080b412 Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
MozReview-Commit-ID: 8Oei6TuXNbu

--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Andreas Pehrson 784074488d Bug 1407842 - Wrap fullscreen api calls with SpecialPowers. r=jib
MozReview-Commit-ID: 9bCO80q2sJB

--HG--
extra : rebase_source : d2bc481190e78c4876f4058f531b582df705e809
2017-10-12 11:38:27 +02:00
Dan Glastonbury 3490136c59 Bug 1407487 - P1: Remove --enable-cubeb-remoting. r=kinetik,rillian
Replace with conditional compilation enabled for Linux targets.

MozReview-Commit-ID: GjD0Ix8aeJW

--HG--
extra : rebase_source : 18dd93eda0a9ebc1846a876caa4f5d27d8b75909
2017-10-12 10:32:29 +10:00
Sebastian Hengst fea24c0daf merge mozilla-central to autoland. r=merge a=merge
--HG--
extra : rebase_source : 819bdfcc5e3f50cb5a3d8d76ce1f88ceeb0dd5a9
2017-10-17 23:54:52 +02:00
Ralph Giles 1809099a2f Bug 1409105 - Downsample av1 images unconditionally. r=kinetik
Adding partial support for 10/12-bit video images seems to have
broken the native pixel-stride support we were using to pass
8-bit AV1 frame data formatted in 16-bit pixel values, resulting
in vertical green lines.

Revert to the earlier behaviour of always downsampling to 8 bit data.
This is slower for the demo stream, but at least displays correctly.

MozReview-Commit-ID: 8kSd9kph9DE

--HG--
extra : rebase_source : 040795b4d99a2001397c0021f34d39535aa4aa2d
2017-10-17 12:24:50 -07:00
Sebastian Hengst ffcd2ce160 merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ef359be373a97cad5a91f0150a46add4c3d8ab7c
2017-10-18 15:54:23 +02:00
Jean-Yves Avenard 38b456068a Bug 1409272 - P2. Pre-roll vorbis by 80ms when seeking. r=gerald
The value by which we pre-roll is inconsequential, so long as we seek to the previous packet than the one we want. So 80ms will do.

MozReview-Commit-ID: 8iPOtjReZnb

--HG--
extra : rebase_source : 42908c6afc84cf783356fb7311ffe99b4ec76d96
2017-10-17 16:07:26 +02:00
Jean-Yves Avenard 85eb08473d Bug 1409272 - P1: Remove unnecessary and/or unused variables. r=jwwang
MozReview-Commit-ID: J9qiqEfU05N

--HG--
extra : rebase_source : 1cd492bc252b19598115c03165e034faced12ffd
2017-10-12 19:07:09 +02:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Randell Jesup 336209d98d Bug 1408716: Remove unneeded dynamic_cast r=drno 2017-10-15 07:47:14 -04:00
Chung-Sheng Fu 6eb3e9c2c9 Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel
MozReview-Commit-ID: AJ5F6M5S83U

--HG--
extra : rebase_source : 894b16575ebbccc26c5b639d7526cb473501d9d2
2017-08-22 14:23:41 +08:00
Kilik Kuo 58868278cc Bug 1393272 - Use original width and height if either the scaled width or height is 0. r=jya
MozReview-Commit-ID: 3y4c5zJZD0a

--HG--
extra : rebase_source : ec0d168f544be8dea1cbf63d9b2c253ea139286c
2017-10-12 16:40:50 +08:00
Jean-Yves Avenard e891f573a5 Bug 1407940 - P2. Only ever access mTaskQueue in a thread-safe fashion. r=alwu,gerald
mTaskQueue is only read on the main thread, but read and written on the demuxer's taskqueue. We need to ensure that accesses are synchronised.

MozReview-Commit-ID: Gbc15iYgZOe

--HG--
extra : rebase_source : 006ff3f73c9895fa2f29e56123e690cdf66fe2c5
2017-10-12 13:30:47 +02:00
Jean-Yves Avenard 51e48cb035 Bug 1407940 - P1. Use Mutex in place of Monitor. r=gerald
MozReview-Commit-ID: Dy2WhS0YOq1

--HG--
extra : rebase_source : 9ce10f7c7c811d0f73ef39a6439cac92686f9793
2017-10-12 11:15:20 +02:00
Ryan VanderMeulen cc54a93021 Bug 1257700 - Add crashtest. r=me 2017-10-12 22:41:13 -04:00
Gerald Squelart ae565b2faa Bug 1407917 - Simplify DDLogger string-logging functions - r=jwwang
Removed non-eager DDLogValue() functions, too confusing for not much value;
users should use macros first anyway.

Changed `EagerLogValue(..., const char (&aLiteral)[N])` to take `const char*`,
it's cleaner and simpler.


MozReview-Commit-ID: J7xcoPkp6Nf

--HG--
extra : rebase_source : 41040c98b89c3035c823a4a9775e727038c07590
2017-10-12 17:51:41 +11:00
Alastor Wu b8237a2029 Bug 1247189 - part5 : use IsCurrentThreadIn() as a main criteria to determine whether we're on the task queue or not. r=jya
The use of the TrackBuffersManager once detached is explictly forbidden, as such
OnTaskQueue() can only be used before the DetachTask ran: we now strongly assert
as such.

MozReview-Commit-ID: ycOI4QRElb

--HG--
extra : rebase_source : ecce8ac75587470c15268ab729b068f049702a8a
2017-10-12 10:49:25 +08:00
Alastor Wu b4c4772190 Bug 1247189 - part4 : ensure we always detach TBM from demuxers. r=jya
Ensure the TBM would always be detached from demuxers, before calling
TBM::detach().

MozReview-Commit-ID: DLWZHB3M3GG

--HG--
extra : rebase_source : 9e455022ba9360fb549222e9ad1238a3ae9d88ad
2017-10-12 10:49:21 +08:00
Alastor Wu 023e34cbe4 Bug 1247189 - part3 : don't process any task after detached. r=jya
From [1], the task was executed after finished detach task. It would be caused
by queuing two detach tasks in the task queue.

If the previous detach task is still waiting in the task queue when we're calling
the second detach(), then we might have two detach tasks in the queue.

[1] https://treeherder.mozilla.org/logviewer.html#?job_id=134315866&repo=try&lineNumber=2540

MozReview-Commit-ID: HohgKqeZy0s

--HG--
extra : rebase_source : 0d20f1b8648acaf2ed8e75b2631e905629c2abaf
2017-10-12 10:49:10 +08:00
Alastor Wu 5a164c7e06 Bug 1247189 - part2 : remove reference to TrackBuffersManagers once detached. r=jya
Should never access the TrackBuffersManager once the SourceBuffer has been detached.

MozReview-Commit-ID: EgVINj9B1vZ

--HG--
extra : rebase_source : 4b4dc3e5c4b507fe4cc40e80f507b575a8b87eb3
2017-10-11 10:55:21 +08:00
Alastor Wu d9f5f478d9 Bug 1247189 - part1 : should detach TBM after detaching it from demuxers. r=jya
After detaching TBM, we should not access it anymore. So we should finish all
other related detaching process, before detaching TBM.

MozReview-Commit-ID: 8bNzqXVHVyy

--HG--
extra : rebase_source : e135eb3d0fd4e5c41bbac4ebfc8d6fcbd1b32d5b
2017-10-11 10:49:05 +08:00
Gerald Squelart 6e866f3624 Bug 1407909 - Rename DDLogClass to DDLogCategory - r=jwwang
MozReview-Commit-ID: GOTQnNM3MrV

--HG--
rename : dom/media/doctor/DDLogClass.cpp => dom/media/doctor/DDLogCategory.cpp
rename : dom/media/doctor/DDLogClass.h => dom/media/doctor/DDLogCategory.h
extra : rebase_source : 6275018142832a46c3ad145dd5f0edbc00501cc2
2017-10-12 16:15:35 +11:00
Ryan VanderMeulen 0dcd727f08 Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Tom Ritter 701ee70a22 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : fe434db73a8da686391462c12b91648348abcdc9
2017-10-09 15:01:48 -05:00
Sebastian Hengst 0ed8d9a86e Backed out changeset 26e324eb052d (bug 1247189) for crashing in /media-source/mediasource-errors.html. r=backout
--HG--
extra : amend_source : 39152d1a0836f9f1e22cc4cc6a0a759f4258e81b
2017-10-11 12:45:50 +02:00
Sebastian Hengst 953fafcc3c Backed out changeset 5b9af87e76a9 (bug 1247189) 2017-10-11 12:45:45 +02:00
Sebastian Hengst 6479b83569 Backed out changeset 36a63b9f8dcb (bug 1247189) 2017-10-11 12:45:40 +02:00