Commit Graph

3676 Commits

Author SHA1 Message Date
Paul Adenot
e45365d260 Bug 1156472 - Part 10 - Test AudioCaptureStream. r=pehrsons 2015-07-24 14:28:17 +02:00
Paul Adenot
5ed058488a Bug 1156472 - Part 8 - Use fatal asserts in AudioChannelUpmix, because it would have crashed anyways. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot
27a91916bf Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot
c1a9ba0ab9 Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot
e1e882cb56 Bug 1156472 - Part 5 - Add MediaEngineWebRTCAudioCaptureSource as a new audio source, and "audioCapture" as a new MediaSource. r=jesup,bz 2015-07-24 14:28:16 +02:00
Paul Adenot
4bc48d0134 Bug 1156472 - Part 4 - Add a new MediaStreamGraph API to connect a MediaStream to a capture stream. r=jesup,roc 2015-07-24 14:28:16 +02:00
Paul Adenot
4eb22368c8 Bug 1156472 - Part 3 - Implement AudioCaptureStream. r=roc
It is a ProcessMediaStream that simply mixes its inputs into a mono stream,
up/down mixing appropriately.
2015-07-24 14:28:16 +02:00
Paul Adenot
f6609f50c3 Bug 1156472 - Part 2 - Rename MediaEngineWebRTCAudioSource to MediaEngineWebRTCMicrophoneSource. r=jesup
There are now two different possible audio source, so this was getting confusing.
2015-07-24 14:28:16 +02:00
Alastor Wu
2b0990fe9b Bug 1129882 - only send mozinterrupt when interrupt happens. r=baku. 2015-07-24 17:36:34 +08:00
Paul Adenot
bae1e652bf Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Gerald Squelart
dc0830276f Bug 1187193 - Use UserData() instead of Data() in ConstIter loops that used to be EnumerateRead's. r=njn
--HG--
extra : rebase_source : db4109bfb53210a8b228c7e91427a636e2b5ea32
2015-07-24 02:25:00 +02:00
Paul Adenot
0788bfab9c Bug 1185192 - Make promise resolving sequentially consistent when switching graph driver and closing a graph during the same iteration. r=roc 2015-07-24 15:09:21 +02:00
Paul Adenot
6175cb8a69 Bug 1185176 - Account for the fact that it is possible for nodes to not have streams. r=karlt
We can now destroy a stream earlier than the node for performance reasons.
2015-07-24 15:09:19 +02:00
Paul Adenot
b4774f9ee5 Bug 1185176 - Crashtest. r=karlt 2015-07-24 15:09:18 +02:00
Jean-Yves Avenard
d614b68bdf Bug 1183888: Report empty buffered ranges unless we have a start time. r=bholley 2015-07-24 23:02:20 +10:00
Jan-Ivar Bruaroey
3544a8c613 Bug 1186142 - Make selector arg optional on PeerConnection.getStats(). r=bz
--HG--
extra : transplant_source : %D9Y%3EecN%F2AJ%01%0A%D6%188.p%11%9C%29%C9
2015-07-21 16:36:10 -04:00
Kilik Kuo
bf15291935 Bug 1186375 - Add GMP EME render flags and APIs for query. r=cpearce 2015-07-22 19:07:14 +08:00
Benjamin Chen
176076ffd3 Bug 1064535 - fix testcase: 1. Relax the number of ondataavailble checking. 2. Don't check the mimetype of empty blob. r=jwwang 2015-07-22 18:51:47 +08:00
JW Wang
6417ed4d21 Bug 1186801 - Remove decoder monitor from AudioSink. r=kinetik. 2015-07-24 14:24:42 +08:00
Alastor Wu
9401ab6f5a Bug 1129882 - add mozInterrupt in telephony object. r=baku 2015-03-26 15:32:43 +08:00
Jessica Jong
27fcd2e6a8 Bug 1185802 - Part 3: support fota apn type (tests). r=hsinyi
--HG--
extra : commitid : 5cipjsXtfQG
2015-07-24 10:41:29 +08:00
Alastor Wu
a5596f5a1e Bug 1142933 - New audio channel type for system usages. r=baku
--HG--
extra : histedit_source : e60291f5b488d9e004698a6336456c80200751ab
2015-03-16 12:01:50 +08:00
Benjamin Chen
3dc8ab47ea Bug 1183394 - Remove the assertion message when shutdown. r=jwwang 2015-07-21 18:01:00 +08:00
Jan-Ivar Bruaroey
c76b35c716 Bug 1186209 - Check for VTYPE_EMPTY_ARRAY in enumerateDevices + test. r=jesup
--HG--
extra : transplant_source : %A7%B5%7D%3FM%A1%0A%5C7%853%A1%F4%DB%220cU7%C7
2015-07-22 13:04:12 -04:00
Jan-Ivar Bruaroey
39499d18e0 Bug 1186708 - Fix debug-only assert (crash) on advanced browserWindow constraint. r=jesup
--HG--
extra : transplant_source : %CD%E7%89%1CA%86%FC%10q%F3%89%F1%16%7DE%AF5f%7B%C8
2015-07-23 00:44:52 -04:00
Jan-Ivar Bruaroey
99483c3f4a Bug 1186198 - s/unexpected/unanticipated/. r=drno
--HG--
extra : transplant_source : d%C7%0CML%27l%A9q%29%A0%13%8Bf%05H%8C%9A%B7%03
2015-07-21 17:13:20 -04:00
JW Wang
558f24621a Bug 1186358. Part 2 - remove unnecessary/insufficient includes. r=kinetik. 2015-07-23 19:58:30 +08:00
JW Wang
5e7af1298a Bug 1186358. Part 1 - Remove dependency on MediaDecoderStateMachine from AudioSink. r=kinetik. 2015-07-23 19:57:58 +08:00
Makoto Kato
3d5598225f Bug 1003457 - Implement Windows SAPI backend. Original patch is by yash.girhar@gmail.com. r=jmathies 2015-07-23 17:16:25 -07:00
JW Wang
471bfe30cd Bug 1184874. Part 3 - call mDecoder->UpdatePlaybackOffset in On{Audio,Video}Popped and remove MediaDecoderStateMachine::DispatchOnPlaybackOffsetUpdate. r=cpearce. 2015-07-23 14:14:16 +08:00
JW Wang
71a3144556 Bug 1184874. Part 2 - add the ability to know which item is popped from the MediaQueue. r=cpearce. 2015-07-23 14:12:28 +08:00
JW Wang
292f369434 Bug 1184874. Part 1 - fix indentation. r=cpearce. 2015-07-23 14:12:00 +08:00
Ralph Giles
f104891fe4 Bug 1186257 - Avoid 'using' namespace imports in headers. r=jya
This is poor style as it can have side-effects in the caller's
code. Instead, use full namespace prefixes.
2015-07-22 16:59:27 -07:00
Ralph Giles
31d84bc29e Bug 1186257 - Add missing mediasource includes. r=jya
Add missing includes, forward declarations, and fix up
namespace references so dom/media/mediasource compiles
in a non-unified build.

The header side at least is important for writing unit tests.
2015-07-22 16:59:25 -07:00
Ralph Giles
1f15cff72d Bug 1186257 - Use default dtor in ContainerParser. r=jya
This fixes a non-unified build error. Defining and empty
dtor allows callers to inline (if they can prove it's not
a pointer to a derived class?) the dtor, but means the compiler
needs access to the details on the member variable wrapped
in smart pointers so it can call there dtors in turn.

I think marking it default instead of empty in the header
moves generation to the class implementation, which does
include SourceBufferResource.h.
2015-07-22 16:59:23 -07:00
Ralph Giles
c9712d45cf Bug 1186257 - Fix formatting. r=jya 2015-07-22 16:58:39 -07:00
Benjamin Bouvier
676d79811c Bug 1186343: Throw an InvalidStateError when we set the curve attribute of a WaveShaperNode with a Float32Array of length less than 2; r=padenot,smaug
--HG--
rename : dom/media/webaudio/test/test_waveShaperZeroLengthCurve.html => dom/media/webaudio/test/test_waveShaperInvalidLengthCurve.html
extra : commitid : 6mncD6YlIar
extra : rebase_source : 2522698bcb1e1dcdb4047d8c5ab61f6caba8875e
extra : amend_source : 21cdb3f06b100a5b3a078dbc38ffeecedc675bae
2015-07-22 13:32:12 +02:00
JW Wang
e025bd63c4 Bug 1185892. Part 3 - replace all calls to MediaDecoder::IsExpectingMoreData() with MediaResource::IsExpectingMoreData. r=jya. 2015-07-22 20:58:00 +08:00
JW Wang
cc8b7e3ce1 Bug 1185892. Part 2 - delegate the job of MediaDecoder::IsExpectingMoreData to its MediaResource. r=jya. 2015-07-22 20:57:41 +08:00
JW Wang
996ebfa0c1 Bug 1185892. Part 1 - delegate the job of MediaSourceDecoder::IsExpectingMoreData to its MediaResource. r=jya. 2015-07-22 20:57:09 +08:00
JW Wang
6e296d2756 Bug 1186299 - Consolidate AudioSink::PrepareToShutdown and AudioSink::Shutdown into one function. r=kinetik. 2015-07-22 18:52:13 +08:00
Bob Owen
f78a41b060 Bug 1185171: Add 0xc02625e5 as a valid failure code for GMPOutputProtection test. r=cpearce 2015-07-22 09:29:52 +01:00
Jean-Yves Avenard
8204ebce53 Bug 1184826: P1. Mark MPEG-2 AAC as supported. r=cpearce 2015-07-22 14:22:53 +10:00
Jean-Yves Avenard
97f322485c Bug 1165772: P2. Properly reports if mimetype is supported in mediasource. r=kentuckyfriedtakahe 2015-07-22 14:22:51 +10:00
Jean-Yves Avenard
cfc9c86adc Bug 1165772: P1. Refactor DecoderTraits::CanHandleMediaType. r=kentuckyfriedtakahe 2015-07-22 14:22:51 +10:00
Jean-Yves Avenard
831b3f9fbd Bug 1185814: Disable EME tests on 10.6. r=cpearce 2015-07-22 14:22:50 +10:00
Jean-Yves Avenard
88a0955b91 Bug 1182945: P1. Disable webm mediasource mochitests. r=kentuckyfriedtakahe 2015-07-22 14:22:46 +10:00
Jean-Yves Avenard
f77f5f6283 Bug 1185431: Immediately resolve WaitingForDataPromise if we're not waiting for data. r=cpearce 2015-07-22 14:22:46 +10:00
JW Wang
252412fa5d Bug 1185416 - Don't stop AudioSink prematurely when decoding is completed. r=kinetik. 2015-07-19 21:25:02 +08:00
JW Wang
3bf1d08319 Bug 1185407. Part 3 - don't shutdown AudioStream prematurely. r=kinetik. 2015-07-22 09:54:15 +08:00
JW Wang
b26158dcc9 Bug 1185407. Part 2 - remove unused code. r=kinetik. 2015-07-22 09:54:13 +08:00
JW Wang
584f4131cd Bug 1185407. Part 1 - have AudioSink::Init() return a promise. r=kinetik. 2015-07-22 09:54:06 +08:00
Birunthan Mohanathas
4bd37db746 Bug 1182979 - Part 4: Use nsTHashtable::Iterator in MediaShutdownManager. r=cpearce 2015-07-16 10:59:54 -07:00
Birunthan Mohanathas
cb1bfa536f Bug 1182979 - Part 3: Use nsTHashtable::Iterator in GMPTimerParent. r=cpearce 2015-07-16 10:59:41 -07:00
Alfredo Yang
c70bac0966 Bug 1163486 - Update test to use new MP4Demuxer. r=bholley 2015-07-21 02:49:00 +02:00
Alfredo Yang
8393a2233e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-21 02:48:00 +02:00
Carsten "Tomcat" Book
de3872af29 Backed out changeset 1704ea727e81 (bug 1163486) for at least b2g bustage 2015-07-21 08:42:54 +02:00
Carsten "Tomcat" Book
79fe86d82b Backed out changeset 79619b679f82 (bug 1163486) 2015-07-21 08:40:29 +02:00
Benjamin Chen
fcfc87fc71 Bug 1178682 - Reject the decoded sample if timestamp is revert. r=sotaro 2015-07-17 16:18:42 +08:00
Alfredo Yang
95250b2dbf Bug 1163486 - Update test to use new MP4Demuxer. r=bholley 2015-07-20 19:26:00 +02:00
Alfredo Yang
23c919b20e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-20 19:25:00 +02:00
Chris Pearce
da6b6236ed Bug 1185782 - Remove media.windows-media-foundation.enabled pref. r=jya 2015-07-21 13:29:08 +12:00
Jean-Yves Avenard
079afae27a Bug 1177452: Ensure start time is always calculated on first frame decoding. r=jwwang 2015-07-21 10:14:48 +10:00
Jan Gerber
8f71a8484f Bug 1034081 - Never seek before startTime. r=rillian
Only adjust seek target up to startTime

--HG--
extra : rebase_source : 1154392a32c97b227f6293be06cbe1a31ab960e0
2015-07-14 05:59:00 -07:00
Jan-Ivar Bruaroey
f6371d60cc Bug 1098015 - Modify a test to make sure createAnswer({}) works. r=bwc
--HG--
extra : transplant_source : %F4%CE%C5%DD%FA%88%17%D4N%99%B47%1A%B1%C8%A8%8FN%2C%AB
2015-07-16 18:35:45 -04:00
Jan-Ivar Bruaroey
86a8199db1 Bug 1098015 - Make createAnswer tolerate (no-op) options argument. r=bwc, r=bz
--HG--
extra : transplant_source : %AB%BECK%FAT%2A%80%07-%19%28g%DD%16%8E%C1lsU
2015-07-16 15:36:34 -04:00
Jean-Yves Avenard
5d0c759bca Bug 1181204 - Prevent use of the decoder outside the reader's taskqueue. r=cpearce
This fix a potential race when the decoder could be shutting down on the reader's taskqueue while the MediaDecoderStateMachine thread attempts to read it.

--HG--
extra : amend_source : d8a7ac55539c22f69d965299010a20b34c8a4c58
extra : transplant_source : %F6%D2z%A2%40%D1%CE%8BX%FB%9E%CA%2B%ABa%7D%F9%7Fl%BF
2015-07-20 15:14:37 -04:00
Ryan VanderMeulen
6ac7016595 Merge m-c to inbound. a=merge 2015-07-20 13:42:34 -04:00
Alastor Wu
18c83d0873 Bug 1184055 - Muted by default in b2g. r=baku 2015-07-17 17:25:25 +08:00
Jan-Ivar Bruaroey
da1c4fffe2 Bug 1182354 - Clear non-persistent deviceIds on last-pb-context-exited. r=jesup 2015-07-12 23:55:02 -04:00
Kyle Huey
ee4f5ba9fb Bug 1185470: Remove 'Get' prefixes from hashtable iterator methods. r=froydnj 2015-07-20 20:21:28 +08:00
Gerald Squelart
459295e9c7 Bug 1185392 - Use a separate mutex to protect mAsyncShutdownPluginStatesMutex, as mMutex could already be held when trying to update the states. r=cpearce 2015-07-19 17:42:00 +02:00
Jan Gerber
7bed9a2be5 Bug 1148102: P7. Hookup WebMDemuxer. r=jya 2015-07-20 17:27:08 +10:00
Jan Gerber
6946238e5e Bug 1148102: P6. Add WebMDemuxer object. r=jya 2015-07-20 17:27:08 +10:00
Jan Gerber
02ddfcec8c Bug 1148102: P5. Add Opus/VPX/Vorbis MediaDataDecoder. r=jya 2015-07-20 17:27:07 +10:00
Jan Gerber
539c579cdd Bug 1148102: P4. Split WebMPacketQueue, use nsRefPtr instead. r=jya 2015-07-20 17:27:07 +10:00
Jan Gerber
ade97e5996 Bug 1148102: P3. Add TimeUnitToFrames method. r=jya 2015-07-20 17:27:06 +10:00
Jan Gerber
186d37e9f7 Bug 1148102: P2. Split NesteggPacketHolder from WebMReader. r=jya 2015-07-20 17:27:06 +10:00
Jean-Yves Avenard
8dc9090482 Bug 1148102: P1. Mark WebMBufferedParser refcounting as thread-safe. r=kinetik
This is required should we use WebMBufferedParser in a MediaTaskQueue as we don't know which actual thread will actually be used.
2015-07-20 17:27:05 +10:00
JW Wang
9abbdbd8e5 Bug 1183518. Part 3 - early bailout from MediaDecoder::NotifyBytesConsumed when shutting down. r=jya. 2015-07-20 15:20:56 +08:00
JW Wang
2a7a82a4ed Bug 1183518. Part 2 - Move update of mIgnoreProgressData to main thread. r=cpearce. 2015-07-20 14:34:18 +08:00
JW Wang
0440c725fd Bug 1183518. Part 1 - move calls to mResource->SetReadMode out of Mediadecoder::{Start,Stop}ProgressUpdates since they are not related to progress update. r=roc. 2015-07-20 14:29:10 +08:00
JW Wang
6ec5a55643 Bug 1184460 - Remove sync dispatch since SharedThreadPool::Get() can be called off the main thread. r=cpearce. 2015-07-20 14:07:25 +08:00
Steven Michaud
0a1b43054d Bug 1184221 - Fix null dereferences at mozilla::TrackBuffer::UpdateBufferedRanges(). r=jyavenard 2015-07-17 18:10:07 -05:00
Ralph Giles
b792a1d804 Bug 1177363 - Fix typo. r=bustage CLOSED TREE
--HG--
extra : amend_source : dd47bbcdc831eff7aaec3bc3c245ee1398c37c9d
2015-07-17 15:13:04 -07:00
Ralph Giles
ca434de20d Bug 1177363 - Don't check parsers for canPlayType. r=edwin
In bug 1080995 we added parsers here so we could reject
candidates which depended on blocked elements. Unfortunately
this also passes parsers which we weren't previously considering
enabling, allowing the free mpegaudioparser to influence the
canPlayType results for non-free mp3 decoders.

On my system fluh264dec still works when connected straight
to qtdemux without h264parse, so false negatives from systems
with the decoder but not the parser may be better than false
positives for mp3.
2015-07-06 16:01:00 -07:00
Mason Chang
19aa672b13 Bug 1172841. Set number of WMF decoder threads based on CPU count. r=cpearce 2015-07-17 13:52:38 -07:00
Gerald Squelart
35f6d9fd0f Bug 1184432 - Use nsClassHashtable::ConstIter in GeckoMediaPluginServiceParent::AsyncShutdownPluginStates. r=cpearce 2015-07-16 17:00:00 -04:00
Andreas Pehrson
b30cbfe6ca Bug 1176363 - Part 1: Make a raw copy of each Canvas::CaptureStream frame. r=mattwoodrow
--HG--
extra : transplant_source : %D4a%8D%7D%B6%23%B55%7E%CB%9Ca%D5%8E%BC%10%2A%D0%F6%BD
2015-07-16 18:31:24 +08:00
Jean-Yves Avenard
ba9653671f Bug 1184429: P2. MediaResource::SilentReadAt to read from cache first. r=jwwang
In practice, it will always read from the cache. This allows SilentReadAt to really be silent and prevent unecessary NotifyDataArrived callbacks.
2015-07-17 19:38:09 +10:00
Jean-Yves Avenard
ac32d3c055 Bug 1184429: P1. Don't dispatch NotifyDataArrived if previously dispatched with same range. r=jwwang 2015-07-17 19:38:09 +10:00
Bobby Holley
04eaf4c167 Bug 1184634 - Move various includes into the mozilla namespace. r=gerald
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00
Bobby Holley
997543e6ba Bug 1184634 - Rename MediaTaskQueue to TaskQueue. r=gerald 2015-07-16 22:23:06 -07:00
Bobby Holley
78001ffc43 Bug 1184634 - Rename "TaskQueue()" accessor to "OwnerThread()". r=gerald
Otherwise this name will collide with the rename of MediaTaskQueue to TaskQueue.
It's also a better naming convention, because it generalizes to things that are
owned by an AbstractThread that is not a Task Queue.

We rename to Queue() in TestMozPromise, because that's more accurate.
2015-07-16 22:22:07 -07:00
Bobby Holley
407d2c5f90 Bug 1184634 - Rename MediaPromise to MozPromise. r=gerald 2015-07-16 22:21:56 -07:00
Kyle Huey
df53dee024 Bug 1182316: Part 1 - Remove FORWARD_TO_INNER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00
JW Wang
ca9b1829a7 Bug 1184010 - Put Mirrors/Canonicals together. r=jya. 2015-07-17 13:00:26 +08:00
Jean-Yves Avenard
79cb7273cb Bug 1182444: Show audio as enabled when an audio track is present in stream. r=jesup 2015-07-17 14:50:51 +10:00
JW Wang
3b86e653ba Bug 1184412. Part 2 - remove code that is not used anymore. r=roc. 2015-07-17 10:18:15 +08:00
JW Wang
aeeb938a34 Bug 1184412. Part 1 - remove dependency on MDSM::OnAudioEndTimeUpdate from DecodedStream. r=roc. 2015-07-17 10:18:04 +08:00
Eric Rahm
477fcc3cb4 Bug 1183883 - Switch graph thread slowdown warning to log message. r=padenot
The graph thread slowdown warning is switched over to a STREAM_LOG message
in an #ifdef DEBUG block to preserve the debug only semantics of
NS_WARN_IF_FALSE. The message will still be emitted if the STREAM_LOG is
enabled.
2015-07-16 09:17:31 -07:00
Chris Pearce
c629cf3789 Bug 1184333 - Handle UTF8 paths as input for GMP loading. r=bobowen 2015-07-17 11:09:49 +12:00
Chris Pearce
730e6e237a Bug 1184333 - Handle GMP crashing inside GMPVideoDecoder trial create. r=edwin 2015-07-17 11:09:39 +12:00
Ryan VanderMeulen
7c11ff37e3 Merge m-c to inbound. a=merge 2015-07-16 16:20:16 -04:00
Ryan VanderMeulen
acf6cee4ea Merge b2g-inbound to m-c. a=merge 2015-07-16 15:15:42 -04:00
Martin Thomson
08328b1608 Bug 1180968 - Disable test_peerConnection_certificates.html on a CLOSED TREE a=ryanvm
--HG--
extra : commitid : 7tOUUqS9jyk
2015-07-16 09:22:59 -07:00
Jean-Yves Avenard
2017f9a033 Bug 1183519: P2. Reject promise if decoder couldn't be created. r=me
Follow-up fix.
2015-07-16 16:05:27 +10:00
JW Wang
74380052df Bug 1183007. Part 2.5 - don't call AudioEndTime() after mAudioSink becomes null. r=kinetik. 2015-07-16 10:14:42 +08:00
JW Wang
b9ea1d076e Bug 1183007. Part 2 - remove dependency on MDSM::OnAudioEndTimeUpdate from AudioSink. r=kinetik. 2015-07-16 10:13:27 +08:00
JW Wang
0f6631a522 Bug 1183007. Part 1 - provide a wrapper function so that all read from mAudioEndTime must be through MDSM::AudioEndTime(). r=kinetik. 2015-07-16 10:12:52 +08:00
JW Wang
68b22ded5b Bug 1183955 - longer timeouts for timeout-prone tests on B2G. r=cpearce. 2015-07-16 10:09:51 +08:00
Chris Pearce
a4c7288fab Bug 1173195 - Don't assert success until successful in GMPSharedMemManager. r=edwin 2015-07-16 16:53:39 +12:00
Jean-Yves Avenard
8c024dd743 Bug 1183653: MediaFormatReader: returns error if no tracks are usable. r=cpearce 2015-07-16 14:31:56 +10:00
Jean-Yves Avenard
5c4906180c Bug 1184002: Add about:media plugin support with new MSE. r=cpearce 2015-07-16 14:31:56 +10:00
Jean-Yves Avenard
15fbc88e95 Bug 1183482: Fix shutdown hang. r=cpearce
The MediaFormatReader destructor is only called once all media task queues have shutdown.
However, the main thread demuxer always owned a reference to trackbuffer task queue.
2015-07-16 14:31:55 +10:00
Jean-Yves Avenard
71f0c200c2 Bug 1183519: Wait until current drain completes before decoding new data. r=cpearce 2015-07-16 14:31:54 +10:00
Jean-Yves Avenard
d709da531a Bug 1182985: Drain decoder when changing resolution. r=cpearce 2015-07-16 14:31:53 +10:00
Jean-Yves Avenard
8ca249040e Bug 1173657: Drain decoder when discontinuity encountered. r=cpearce
A discontinuity can be when waiting for data, decoding error or reaching end of stream.
2015-07-16 14:31:53 +10:00
Jean-Yves Avenard
3db4cce1f9 Bug 1169473: Re-add H264 telemetry. r=miketaylr 2015-07-16 14:31:52 +10:00
Jean-Yves Avenard
3b7482b6f2 Bug 1182967: Reject metadata promise on shutdown. r=bholley 2015-07-16 14:31:52 +10:00
Jean-Yves Avenard
7aa2dd9036 Bug 1184043: P1. Ignore empty interval in intervalset. r=mattwoodrow
Add IntersectsStrict method.
2015-07-16 14:31:51 +10:00
Blake Wu
7a3250dba3 Bug 1180621 - Add vp9 test to webm test case on B2G. r=sotaro, a=me
--HG--
extra : rebase_source : dde2f728160f065cb95a06ea9abad460754c5f98
extra : amend_source : 0fa3a71b7197075d1e556d5b9fef4e9fbe8e624f
2015-07-15 22:06:53 +08:00
Birunthan Mohanathas
29477b15a9 Bug 1182808 - Part 3: Rename AlignedTArray_Impl to AlignedTArray and remove existing AlignedTArray. r=padenot 2015-07-15 12:58:22 -07:00
Birunthan Mohanathas
561b992900 Bug 1182808 - Part 2: Remove AlignedFallibleTArray. r=padenot 2015-07-15 12:58:18 -07:00
Birunthan Mohanathas
74431fc9ba Bug 1182808 - Part 1: Add and use fallible variant of AlignedTArray_Impl::SetLength. r=padenot 2015-07-15 12:58:15 -07:00
Paul Adenot
bae21b7ea5 Bug 1181097 - Properly handle the case of resuming an AudioContext with an MSG that is already switching to an AudioCallbackDriver. r=roc 2015-07-13 19:16:53 +02:00
Rithesh Shenthar
a2ba832ca8 Bug 1176987 - Move steeplechase_long testcases to a new folder under mochitests. r=drno
--HG--
rename : dom/media/tests/mochitest/long.js => dom/media/tests/mochitest/steeplechase_long/long.js
rename : dom/media/tests/mochitest/steeplechase_long.ini => dom/media/tests/mochitest/steeplechase_long/steeplechase_long.ini
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined_long.html => dom/media/tests/mochitest/steeplechase_long/test_peerConnection_basicAudioVideoCombined_long.html
rename : dom/media/tests/mochitest/test_peerConnection_basicAudio_long.html => dom/media/tests/mochitest/steeplechase_long/test_peerConnection_basicAudio_long.html
rename : dom/media/tests/mochitest/test_peerConnection_basicVideo_long.html => dom/media/tests/mochitest/steeplechase_long/test_peerConnection_basicVideo_long.html
extra : transplant_source : s%C8%5DLl%D7%D03%98%E7W%CD%03%F0%5D%3E%E0%9C%DAe
extra : histedit_source : a6847d14dd4b006a5adf6a8f8abad8fbc6c7be1c%2Ca8ea8e35bda8476ec02d855fb93053b3bb1ccbb7
2015-07-14 14:39:10 -07:00
Jeff Muizelaar
7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Ryan VanderMeulen
882e7b00f8 Bug 1180000 - Disable more peerConnection Video tests on Linux debug e10s.
CLOSED TREE
2015-07-15 10:01:06 -04:00
Blake Wu
23138ad2dd Bug 1180621 - [FxOS] Enable VP9 codec for the Android version after KK. r=sotaro
--HG--
extra : rebase_source : e5a552dd8c75fe67545a33250a8977d5f1bd6b22
2015-07-06 18:02:50 +08:00
Jean-Yves Avenard
938414133a Bug 1178596: Reset frame size queue after flushing. r=cpearce 2015-07-15 16:21:59 +10:00
Jean-Yves Avenard
d8f4976929 Bug 1183573: P2. Make SourceBufferResource destructor virtual. r=gerald 2015-07-15 16:21:59 +10:00
Jean-Yves Avenard
fc29e89d03 Bug 1183573: P1. Properly shutdown demuxers. r=gerald 2015-07-15 16:21:58 +10:00
Jean-Yves Avenard
38e19fbee9 Bug 1183920: Properly delete MediaResource when released on non main thread. r=cpearce
Leak was not detected as it was registered via NS_LOG_RELEASE.
2015-07-15 16:21:58 +10:00
Ryan VanderMeulen
07e1b2ced2 Merge m-c to inbound. a=merge 2015-07-14 23:38:02 -04:00
JW Wang
8f4143e80b Bug 1183502 - give androidVersion a correct value in manifest.js. r=sotaro. 2015-07-15 09:56:16 +08:00
Ryan VanderMeulen
e6822fd5bc Bug 1180000 - Disable more tests on Linux debug e10s. 2015-07-14 21:05:32 -04:00
Wes Kocher
7e96f5515a Merge m-c to fx-team, a=merge 2015-07-14 15:31:55 -07:00
Jean-Yves Avenard
429d9b04c3 Bug 1182999: Apply fuzz factor when adjusting buffered time ranges. r=gerald
Frames may have small discontinuities, which would lead to intervals being created that are less than a frame duration.
2015-07-15 00:11:20 +10:00
Kelly Davis
e1bdadef62 Bug 1183503 - Rename model and dictionary files for recognition in preparation for localization. r=smaug
--HG--
rename : dom/media/webspeech/recognition/models/dict/cmu07a.dic => dom/media/webspeech/recognition/models/dict/en-US.dic
rename : dom/media/webspeech/recognition/models/en-us-semi/README => dom/media/webspeech/recognition/models/en-US/README
rename : dom/media/webspeech/recognition/models/en-us-semi/feat.params => dom/media/webspeech/recognition/models/en-US/feat.params
rename : dom/media/webspeech/recognition/models/en-us-semi/mdef => dom/media/webspeech/recognition/models/en-US/mdef
rename : dom/media/webspeech/recognition/models/en-us-semi/means => dom/media/webspeech/recognition/models/en-US/means
rename : dom/media/webspeech/recognition/models/en-us-semi/mixture_weights => dom/media/webspeech/recognition/models/en-US/mixture_weights
rename : dom/media/webspeech/recognition/models/en-us-semi/noisedict => dom/media/webspeech/recognition/models/en-US/noisedict
rename : dom/media/webspeech/recognition/models/en-us-semi/sendump => dom/media/webspeech/recognition/models/en-US/sendump
rename : dom/media/webspeech/recognition/models/en-us-semi/transition_matrices => dom/media/webspeech/recognition/models/en-US/transition_matrices
rename : dom/media/webspeech/recognition/models/en-us-semi/variances => dom/media/webspeech/recognition/models/en-US/variances
extra : rebase_source : 859a839773744e1b2eae8d72392069cb8c28fe33
2015-07-14 05:22:00 -04:00
Ryan VanderMeulen
501af3e759 Bug 1180000 - Disable test_peerConnection_twoVideoStreams.html on Linux debug e10s for frequent failures.
--HG--
extra : transplant_source : %CB%11%12%C6%D1%B0%909Di%22%F6%84%B9Xx%0A%C7%DF%8C
2015-07-14 16:44:47 -04:00
Paul Adenot
2a7cecac07 Bug 1179484 - Pass in the right graph when created the DOMMediaStream. r=roc 2015-07-02 09:30:58 +02:00
Matthew Gregan
e6b99f9247 Bug 1175396 - Handle mismatched sample formats. r=jwwang 2015-07-14 09:21:27 -04:00
JW Wang
f750e996b8 Bug 1164265 - larger timeout on slow platforms. r=cpearce. 2015-07-14 11:54:13 +08:00
JW Wang
201b1cf54b Bug 1182738. Part 2 - remove MediaDecoderStateMachine::mStreamStartTime. 2015-07-11 17:20:32 +08:00
JW Wang
21cb8f8904 Bug 1182738. Part 1 - have DecodedStream::GetPosition() return a position including the start time. 2015-07-11 17:20:28 +08:00
JW Wang
0058bf1bad Bug 1182737. Part 3 - make start/stop playback of DecodedStream more consistent with that of AudioSink. 2015-07-11 16:41:39 +08:00
JW Wang
5d896370ea Bug 1182737. Part 2 - remove unnecessary code. 2015-07-05 08:24:09 +08:00
JW Wang
ffcd7c5182 Bug 1182737. Part 1 - have DecodedStream keep reference to media queues of MDSM so we don't have to pass them everytime. 2015-07-04 09:30:15 +08:00
Chris Pearce
4471953140 Bug 1182928 - Disable dormant mode for EME videos in Firefox Beta and Release. r=sotaro 2015-07-14 12:17:07 +12:00