Nicolas Silva
216a92b99c
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Matthew Gregan
b12e013aba
Bug 895754 - Update VideoPlaybackQuality to current MSE spec (remove playbackJitter, add totalFrameDelay). r=doublec
2013-07-24 11:46:43 +12:00
Robert O'Callahan
269f816a9e
Bug 890716. Fix race in Reverb::Reverb. r=padenot
...
--HG--
extra : rebase_source : 65af577f5ffcf7f7a0b650f1693f4159ddac4ac6
2013-07-26 13:35:22 +12:00
Boris Zbarsky
276a31d596
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Joshua Cranmer
e5e0a1f2f3
Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
...
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Joshua Cranmer
96bb0c3a50
Bug 884061 - Part 1: Use mozilla::Atomic in NS_DECL_INLINE_THREADSAFE_REFCOUNTING, r=jlebar
...
--HG--
extra : rebase_source : a3a987a2a4a52603e0461f40396cca06b6cbe989
2013-07-13 20:18:03 -05:00
Randy Lin
a2a8d5c78d
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
c696d4e597
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
a7b8099ec9
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
43b831fa02
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
bceb29a99f
Bug 896307 - Use MediaResource::ReadAt() in WMFByteStream. r=padenot
2013-07-23 10:43:22 +12:00
Jason Smith
7a1cd60ad4
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
8fde0e51a8
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
980fe185bb
Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d
2013-07-20 12:03:08 +12:00
Ryan VanderMeulen
d5c67ff5d1
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
d2482ea688
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
a2717cd257
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
8673a04b53
Bug 882543 - Register the MSG thread for in the profiler. r=benwa
2013-07-19 16:40:57 +02:00
Paul Adenot
ace1eb9803
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
9959f0b02d
Bug 882543 - Actually run offline MSG offline. r=roc
2013-07-19 16:40:57 +02:00
Paul Adenot
63bc0bcbc6
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
6dccab695c
Bug 886173 - Preserve playbackRate across pause/play. r=cpearce
2013-07-11 16:58:57 +02:00
Mike Hommey
f9a997abcf
Backout changeset 40f9e902464a (bug 889699) because of Linux crashes on a CLOSED TREE
2013-07-19 15:59:42 +09:00
Edwin Flores
9c371783cb
Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d
2013-07-19 15:31:11 +12:00
Ehsan Akhgari
4f7b4f5330
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
0b0d2ff170
Bug 883591 - Don't allow creating a MediaStreamDestinationNode on an OfflineAudioContext. r=ehsan
2013-07-18 11:57:38 +02:00
Boris Zbarsky
9d5d30d8a1
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
e2823f5290
Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan
2013-07-16 14:45:41 +02:00
Chris Double
5cba203758
Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce
2013-07-17 13:54:52 +12:00
Ryan VanderMeulen
9675b8fd1f
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
47cb8e667e
Bug 894150 - Test.
2013-07-16 17:39:13 +02:00
Nathan Froyd
74113f673d
Bug 901615 - don't include BindingUtils.h in AudioContext.h; r=roc
2013-08-05 13:40:06 -04:00
Paul Adenot
f2e69e21d4
Bug 897092 - Fix setTargetAtTime glitch. r=ehsan
...
--HG--
extra : rebase_source : 8b1162e7721637df2b8a2faad849609d3177369b
2013-08-09 15:11:03 +02:00
Marcus Saad
f8f34ffc6a
Bug 882743 - Make TextTrackCue setters throw. r=rillian, r=bz
...
From 8f5dccf7fd5f5d2a74341ead60586346e4ab3ead Mon Sep 17 00:00:00 2001
Now throwing javascript exceptions from attribute setters for TextTrack-related DOM classes.
As can be seen in http://dev.w3.org/html5/webvtt/#webvtt-api , some of the attributes require validation and throwing.
There is no validation implemented to the align property because there is a bug opened against the spec to change it to an Enum.
When cleared, it should have the IDL changed to remove the throwing.
Validation comments were removed from the properties that didn't have proper validation defined by the spec.
2013-07-24 14:18:54 -04:00
Trevor Saunders
99d8dc50c9
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Paul Adenot
3f1e30d22d
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
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Paul Adenot
63564ecf7c
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
82264bb057
Bug 832768 - Disable test_buffered.html due to frequent timeouts.
2013-07-15 11:45:10 -04:00
Rick Eyre
4b1d58d1cc
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
5acacf0465
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
f2d400265e
Bug 889720 - Media Recording - Implement Pause/Resume DOM API. r=roc
2013-07-14 15:31:59 +08:00
Mike Hommey
7ef932ec49
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
c7e8ed00f4
Merge m-c to inbound.
2013-07-12 22:32:46 -04:00
Sotaro Ikeda
be9402b476
Bug 891445 - Fix incorrect pointer comparison. r=doublec
2013-07-12 17:27:17 -04:00
Ryan VanderMeulen
375e70d07d
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
9e563b6b06
Bug 892492 - Fix automation on AudioBufferSourceNode.playbackRate. r=ehsan
2013-07-12 11:23:21 +02:00
Trevor Saunders
f33ade0d68
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
16dc6f0a7b
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
092e7f3369
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
87c72f51bf
Bug 790559 - Part 1: Apply DownmixToStereo function when decode multichannel Opus and Vorbis. r=rillian
2013-04-24 20:29:44 +03:00
Thomas Zimmermann
a9843f607d
Bug 831224: Parse MP3 frame headers in OmxDecoder, r=padenot
...
On FirefoxOS, the Android libraries estimate the duration of MP3 streams
by examining the first MP3 frame header. This only works for streams with
constant bit rate. For streams with variable bit rate, a too short or too
long duration is computed.
This patch adds support for parsing MP3 frame headers. The decoder handles
file streams by reading them at once at the beginning and parsing them
immediately. Network streams are updated when a new fragment arrives.
2013-01-24 13:38:32 +01:00
Thomas Zimmermann
39f6f8472e
Bug 831224: Allow update of the media duration, r=padenot
...
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
2013-05-03 09:48:37 +02:00
Thomas Zimmermann
902c13e3db
Bug 831224: Added MP3 frame parser, r=padenot
...
MP3 streams consist of small frames, with each frame containing the
audio data of a few hundred milliseconds. The actual duration of the
encoded audio can among frames.
Each frame consists of a 4-byte frame header, some optional extra
information, and the audio data. The MP3 frame parser walks over the
content of an MP3 stream, computes the duration of each frame from
the frame header, and sums them up to the streams complete duration.
The MP3 frame parser does not decode the actual audio data.
2013-05-03 09:44:02 +02:00
Thomas Zimmermann
2a301b9526
Bug 831224: Remove trailing whitespaces, r=padenot
2013-01-24 13:38:32 +01:00
Randy Lin
291fda59f2
Bug 900419 - Media Recording - MediaRecorder's state is wrong when stopping media stream during recording. r=roc
2013-08-01 18:38:57 +08:00
Randy Lin
8fd7c68149
Bug 898952 - Media Recording - Avoid to record a stopped MediaStream. r=roc
2013-08-07 14:20:42 +08:00
Randy Lin
5f1fe27e80
Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith
2013-07-26 10:47:56 +08:00
Randy Lin
186dfcc22f
Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc
2013-07-26 20:29:41 +08:00
JW Wang
abcbbe7470
Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc
2013-07-23 11:54:32 +08:00
JW Wang
0df29ff17f
Bug 882171 - Part 2: Call NEON implementation. r=ehsan
2013-08-07 11:37:01 +08:00
JW Wang
dc29aeb60b
Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf
2013-08-07 11:39:47 +08:00
Ed Morley
86d33773fb
Backed out changeset 303ba353d785 (bug 831224) for turning bug 897108 permaorange
2013-08-08 10:00:26 -07:00
Ed Morley
648f49bf94
Backed out changeset 3cfe2793f157 (bug 831224)
2013-08-08 09:59:52 -07:00
Ed Morley
eac33d7c0c
Backed out changeset 43953e9233a2 (bug 831224)
2013-08-08 09:59:49 -07:00
Ed Morley
ed38f85777
Backed out changeset e334b3139e2a (bug 831224)
2013-08-08 09:59:45 -07:00
Ed Morley
b7e276529b
Backed out changeset 909cddbd5af9 (bug 831224)
2013-08-08 09:59:42 -07:00
Ed Morley
0f5723167e
Backed out changeset 374a8aab2b49 (bug 831224)
2013-08-08 09:59:39 -07:00
Thomas Zimmermann
2f6e9242f7
Bug 831224: List vbr.mp3 in Makefile.in, r=padenot
...
The MP3 file for testing variable-bitrate MP3's was not listed
in the Makefile; and thus missing from the installation. The
respective Mochitest always failed.
2013-08-08 17:12:32 +02:00
Carsten "Tomcat" Book
da3071b7d9
merge mozilla-central to b2g-inbound
2013-08-08 14:46:05 +02:00
Thomas Zimmermann
ac806b131f
Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
...
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.
--HG--
extra : rebase_source : f62cf69a631a276c4e6e96e827ab615367cad877
2013-08-07 18:54:04 +02:00
Thomas Zimmermann
c78497c07a
Bug 831224: Use multi-threaded I/O for reading and processing MP3 frames, r=padenot
...
Reading large MP3 files from a slow medium, such as an SD card, takes
several seconds. This is too long for interactive applications like the
music app.
With this patch, the OmxDecoder reads large MP3 file in smaller chunks
and hands over each chunk individually to the MP3 parser. Reading the
file is done in the I/O thread, which is allowed to block, parsing is
done on the main thread.
The current chunk size is 8 MiB, which is small enough to not cause any
delay.
--HG--
extra : rebase_source : 4effb86db481c405a97760cd98f4218dde42104d
2013-05-06 20:07:29 +02:00
Thomas Zimmermann
5632b9f96e
Bug 831224: Parse MP3 frame headers in OmxDecoder, r=padenot
...
On FirefoxOS, the Android libraries estimate the duration of MP3 streams
by examining the first MP3 frame header. This only works for streams with
constant bit rate. For streams with variable bit rate, a too short or too
long duration is computed.
This patch adds support for parsing MP3 frame headers. The decoder handles
file streams by reading them at once at the beginning and parsing them
immediately. Network streams are updated when a new fragment arrives.
--HG--
extra : rebase_source : bffb9447a5fdba4145e83f5aeb3c2accfb7872d6
2013-01-24 13:38:32 +01:00
Thomas Zimmermann
60f3f49444
Bug 831224: Allow update of the media duration, r=padenot
...
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
--HG--
extra : rebase_source : f417b968e81d9c9a1aff8ae3174079a297eb371b
2013-05-03 09:48:37 +02:00
Thomas Zimmermann
4574d05406
Bug 831224: Added MP3 frame parser, r=padenot
...
MP3 streams consist of small frames, with each frame containing the
audio data of a few hundred milliseconds. The actual duration of the
encoded audio can among frames.
Each frame consists of a 4-byte frame header, some optional extra
information, and the audio data. The MP3 frame parser walks over the
content of an MP3 stream, computes the duration of each frame from
the frame header, and sums them up to the streams complete duration.
The MP3 frame parser does not decode the actual audio data.
--HG--
extra : rebase_source : 1b101d8f9bf73e62672933d0f5d20253d7b25491
2013-05-03 09:44:02 +02:00
Thomas Zimmermann
8458373204
Bug 831224: Remove trailing whitespaces, r=padenot
...
--HG--
extra : rebase_source : e04ddb59ab953550d988924670c96b73bf7909f2
2013-01-24 13:38:32 +01:00
Ed Morley
17de8eb070
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
663ccbc871
Bug 886173 - Preserve playbackRate across pause/play. r=cpearce
2013-06-24 14:05:38 +02:00
Matthew Gregan
e757837a5c
Bug 889201 - Add tests for VideoPlaybackQuality. r=roc
2013-07-11 15:52:22 +12:00
Ryan VanderMeulen
4762f32ba7
Merge m-c to inbound.
2013-07-10 13:52:12 -04:00
Ryan VanderMeulen
03e73d9988
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Ryan VanderMeulen
545af1073c
Merge the last green birch cset to m-c.
2013-07-10 13:49:16 -04:00
Sotaro Ikeda
a560aada0b
Bug 890394 - Prevent incorrect state transition. r=doublec
2013-07-10 09:58:04 -04:00
Paul Adenot
4dc7ab77df
Bug 888271 - Make test_AudioBufferSourceNodeOffset.html fuzzier.
2013-07-10 15:03:19 +02:00
Trevor Saunders
63ed0e9589
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Randy Lin
d54fec6c82
Bug 891706 - Crash in mozilla::dom::MediaRecorder::CheckPrincipal() when closing a tab while recording is started. r=roc
2013-07-10 12:52:29 +08:00
Ralph Giles
ccaf62a7df
Bug 887463 - remove webvtt parser library. r=cpearce.
2013-07-09 17:02:00 -07:00
Olli Pettay
bd1a7c994f
backout Bug 533840, since it added a randomly failing test
...
--HG--
extra : rebase_source : c9f9de9148b5a52bf7013b543035626d959c6e5a
2013-07-09 13:30:38 -04:00
Ehsan Akhgari
0af4dba840
Bug 891543 - Remove the version of AudioBuffer::GetChannelData that is unused; r=roc
2013-07-09 17:35:05 -04:00
Olli Pettay
76f9c2d68c
backout Bug 533840, since it added a randomly failing test
2013-07-09 13:30:18 -04:00
Ryan VanderMeulen
39ec2a332a
Bug 888271 - Increase errorRatio allowance of AudioBufferSourceNode test. r=padenot
2013-07-09 16:01:58 -04:00
Paul Adenot
52112e2d8e
Bug 888271 - Don't substract twice by mOffset in AudioBufferSourceNode. r=ehsan
2013-07-09 10:41:54 +02:00
Bastien Scanu
a11663825d
Bug 533840 - Don't start playback when removed from a document and autoplaying. r=padenot,cpearce
2013-06-07 13:46:45 +02:00
Léonard Beck
6dcc6a8a61
Bug 654550 - Add a preference to disable media statistics. r = padenot,jaws
2013-06-11 17:23:13 +02:00
Ehsan Akhgari
a6a09cb41e
Bug 886660 - Fix the leak in FFTBlock::SetFFTSize(); r=roc
2013-06-25 20:37:56 -04:00
Guilherme Gonçalves
59757598fc
Bug 884407 - Use an enum in SpeechRecognitionError. r=smaug
2013-06-25 20:08:58 -04:00
Sotaro Ikeda
0b09286801
Bug 884182 - Prevent incorrect state transition. r=doublec
2013-06-25 20:08:58 -04:00
Ehsan Akhgari
1396b128e5
Bug 886690 - Make sure that the test case for bug 880202 will pass if Web Audio is disabled
2013-06-25 16:36:14 -04:00
Ryan VanderMeulen
e3c06f30f3
Backed out 2 changesets (bug 886618, bug 886657) for frequent OSX 10.7 mochitest-1 failures.
...
Backed out changeset 9fd8b2adc693 (bug 886618)
Backed out changeset 376fe12f4de4 (bug 886657)
2013-06-25 15:24:11 -04:00
Robert O'Callahan
6355b58d83
Bug 886618. Play nothing when one or more of the Float32Arrays of an AudioBuffer has been neutered. r=ehsan
...
--HG--
extra : rebase_source : a254d45ed8222b7154a541ecfff63125541abf85
2013-06-26 04:01:07 +12:00
Robert O'Callahan
1b4b8ac6f4
Bug 886657. Don't play anything from an AudioBufferSourceNode until a buffer has been set and start() has been called. r=ehsan
...
--HG--
extra : rebase_source : 48494d925526a8a064b42a59797fef70c61d4276
2013-06-26 04:00:42 +12:00
Phil Ringnalda
4b3ec7f980
Back out 0e276ed2d7c3 (bug 884651) for Linux test_streams_element_capture.html timeouts
...
CLOSED TREE
2013-06-24 18:29:34 -07:00
Edwin Flores
8fcce14d0f
Bug 884651 - Stop gstreamer from trying to sync video and audio for us r=cpearce
2013-06-25 10:41:22 +12:00
Ehsan Akhgari
2144715779
Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc
2013-06-23 19:23:02 -04:00
Ehsan Akhgari
cbdefabbd2
Bug 886165 - Hide the alternate names in the spec behind prefs which are turned off by default; r=roc
...
This patch uses one pref per interface, to allow us finer grain control over
which ones we might need to turn on in the future.
2013-06-23 19:22:10 -04:00
Phil Ringnalda
8c08aa8ebd
Merge birch to m-c
2013-06-22 15:50:24 -07:00
Michael Wu
f530478b06
Bug 880502 - Make OggCodecState.cpp build on gonk-JB, r=cpearce
2013-06-21 18:03:05 -04:00
Chris Pearce
dc39e953a4
Bug 861090 - Add pref to disable playback of MPEG files in nsVideoDocument using WMF. r=?padenot
2013-06-21 11:16:55 +12:00
Ethan Hugg
406af24fe0
Bug 879743 - Fake audio should be sent at the same rate as fake video r=jesup
2013-06-20 10:14:04 -07:00
Ian Gilman
b1218a0475
Bug 838331 - Add MP3 to codec list for Firefox OS. r=doublec
2013-06-20 16:49:35 -04:00
Sotaro Ikeda
b4c019463a
Bug 883744 - add pointer null check r=doublec
2013-06-22 08:58:12 -04:00
Rick Eyre
fe93cb517c
Bug 885879 - Make sure cue times are not rounded r=rillian
...
Tests for this will be landing in bug 833386 Part 2.
2013-06-19 14:35:04 -04:00
Caitlin Potter
2b33993b82
Bug 882549 - Don't rely on mElement to find nsIDocument in TextTrackCue. r=rillian, r=smaug
...
Find nsIDocument via mGlobal (as nsPIDOMWindow) rather than via pointer to
HTMLTrackElement. (bz from #content has explained how we can access
nsPIDOMWindow and nsIDocument without having to ask the HTMLTrackElement)
For the time being, there are many null-ness checks for both 'window' and
'document', and no mechanism to report errors other than returning nullptr
where possible. This will be addressed in a followup bug.
Also adds a test for mHead nullness in TextTrackCue::ConvertNodeTreeToDOMTree
to prevent SIGSEV.
2013-06-19 14:02:04 -04:00
Brian R. Bondy
07fdbc24d3
Bug 878449 - Fixed mismatched CoInitialize call causing crash in JumpList. r=padenot.
2013-06-20 08:57:46 -04:00
Brian O'Keefe
11bcc1cd9e
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Wes Kocher
fd42bab8c8
Merge m-c with inbound
2013-06-19 16:46:01 -07:00
Wes Kocher
cbef21edec
Merge inbound to central
2013-06-19 16:37:58 -07:00
Boris Zbarsky
111050ba80
Bug 883827. Make Optional<NonNull<T>> and Optional<OwningNonNull<T>> nicer to use by having their const Value() method return a T&. r=peterv
2013-06-19 14:48:43 -04:00
Rick Eyre
a4c63ef537
Bug 884507 - Change SECOND_TO_MS macro to be named MS_TO_SECONDS r=rillian
2013-06-18 12:53:00 -07:00
Sotaro Ikeda
5080be29cf
Bug 884440 - Remove item correctly from vector. r=doublec
2013-06-19 13:40:31 -04:00
Ehsan Akhgari
acfc21a9c4
Bug 865256 - Part 2: Rename WaveTable to PeriodicWave; r=roc
...
--HG--
rename : content/media/webaudio/WaveTable.cpp => content/media/webaudio/PeriodicWave.cpp
rename : content/media/webaudio/WaveTable.h => content/media/webaudio/PeriodicWave.h
rename : content/media/webaudio/test/test_waveTable.html => content/media/webaudio/test/test_periodicWave.html
rename : dom/webidl/WaveTable.webidl => dom/webidl/PeriodicWave.webidl
2013-06-19 18:24:26 -04:00
John Schoenick
7df0040fac
Bug 878363 - Followup, fix compilers complaining about fixing other compilers complaining about an unknown warning. r=ted
2013-06-19 15:08:42 -07:00
Jon Coppeard
a30b14261f
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Robert O'Callahan
c6c84ac1ea
Bug 882027. Make MediaDecoder::UpdateReadyStateForData always be responsible for calling GetNextFrameStatus when that value is passed to HTMLMediaElement::UpdateReadyStateForData, but keep calling GetNextFrameStatus on the state machine thread to suppress dispatching of redundant runnables when nothing has changed. r=cpearce
2013-06-17 17:15:32 +12:00
Ehsan Akhgari
7a5e66b1f7
Bug 883011 - Optimize PrepareUpdatesToMainThread to avoid re-allocating memory as much as possible; r=roc
2013-06-18 23:10:04 -04:00
Ehsan Akhgari
fe67aae17b
Bug 884632 - Optimize MediaStreamGraphImpl::PrepareUpdatesToMainThreadState in order to only include AudioNodeStreams that the main thread is interested in; r=roc
2013-06-18 23:09:44 -04:00
Ed Morley
5f1d682a6f
Backed out changeset 78424c3ea6cb (bug 883731)
2013-06-19 09:51:05 +01:00
Ed Morley
23bec7ff69
Backed out changeset 04d60f86b935 (bug 883731)
2013-06-19 09:51:02 +01:00
Robert O'Callahan
205c111bd5
Bug 883731. Part 3: Make all calls to ChangeReadyState go through UpdateReadyStateForDtaData. r=cpearce
...
--HG--
extra : rebase_source : 49e39cedd64bcc52bcda452fb38c2d8f460672a0
2013-06-19 16:05:52 +12:00
Robert O'Callahan
a76e7dbf3f
Bug 883731. Part 2: Remove ResourceLoaded notifications since they don't make much sense with a media cache. r=cpearce
...
--HG--
extra : rebase_source : 8c1657977339c8f97b109c4ec775b7818ed4d57a
2013-06-19 00:17:40 +12:00
Ehsan Akhgari
daffb2d431
Backed out changeset 9173dcf026ee (bug 882567) because of mochitest-1 timeouts on Linux
...
Landed on a CLOSED TREE
2013-06-18 23:16:05 -04:00
Ehsan Akhgari
e6dc6b22a0
Backed out 2 changesets (bug 794282) because of mochitest-1 timeouts on Linux
...
Backed out changeset aad877111804 (bug 794282)
Backed out changeset a73bc11da471 (bug 794282)
2013-06-18 23:15:51 -04:00
Edwin Flores
ba759ef0d2
Bug 794282 - Fix desktop b2g compile error from changeset a73bc11da471 r=bustage
2013-06-19 12:29:36 +12:00
Edwin Flores
69ec400337
Bug 794282 - Enable gstreamer by default in builds, but pref off r=cpearce,khuey
2013-06-19 10:22:30 +12:00
Edwin Flores
d3aa2bd923
Bug 882567 - Handle fatal gstreamer errors by aborting playback r=alessandro.d
2013-06-19 10:22:29 +12:00
Ehsan Akhgari
57ba9bd76f
Backed out changeset 07708c9fc5ef (bug 883010) because of test failures
...
Landed on a CLOSED TREE
2013-06-17 13:13:08 -04:00
Ehsan Akhgari
340ed556b3
Bug 883010 - Part 1: Optimize MediaStreamGraphImpl::UpdateStreamOrder in order to optimize away how much time we spend on it in every iteration of the MSG; r=roc
...
--HG--
extra : rebase_source : 4af5f42054407ad42ebe1752e01178d454c865ed
2013-06-17 11:29:47 -04:00
Ehsan Akhgari
823b717452
Bug 883010 - Part 2: Don't bombard the main thread with MSG update messages which are not going to result in any actual work; r=roc
2013-06-17 09:06:34 -04:00
Josh Matthews
5cb0162f45
Bug 865257 - Implement MediaStreamAudioDestinationNode. r=ehsan,roc
2013-05-21 15:17:47 -04:00
Robert O'Callahan
986261c995
Backing out bug 882027
2013-06-16 01:28:34 +12:00
Robert O'Callahan
ced3f085a3
Bug 880601. Emulate a form of keyframe skipping by allowing MediaOmxReader::DecodeVideoFrame to decode more than one video frame if video decoding is falling behind. r=cpearce
...
If we don't support this in any way, then we get into trouble when there is
plenty of compressed data buffered but for some reason video decoding falls
behind (maybe there was a short period where the video data wasn't available).
Audio playback continues normally, but MediaOmxReader keeps making one call
to ReadAudio and one to ReadVideo, and if each call to ReadAudio decodes at
least as much as the calls to ReadVideo, video decoding can never catch up
to the current audio playback position. So video never plays. And when the
video decoding point gets far enough away from the audio decoding point,
horrible things start to happen, such as video and audio reading completely
different parts of the media cache and interfering with the caching mechanism
(which assumes audio and video reads are close together).
This patch approximates keyframe skipping, and is basically just a way for
MediaOmxReader::DecodeVideoFrame to decode more than one frame at a time
if we need video decoding to catch up.
To prevent pathological situations, we cap both the maximum number of frames
decoded per DecodeVideoFrame and the amount of time we spend in the method
(excluding the time for the last frame).
--HG--
extra : rebase_source : cba95c537fe97df5b696581be8233b6e9cffb70b
2013-06-15 23:51:56 +12:00
Robert O'Callahan
d718849c46
Bug 882027. Route all calls to GetNextFrameStatus for determining the readyState through MediaDecoder::UpdateReadyStateForData on the main thread. r=cpearce
...
--HG--
extra : rebase_source : 9ea3260f294c633c24e15690fa4bb067af378088
2013-06-15 23:50:44 +12:00
Martijn Wargers
49fddee770
Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin
2013-06-15 00:33:47 +02:00
Martijn Wargers
4adfc0b74c
Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher
2013-06-15 00:13:44 +02:00
Caitlin Potter
5f1c8b4af2
Bug 882535 - Set HTMLTrackElement Readiness State during WebVTT Parsing. r=rillian
...
This patch enables "LOADING", "LOADED" and "ERROR" readiness states to be
applied to the Parent HTMLTrackElement, in order to avoid test flakiness,
and to comply with the HTML5 draft
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#text-track-readiness-state .
2013-06-12 22:26:14 -04:00
Shelly Lin
196a0e94e4
Bug 882956 - Fix WebAudio stack-buffer-overflow crash. r=ehsan.
2013-06-14 15:16:41 +08:00
Chris Pearce
2db134f9c4
Bug 881954 - Set the thread limit to the idle limit for WMFByteStream's thread pool. This stops the pool from constantly creating and destroying threads when under load, freeing up virtual address space and reducing our thread count. r=padenot
2013-06-14 09:07:59 +12:00
Chris Pearce
77c4771d6e
Bug 881954 - Only initialize DXVA when we're decoding video. r=padenot
2013-06-14 09:07:28 +12:00
Chris Pearce
c8d412570d
Bug 881954 - Generalize test_too_many_elements to run on more than just Ogg audio. r=padenot
2013-06-14 09:07:07 +12:00
Ehsan Akhgari
f6ad445a82
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00