Commit Graph

2391 Commits

Author SHA1 Message Date
Randy Lin
c72ae6e277 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
87be796147 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
9351dd7188 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
5dd627ae07 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
17b7189b27 Bug 896307 - Use MediaResource::ReadAt() in WMFByteStream. r=padenot 2013-07-23 10:43:22 +12:00
Jason Smith
b1f56ecb1f 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
9ea4ed3b64 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
0beedadc37 Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d 2013-07-20 12:03:08 +12:00
Ryan VanderMeulen
66c2f17999 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
ad10ee51ab 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
e9213cc266 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
f6754911f0 Bug 882543 - Register the MSG thread for in the profiler. r=benwa 2013-07-19 16:40:57 +02:00
Paul Adenot
5e7c432be4 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
1ab3b34729 Bug 882543 - Actually run offline MSG offline. r=roc 2013-07-19 16:40:57 +02:00
Paul Adenot
a51d5aa3f9 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
886696b46e Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-07-11 16:58:57 +02:00
Mike Hommey
b5159c1c4c Backout changeset 40f9e902464a (bug 889699) because of Linux crashes on a CLOSED TREE 2013-07-19 15:59:42 +09:00
Edwin Flores
aeddabc415 Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d 2013-07-19 15:31:11 +12:00
Ehsan Akhgari
2e9a3a5936 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
cae697e35c Bug 883591 - Don't allow creating a MediaStreamDestinationNode on an OfflineAudioContext. r=ehsan 2013-07-18 11:57:38 +02:00
Boris Zbarsky
9af6d565fa 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
d8fa3b15c0 Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan 2013-07-16 14:45:41 +02:00
Chris Double
f341d51ee6 Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce 2013-07-17 13:54:52 +12:00
Ryan VanderMeulen
4d4078f8cb 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
b266047b79 Bug 894150 - Test. 2013-07-16 17:39:13 +02:00
Paul Adenot
f2c6d51eea 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
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Paul Adenot
3272f71ce4 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
b39f89045b Bug 832768 - Disable test_buffered.html due to frequent timeouts. 2013-07-15 11:45:10 -04:00
Rick Eyre
0f5638b7d3 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
00842ad22a 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
cbc093a476 Bug 889720 - Media Recording - Implement Pause/Resume DOM API. r=roc 2013-07-14 15:31:59 +08:00
Mike Hommey
0f994f506e 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
649f8e6426 Merge m-c to inbound. 2013-07-12 22:32:46 -04:00
Sotaro Ikeda
9c866b9030 Bug 891445 - Fix incorrect pointer comparison. r=doublec 2013-07-12 17:27:17 -04:00
Ryan VanderMeulen
db7ca92e0a 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
aacae3cd50 Bug 892492 - Fix automation on AudioBufferSourceNode.playbackRate. r=ehsan 2013-07-12 11:23:21 +02:00
Trevor Saunders
82e5558b37 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
043fd87042 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
11863355c2 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
162156997a 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
9b47990cb3 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
8ebc289ad7 Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-06-24 14:05:38 +02:00
Matthew Gregan
d597606de0 Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-11 15:52:22 +12:00
Ryan VanderMeulen
e7c0e852c9 Merge m-c to inbound. 2013-07-10 13:52:12 -04:00
Ryan VanderMeulen
c9d5a706a1 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Ryan VanderMeulen
66409a1bd4 Merge the last green birch cset to m-c. 2013-07-10 13:49:16 -04:00
Sotaro Ikeda
0710e5ccd5 Bug 890394 - Prevent incorrect state transition. r=doublec 2013-07-10 09:58:04 -04:00
Paul Adenot
4392f23f11 Bug 888271 - Make test_AudioBufferSourceNodeOffset.html fuzzier. 2013-07-10 15:03:19 +02:00
Trevor Saunders
c3f96258c3 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00