Commit Graph

3512 Commits

Author SHA1 Message Date
Karl Tomlinson
f1e2b4844c b=973782 revert 8e574d7a951a, failing test from bug 938022 DONTBUILD 2014-02-18 21:31:55 +13:00
Karl Tomlinson
ebd3154b99 debug logging for bug 966322
--HG--
extra : transplant_source : %F1%F9%BF%04%A3%10W%E1%22%E21%05%92%B9%5B%FCd%13%D4%BA
2014-02-18 17:40:58 +13:00
Tony Young
7d51ca8e91 test for bug 938022
--HG--
extra : transplant_source : %FE%A1%93%10%AE%86C%F7G%00%9B%E3Y%F7%08%DF%A26%1A%5B
2014-02-18 10:17:29 +13:00
Chris Pearce
f9e134fdb9 Bug 968016 - Wait until decode has finished before releasing resources when decoder becomes dormant. r=kinetik 2014-02-18 11:53:53 +13:00
Chris Pearce
0400ec187a Bug 968016 - Call MediaDecoderReader::OnDecodeThreadStart/Finish() in DecodeLoop(). r=kinetik 2014-02-18 11:53:53 +13:00
Chris Pearce
5ac658b5a5 Bug 968016 - Ensure all threads in media SharedThreadPools are joined in MediaShutdownManager's xpcom shutdown listener. r=kinetik 2014-02-18 11:53:53 +13:00
Chris Pearce
5209886eff Bug 968016 - Add threadStackSize attribute to nsIThreadPool. r=bsmedberg 2014-02-18 11:53:53 +13:00
Chris Pearce
2d67a1b332 Bug 968016 - Use a SharedThreadPool of size 1 for the Media State Machine thread. r=kinetik
This makes it easy to share the state machine thread, and for it to shut down
automatically when the last reference is dropped to it.
2014-02-18 11:53:53 +13:00
Chris Pearce
6dda7a817e Bug 968016 - Use SharedThreadPool instead of manually managed threads for the media decoding. r=kinetik 2014-02-18 11:53:52 +13:00
Chris Pearce
5f29834470 Bug 968016 - Add methods to SharedThreadPools and MediaTaskQueues to report whether we're running on one of their threads. r=kinetik 2014-02-18 11:53:52 +13:00
Chris Pearce
898150675c Bug 968016 - Add a parameter to SharedThreadPool to control the number of threads in the pool. r=kinteik 2014-02-18 11:53:52 +13:00
Chris Pearce
1459cdff3d Bug 968016 - Call MediaDecoderStateMachine::Init() in MediaSourceDecoder::Load(), like MediaDecoder. r=kinetik
Load() is called by the media load algorithm, and this behaviour matches the
existing MediaDecoder. Calling MediaDecoderStateMachine::Init() ensures that
we'll be able to init the state machine properly (i.e. its soon to be added
shared thread pools) before we decode.
2014-02-18 11:53:51 +13:00
Masatoshi Kimura
9f0004eb6e Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Alessandro Decina
a3e576a887 Bug 973379 - GStreamerReader::ReadMetadata()'s element config loop should break on error to avoid timeout. r=edwin 2014-02-18 11:28:04 +13:00
Paul Adenot
ff2b4ee7e8 Bug 960057 - When an HTMLMediaElement outputs to a MediaStream, make sure to install the refill callback in any case. r=roc DONTBUILD 2014-02-14 10:38:58 -08:00
Paul Adenot
2cbaed0d76 Backed out changeset 4d0197840932 (bug 960057) for invalid bug number in the commit message. 2014-02-17 13:54:17 +01:00
Paul Adenot
38770e3cf4 Bug 960059 - When an HTMLMediaElement outputs to a MediaStream, make sure to install the refill callback in any case. r=roc
--HG--
extra : rebase_source : a690159d6395ed7bab2a053bbb1cc65e11bb8be6
2014-02-14 10:38:58 -08:00
Tony Young
1633c5717b test for bug 956489
--HG--
extra : transplant_source : D%29%7CvI%1D%BC%B4%A8%10%02%F5%BF%ECV%D2%7C%1C%27%B8
2014-02-17 09:47:39 +13:00
Karl Tomlinson
df9498d5ab b=972678 round double times to ticks consistently and round to nearest r=padenot
--HG--
extra : transplant_source : Q%B5%155%81%7C%8BQ4%EB%BD%E9h%A7%8E%94%C9%EC%A2q
2014-02-17 09:47:19 +13:00
Karl Tomlinson
f7531c3dfa b=972678 move stream time methods from WebAudioUtils to AudioNodeStream r=padenot
Trying to clear up which stream parameter is which.

--HG--
extra : transplant_source : D%94%23%60M%82%7E%D8%FF%8A%D3%C8%9F%25%D6%7E%EA%19%80%E9
2014-02-17 09:46:56 +13:00
Tony Young
65877530ba test for bug 964376
--HG--
extra : transplant_source : %5D%1C%AD%A5%8D%BCT%11%CAR%1F%A3O%1B3%E33%E7%81%DE
2014-02-14 17:48:34 +13:00
Phil Ringnalda
c36c6ce913 Merge b-i to m-c 2014-02-15 10:01:36 -08:00
Vaibhav Agarwal
81f1ea0a18 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Chris Pearce
ccc0faa54a Bug 973139 - Don't treat EOS of one stream as EOS of all streams when decoding with GStreamer. r=alessandro.d 2014-02-15 22:32:12 +13:00
Mike Habicher
cb7b7f75e6 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
d6e9eaf736 Merge m-c to inbound. 2014-02-14 15:32:02 -05:00
Rick Eyre
37de22ae7f Bug 941701 - Fix crash in TextTrackCue::GetCueAsHTML r=rillian
TextTrackCue::GetCueAsHTML gets called when the HTMLMediaElement
shutsdown which means that TextTrackCue's mDocument sometimes no longer
exists based on when the cycle collector freed it. I've added a null
check to make sure that it exists before we start doing anything.
2014-02-14 10:00:00 -08:00
Rick Eyre
c5db634a0c Bug 972479 - TextTracks added to a TextTrackList through an HTMLTrackElement should dispatch 'onaddtrack' event. r=rillian
The problem was that the HTMLTrackElement calls a different
AddTextTrack method then the HTMLMediaElement does when
addTextTrack is called on it. This patch has the method
that the HTMLTrackElement calls dispatch the onaddtrackevent
as well.
2014-02-13 13:28:21 -05:00
Wes Johnston
b86214b50f Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
--HG--
rename : mobile/android/base/util/EventDispatcher.java => mobile/android/base/EventDispatcher.java
2014-02-11 09:16:00 -08:00
Ted Mielczarek
06e04ce1b2 Bug 968837 - Move more Mochitests into manifests. r=jmaher
--HG--
rename : toolkit/components/places/tests/browser/bug_399606/399606-history.go-0.html => toolkit/components/places/tests/browser/399606-history.go-0.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-httprefresh.html => toolkit/components/places/tests/browser/399606-httprefresh.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.reload.html => toolkit/components/places/tests/browser/399606-location.reload.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.replace.html => toolkit/components/places/tests/browser/399606-location.replace.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.href.html => toolkit/components/places/tests/browser/399606-window.location.href.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.html => toolkit/components/places/tests/browser/399606-window.location.html
rename : toolkit/components/places/tests/browser/visituri/begin.html => toolkit/components/places/tests/browser/begin.html
rename : toolkit/components/places/tests/browser/visituri/final.html => toolkit/components/places/tests/browser/final.html
rename : toolkit/components/places/tests/browser/visituri/redirect_once.sjs => toolkit/components/places/tests/browser/redirect_once.sjs
rename : toolkit/components/places/tests/browser/visituri/redirect_twice.sjs => toolkit/components/places/tests/browser/redirect_twice.sjs
rename : toolkit/components/places/tests/browser/settitle/title1.html => toolkit/components/places/tests/browser/title1.html
rename : toolkit/components/places/tests/browser/settitle/title2.html => toolkit/components/places/tests/browser/title2.html
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => toolkit/components/places/tests/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_411966.html => toolkit/components/places/tests/test_bug_411966.html
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/test_bug_461710_perwindowpb.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => toolkit/components/places/tests/test_bug_94514.html
2014-02-06 15:37:30 -05:00
Chris Pearce
3e6e5e4364 Bug 903051 - Prevent aborted loads from messing with ChannelMediaResource state. r=roc 2014-02-13 17:08:55 +13:00
Ryan VanderMeulen
37a64da0e4 Merge inbound to m-c. 2014-02-12 15:48:01 -05:00
Alfredo Yang
dacf731ba9 Bug 970793 - Update correct base_data_offset. r=cpearce 2014-02-12 09:54:56 -05:00
JW Wang
caef91087a Bug 969583 - Remove the canplaythrough listener inside the canplaythrough listener, so that the listener only runs once. r=cpearce 2014-02-12 10:44:17 +08:00
Ryan VanderMeulen
8fd74397bf Bug 966804 - Disable webspeech/recognition/test/test_timeout.html on Windows due to frequent failures. 2014-02-12 09:50:10 -05:00
Jacek Caban
d58401494a Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Ryan VanderMeulen
90b89ca7c1 Merge m-c to inbound. 2014-02-11 14:58:40 -05:00
Ryan VanderMeulen
558028f7f0 Merge b2g-inbound to m-c. 2014-02-11 14:57:31 -05:00
Randy Lin
a79b3e7504 Bug 957452 - Test case for capture use-after-free on MediaRecorder::Session::GetEncodedData. r=jsmith 2014-02-10 16:55:22 +08:00
Birunthan Mohanathas
409ea82a5e Bug 963056 - Part 1: Name unnamed struct in IRC_Composite_C_R0195-incl.cpp. r=ehsan 2014-02-11 13:31:57 -05:00
Randy Lin
5f8760deb9 Bug 957452 - MediaRecorder: Fix use-after-free crash [@mozilla::dom::MediaRecorder::Session::GetEncodedData]. r=roc 2014-01-13 16:11:22 +08:00
Ryan VanderMeulen
a53c82a5a7 Merge m-c to b2g-inbound. 2014-02-11 08:43:09 -05:00
Ben Kelly
5a502136a6 Bug 969114: Avoid allocation slop in MediaCacheStream. r=cpearce DONTBUILD 2014-02-10 22:43:52 -08:00
Ben Kelly
5d2bb06600 Revert bug 969114 (76e72417a9d7) for incorrect commit message. DONTBUILD 2014-02-10 22:43:52 -08:00
Ben Kelly
d0e24dd6aa Bug 969114: Avoid allocation slop in MediaCacheStream. 2014-02-10 22:31:40 -08:00
Phil Ringnalda
608d5cbbe0 Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions 2014-02-10 19:09:23 -08:00
Mike Habicher
f2e6cb2def Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
* * *
Debugging the rotation issue with new camera.js
* * *
Fix the occasionally-invalid MOZ_ASSERT on GonkCameraControl.cpp:844
2014-02-10 17:53:19 -05:00
Ryan VanderMeulen
c608b2f60f Merge inbound to m-c. 2014-02-10 15:42:58 -05:00
Rick Eyre
8207a58580 Bug 969506 - TextTrack's ActiveCues should return null of TextTrack's mode is set to 'disabled'. r=rillian 2014-02-07 13:59:26 -05:00
Benjamin Chen
e9e37f323e Bug 964209 - [RTSP] Implement flags() function and set mExtractor to fix content process crash. r=sworkman 2014-02-07 15:46:26 +08:00