Commit Graph

2391 Commits

Author SHA1 Message Date
Randy Lin
e3f47075f1 Bug 894348 - MediaRecorder use-after-free crash [@mozilla::MediaStream::GraphImpl]. Fix the wrong pointer type of ProcessedMediaStream. r=roc 2013-07-21 22:33:01 +08:00
Ralph Giles
05565a4994 Bug 894104 - Part 3: remove TextTrackCue's mGlobal. r=bz
From 095c76c72dd5915b2fa8ec74f4e2b0b45de244f1 Mon Sep 17 00:00:00 2001
Since we keep a document reference we no longer need the
separate global. It was only used in GetParentObject() and
we can return nullptr there (meaning 'use whatever magic global')
or return the document instead, which is what this patch does.
2013-07-18 15:01:48 -07:00
Ralph Giles
86c975913d Bug 894104 - Part 2: Add testcase to crashtests. r=bz
From d94dd7dde357ccf7f6de53c1fae20a9bdb916a86 Mon Sep 17 00:00:00 2001
2013-07-18 14:28:45 -07:00
Ralph Giles
ac4de9f961 Bug 894104 - Part 1: Retain a document reference for GetCueAsHTML.
From 447985000db919e2f054012ca10f03d626c401b1 Mon Sep 17 00:00:00 2001
 r=bz
Save a copy of the owning document at creation time instead
of looking it up from mGlobal in each call. This ensures it
is available even if we're called after our window is unlinked
at teardown.

Make the constructors throw if a window is not available,
so we can return an INVALID_STATE_ERR if we're called
in an incomplete environment.
2013-07-16 22:14:40 -07:00
Chris Pearce
680094a052 Bug 896307 - Use MediaResource::ReadAt() in WMFByteStream. r=padenot 2013-07-23 10:43:22 +12:00
Jason Smith
7fc34c76fa Bug 896302 - Add a mochitest for creation of a media recorder object. r=roc 2013-07-21 18:37:42 -07:00
Robert O'Callahan
a923ef07f1 Bug 891238. Don't resume reading from a paused connection if we still have plenty of data cached. This could save power. r=cpearce
--HG--
extra : rebase_source : 89e0951e9e8ccef628a99ab4b3f07dbe7ff79989
2013-07-19 21:00:19 +12:00
Edwin Flores
712c782a29 Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d 2013-07-20 12:03:08 +12:00
Ryan VanderMeulen
fccc96d210 Bug 832768 - Disable test_playback_rate.html and test_seek.html due to frequent timeouts.
CLOSED TREE
2013-07-19 16:07:38 -04:00
Ryan VanderMeulen
e759c0e570 Backed out 5 changesets (bug 882543) for crashtest orange on a CLOSED TREE.
Backed out changeset b36516aab389 (bug 882543)
Backed out changeset 07550003a24a (bug 882543)
Backed out changeset f4045c40afb4 (bug 882543)
Backed out changeset 1b87e0bd2858 (bug 882543)
Backed out changeset 8d76a3440800 (bug 882543)
2013-07-19 12:00:48 -04:00
Paul Adenot
ccf69241ce Bug 882543 - Use a linked list for ordering stream instead of an array. r=ehsan 2013-07-19 16:40:58 +02:00
Paul Adenot
20dac73d80 Bug 882543 - Register the MSG thread for in the profiler. r=benwa 2013-07-19 16:40:57 +02:00
Paul Adenot
a9cb9340ab Bug 882543 - Don't spam the main thread when rendering an offline graph. r=ehsan,roc 2013-07-19 16:40:57 +02:00
Paul Adenot
8b65e8ec62 Bug 882543 - Actually run offline MSG offline. r=roc 2013-07-19 16:40:57 +02:00
Paul Adenot
59bd9d9649 Bug 882543 - Retain storage for media streams accross iterations instead of reallocating. r=jlebar,roc 2013-07-19 16:40:56 +02:00
Paul Adenot
cf618f7fe9 Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-07-11 16:58:57 +02:00
Mike Hommey
839ae7c712 Backout changeset 40f9e902464a (bug 889699) because of Linux crashes on a CLOSED TREE 2013-07-19 15:59:42 +09:00
Edwin Flores
25fdeb80fd Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d 2013-07-19 15:31:11 +12:00
Ehsan Akhgari
81722d8e02 Bug 891254 - Fix the usage of uninitialized samples when the input to a ConvolverNode has a volume; r=roc
--HG--
extra : rebase_source : 2d7e6c393e66096cf410adce0924843ad2eda61b
2013-07-18 10:22:47 -04:00
Paul Adenot
f0b2dcf9d3 Bug 883591 - Don't allow creating a MediaStreamDestinationNode on an OfflineAudioContext. r=ehsan 2013-07-18 11:57:38 +02:00
Boris Zbarsky
6be6fb3ca2 Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Paul Adenot
23e5b0ef24 Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan 2013-07-16 14:45:41 +02:00
Chris Double
c84ff42c47 Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce 2013-07-17 13:54:52 +12:00
Ryan VanderMeulen
01616062a4 Backed out 2 changesets (bug 894150) for crashtest orange.
Backed out changeset 80ce41a4e6ee (bug 894150)
Backed out changeset b41c7f2ddda5 (bug 894150)
2013-07-16 12:33:56 -04:00
Paul Adenot
ed960be5bf Bug 894150 - Test. 2013-07-16 17:39:13 +02:00
Paul Adenot
127e99dd3c Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan 2013-07-16 14:45:41 +02:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Paul Adenot
6200078a6f Bug 891986 - Keep the source ArrayBuffer to a decodeAudioData call alive until the decoding is complete. r=mccr8,ehsan 2013-07-16 11:00:36 +02:00
Ryan VanderMeulen
c14c7bcf1f Bug 832768 - Disable test_buffered.html due to frequent timeouts. 2013-07-15 11:45:10 -04:00
Rick Eyre
ffb8b1982d Bug 882706 - Implement TextTrackList::GetTrackById(). r=rillian
I've also added an Id attribute to the TextTrack implementation as it wasn't
there yet.
2013-07-09 11:44:35 -04:00
Randy Lin
31962cd52a Bug 891722 - Media Recording - The rate of ondataavailable events spikes adnormally high after starting, stopping, and starting recording again. r=roc 2013-07-14 15:04:10 +08:00
Randy Lin
13a84b7931 Bug 889720 - Media Recording - Implement Pause/Resume DOM API. r=roc 2013-07-14 15:31:59 +08:00
Mike Hommey
8bc29f2d89 Bug 887483 - Remove some more useless FORCE_STATIC_LIB and leftover comments from previous removal. r=mshal 2013-07-15 18:48:40 +09:00
Ryan VanderMeulen
416262f62f Merge m-c to inbound. 2013-07-12 22:32:46 -04:00
Sotaro Ikeda
1aa95b8f43 Bug 891445 - Fix incorrect pointer comparison. r=doublec 2013-07-12 17:27:17 -04:00
Ryan VanderMeulen
9952068067 Bug 832768, bug 864682, bug 707777 - Disable flaky media tests until they aren't anymore. 2013-07-12 16:14:58 -04:00
Paul Adenot
59ce1383d7 Bug 892492 - Fix automation on AudioBufferSourceNode.playbackRate. r=ehsan 2013-07-12 11:23:21 +02:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Paul Adenot
98dbec53b6 Bug 886653 - Don't call speex_resampler_skip_zeros when changing the rate in AudioBufferSourceNode. r=ehsan 2013-07-12 17:21:51 +02:00
Alexandros Chronopoulos
d94217b0c1 Bug 790559 - Part 2: Correct test_framebuffer.html mochitest to expect two channels. r=rillian 2013-06-21 00:31:22 +03:00
Alexandros Chronopoulos
6f1a537f65 Bug 790559 - Part 1: Apply DownmixToStereo function when decode multichannel Opus and Vorbis. r=rillian 2013-04-24 20:29:44 +03:00
Ed Morley
7d3ce53582 Backed out changeset ee7d34a58f11 (bug 886173) for mochitest 1 failures in test_playback_rate.html 2013-07-11 15:31:52 +01:00
Paul Adenot
dc50b601e1 Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-06-24 14:05:38 +02:00
Matthew Gregan
b19fc7bf6a Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-11 15:52:22 +12:00
Ryan VanderMeulen
f10b8ebacc Merge m-c to inbound. 2013-07-10 13:52:12 -04:00
Ryan VanderMeulen
1d7eff0f7a Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Ryan VanderMeulen
5f7f93b294 Merge the last green birch cset to m-c. 2013-07-10 13:49:16 -04:00
Sotaro Ikeda
d87d29abf5 Bug 890394 - Prevent incorrect state transition. r=doublec 2013-07-10 09:58:04 -04:00
Paul Adenot
170455b45b Bug 888271 - Make test_AudioBufferSourceNodeOffset.html fuzzier. 2013-07-10 15:03:19 +02:00
Trevor Saunders
d82043f811 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00