Commit Graph

3542 Commits

Author SHA1 Message Date
Ehsan Akhgari
7e41f47adf Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
Ehsan Akhgari
9a39fcfd00 Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 23:07:24 -05:00
Wes Kocher
07a71f7597 Merge m-c to inbound 2014-02-20 19:37:22 -08:00
Wes Kocher
8cdf637169 Merge inbound to m-c 2014-02-20 19:19:18 -08:00
Ehsan Akhgari
5704b555e2 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Ryan VanderMeulen
b173a3b9db Bug 951288 - Use NS_WARN_IF_FALSE rather than NS_WARNING to fix bustage and reopen the CLOSED TREE. 2014-02-20 16:28:10 -05:00
Ryan VanderMeulen
ed17e63379 Bug 951288 - Convert assertion to a warning to hide intermittent test failures. r=cpearce 2014-02-20 15:52:57 -05:00
Steven Lee
81944df3f3 Bug 970183 - Rotate video image in gUM if camera mount angle is not 0 degree. r=jesup 2014-02-20 15:31:53 -05:00
Ehsan Akhgari
492c419c55 Bug 821062 - Share a decoding thread pool for all AudioContexts; r=padenot 2014-02-20 09:02:14 -05:00
JW Wang
d8bb46397f Bug 949346 - 1. print this pointer in nspr logs for debugging when there are 2 GStreamerReader running concurrently 2. Parse MP3 headers before kicking off the gstreamer pipeline such that there are no concurrent stream operations which could screw the state machine of gstreamer. r=alessandro.d 2014-02-20 08:32:19 +08:00
Carsten "Tomcat" Book
fc8d419808 merge b2g-inbound to mozilla-central 2014-02-20 12:54:27 +01:00
Mike Habicher
6d7abcf9fe Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
Mike Habicher
2ee2f78465 Bug 973696 - fix CameraControl lifetime regressions in WebRTC, r=jesup 2014-02-19 23:18:50 -05:00
Karl Tomlinson
b80eba9af0 b=966322 work around bug 916387 DONTBUILD
--HG--
extra : rebase_source : 8c99076c2fdcf1f94eeaab085cc898346d189a1a
2014-02-20 14:58:09 +13:00
Karl Tomlinson
9b37d054ab more debug logging for bug 966322 DONTBUILD
--HG--
extra : transplant_source : %80%DF%2C%22%06%0B7%D5%E4%12%84%D0%E8%20%95%F15%8F/%81
2014-02-20 13:15:58 +13:00
Ryan VanderMeulen
9e4f57bee6 Merge inbound to m-c. 2014-02-19 15:37:55 -05:00
Ryan VanderMeulen
0428b78c2f Backed out changeset 183380b99514 (bug 874806) for frequent mochitest asserts.
CLOSED TREE
2014-02-19 14:15:19 -05:00
Shelly Lin
302ec785c4 Bug 971664 - Assert for threadsafety issue in MediaRecorder. r=khuey 2014-02-19 12:15:53 +08:00
Alfredo Yang
5b143241b1 Bug 971639 - Support fragmented 3GP. r=cpearce 2014-02-19 11:00:34 -05:00
Alessandro Decina
2506904086 Bug 973744 - Remove matroska seek hack in the gstreamer media backend. r=edwin 2014-02-19 11:30:09 -05:00
Ralph Giles
767365078e Bug 974569 - Clean up OpusTrackEncoder array construction. r=shelly
- Use implicit array sizes for constant tables and strings.

- Use AppendElements(data, length) directly instead of the
  memcpy(AppendElements(lenth), data, length) construction.

- Use ArrayLength instead of MOZ_ARRAY_LENGTH since we're
  in C++ code.
2014-02-19 11:55:00 -08:00
Karl Tomlinson
286cf86a4e remove debugging dump() accidentally added in bug 923301
--HG--
extra : transplant_source : %9Bg%E0%7F%CEH%60%E8%23%06%5B%28kMa%BF%A2%84%0A%DC
2014-02-19 17:39:38 +13:00
Karl Tomlinson
a1bd7840b8 remove debugging dump() accidentally added in bug 931311
--HG--
extra : transplant_source : %A9%3B%3C%18%D1%5Dh%12%9A%7F%9BB%98S%F1%8F%92%5E%60%3A
2014-02-19 17:37:34 +13:00
Karl Tomlinson
d95f8969a9 b=966322 use dump instead of ok to work around bug 974073
--HG--
extra : transplant_source : %40%C5f%FCr%C5%1F%82%15%0C%AE%FB%2B%5Bs%EB%EE%D02%FF
2014-02-19 17:34:11 +13:00
Karl Tomlinson
9b1cee829f b=966322 remove unnecessary webaudio.js script include
--HG--
extra : transplant_source : %C7%9E%14%A0%DD%D5%AE%23%F2.-%DAT6%D4%0D%95c%0B%B6
2014-02-19 17:28:59 +13:00
Ryan VanderMeulen
8a4698657b Merge inbound to m-c. 2014-02-18 15:18:19 -05:00
Sotaro Ikeda
f103bf54a0 Bug 965440 - Try GRALLOC_PLANAR_YCBCR in VideoData::Create on gonk r=nical,doublec 2014-02-18 06:50:20 -08:00
John Lin
88a21871ba Bug 972246 - Keep sending EOS signal unitl OMXVideoEncoder actually receive it. r=roc 2014-02-18 08:50:15 -05:00
John Lin
974948283d Bug 963458 - Change AVC/H.264 encoder configuration for B2G emulator. r=roc 2014-02-18 08:50:08 -05:00
Karl Tomlinson
a9f43c115f b=973782 revert 8e574d7a951a, failing test from bug 938022 DONTBUILD 2014-02-18 21:31:55 +13:00
Karl Tomlinson
b4bcb7ce99 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
229f24fdcf 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
dbd3c0555b 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
264b28d651 Bug 968016 - Call MediaDecoderReader::OnDecodeThreadStart/Finish() in DecodeLoop(). r=kinetik 2014-02-18 11:53:53 +13:00
Chris Pearce
c4cc677712 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
8d5deb7730 Bug 968016 - Add threadStackSize attribute to nsIThreadPool. r=bsmedberg 2014-02-18 11:53:53 +13:00
Chris Pearce
aa8aee7920 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
5a87fcc228 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
6588bb7dfc 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
ae1764e7bf 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
ebffcf26f0 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
8ddf7de8a5 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
3920571033 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
77fe8ccc32 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
8185373937 Backed out changeset 4d0197840932 (bug 960057) for invalid bug number in the commit message. 2014-02-17 13:54:17 +01:00
Paul Adenot
34a3734b1a 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
c5c38cd75f 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
91e65e5bb7 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
9d91e4723c 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
a658447db2 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