Commit Graph

3726 Commits

Author SHA1 Message Date
Nathan Froyd
fb7c786978 Bug 978105 - convert content/ to use Endian.h; r=smaug 2014-02-26 20:20:15 -05:00
Benjamin Chen
8cea15e176 Bug 970787 - Support yuv 4:4:4 4:2:2 video in VP8TrackEncoder by libyuv for color conversion. r=rillian 2014-02-21 16:35:13 +08:00
Phil Ringnalda
9af2bc08c2 Merge m-c to b-i 2014-03-09 20:43:45 -07:00
Sotaro Ikeda
1cfc388ae8 Bug 981112 - Destruct MediaDecoderReader first r=padenot 2014-03-09 14:27:15 -07:00
Chris Peterson
d1b61fb8da Bug 980810 - Part 1: Fix clang -Wstring-conversion warnings in WebM container writer. r=rillian 2014-03-07 00:49:34 -08:00
David Major
c895398cd1 Bug 980524: Increase test's fuzzTolerance to accommodate VS2013. r=ehsan
--HG--
extra : rebase_source : 4ebb7cb84a04d03eb8f02587664bfa115a6e78d1
2014-03-07 13:39:13 -08:00
Randell Jesup
62da441ba1 Bug 980096: fix leaks of VoiceEngines by reinstating use of ScopedCustomReleasePtr r=khuey
--HG--
rename : media/webrtc/signaling/src/media-conduit/MediaEngineWrapper.h => media/webrtc/signaling/src/common/MediaEngineWrapper.h
2014-03-09 00:18:50 -05:00
Masatoshi Kimura
ce84311eeb Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey 2014-03-07 20:51:51 +09:00
Vaibhav Agarwal
bb9b55bec2 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
1dd6d7f149 Bug 971132 - B2G mochitests should use the new manifest format [directories]; r=jmaher 2014-03-06 13:42:45 -05:00
Vaibhav Agarwal
64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Gian-Carlo Pascutto
6136d94c75 Bug 978851 - LoadInfo::UpdateSystemLoad warns about format string in sscanf. r=padenot 2014-03-06 07:53:34 +01:00
Karl Tomlinson
c181546a58 b=973782 revert 8e574d7a951a, intermittently failing test from bug 938022 DONTBUILD 2014-03-06 13:24:10 +13:00
Karl Tomlinson
9900cfe3cc b=865241 test HRTF panner left/right symmetry and block-offset invariance
--HG--
extra : transplant_source : Z%7E%83XS%0Ck%09%00%0A%CA%D9%FF%B8%D3%9E%FB%D72j
2014-03-06 13:16:37 +13:00
Alfredo Yang
1599acb8ce Bug 976510 - Calculate display size according to pixel aspect-ratio. r=cpearce 2014-03-05 08:47:45 -05:00
Matthew Gregan
f79cc8e5b0 Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
81a3e1dcc1 Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
2dd9fc6e68 Bug 979096 - Rename PR_LOG uses to MSE_LOG in content/media/mediasource. r=cajbir 2014-03-05 16:35:46 +13:00
Wes Kocher
341a6e1a03 Backed out changeset f814a1a08de6 (bug 865241) for failing at least once per push since the test landed 2014-03-04 18:22:18 -08:00
Masayuki Nakano
08a11f7934 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Karl Tomlinson
5ae65fd2c5 b=932400 rename ProduceOutput to ProcessInput r=roc
--HG--
extra : transplant_source : m0%91%3D%99%EB.%20%28%BD%B4%F4%A5%3F%0C%13%22%BA%FD%06
2014-03-05 10:53:55 +13:00
Karl Tomlinson
f750989023 b=932400 rename ProduceAudioBlock to ProcessBlock r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
extra : rebase_source : ebdc7404c8d27e3a24098f21a7752df529bb44c9
2014-03-05 10:09:49 +13:00
Karl Tomlinson
30acdbb926 b=932400 allow DelayNodeEngine to produce output before input r=padenot
--HG--
extra : rebase_source : 73991e2d1438862e05bb5a299a6f90935c4a51b2
2014-03-05 10:06:57 +13:00
Karl Tomlinson
da3263b6c1 b=857610 handle DelayNode channel count changes and separate buffer read and write r=padenot
The basic idea is to write out the signal that came in with the same number of
channels as it had when it came in.  Things get a bit more complicated when
one output block may be derived from more than one input block, each having
different numbers of channels.  When this happens, the input blocks with fewer
channels are upmixed, so as not to lose (or distort) any signal in the block
with more channels.

HRTFPanner no longer uses exponential decay (with time constant 20ms) for
delay changes, but a smoother linear transition during cross-fade time (~45ms).

--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : 18453d631779cd7d0672b5325e110b107ab4237d
2014-03-05 10:06:57 +13:00
Karl Tomlinson
b1e326d287 b=857610 test DelayNode channel count changes
--HG--
extra : rebase_source : 99dbe2400b972fa7f0d331ae35be07f52d81071e
2014-03-05 10:06:56 +13:00
Karl Tomlinson
ea3c0eec18 b=865241 test HRTF panner left/right symmetry and block-offset invariance
--HG--
extra : rebase_source : 95ae651bd082760bfa5b6e45f5439408419473ad
2014-03-05 10:06:44 +13:00
Karl Tomlinson
0eb63bd381 b=857610 optimize delay clamping a little, by clamping in only one place r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : 48d60cb003205a550504bcd0042ef73fc8727f97
2014-03-03 12:49:46 +13:00
Karl Tomlinson
83baad2302 b=857610 remove unnecessary HRTFPanner loop as a block is always the same size r=padenot
--HG--
extra : rebase_source : 6325ac6ad4ee25c6b0facaaec27d1a0a25772107
2014-03-03 12:49:45 +13:00
Karl Tomlinson
b4147c8c5c b=857610 rename DelayProcessor to DelayBuffer r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : be71a5abbcf067f513fbaf2967745e80383d285f
2014-03-03 12:49:45 +13:00
Ehsan Akhgari
667b4bc049 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
JW Wang
0571ecbb6d Bug 969706 - Playback may reach end before pref change is completed thus no more timeupdate events. Set loop to true to keep playing. r=padenot 2014-03-04 11:11:19 +08:00
Chris Pearce
49c57363fd Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc 2014-02-28 15:01:47 +13:00
Matthew Gregan
53b33e469e Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double
It's not implemented by other vendors and marked as "at risk" in the spec.
Easy to add back if there's real demand/a concrete spec.
2014-03-04 15:31:57 +13:00
Ryan VanderMeulen
a1a491b145 Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
Randy Lin
65e6f8ab22 Bug 973235 - Intermittent test_mediarecorder_getencodeddata.html | should get onError first. r=jsmith 2014-03-03 15:34:14 +08:00
Benjamin Chen
679a21fa8a Bug 969289 - Add new test_mediarecorder_record_gum_video_timeslice.html test case. r=jsmith 2014-02-18 11:11:18 +08:00
Benjamin Chen
4376c01b11 Bug 969289 - Treat the null image pointer as a muted frame. r=rillian 2014-02-10 11:22:03 +08:00
Carsten "Tomcat" Book
62db968cb8 Backed out changeset 0ca230c9d79a (bug 975270) for m4 b2g-ics opt permanent test failure 2014-03-03 11:09:25 +01:00
Chris Pearce
cc37b25d74 Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin 2014-03-03 19:57:10 +13:00
Chris Pearce
0134c520ed Bug 861136 - Strip whitespace from MediaDecoderStateMachine.cpp that was introduced in previous changeset. r=whitespace DONTBUILD 2014-03-03 14:55:33 +13:00
Chris Pearce
3c516ef42d Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc 2014-02-28 15:01:47 +13:00
Chris Pearce
b8260836d4 Bug 861136 - Don't start buffering media state machine when we don't need to. r=roc 2014-03-03 14:49:52 +13:00
Ryan VanderMeulen
bc6f7d9058 Merge m-c to inbound. 2014-02-28 10:15:57 -05:00
Ryan VanderMeulen
16c3cc3a7c Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc 2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
0983fbe801 merge b2g-inbound to mozilla-central 2014-02-28 14:42:11 +01:00
Ryan VanderMeulen
8e1451ad9a Merge m-c to b2g-inbound. 2014-02-27 17:34:25 -05:00
Sotaro Ikeda
9b4a9e519a Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08:00
Benjamin Bouvier
460c4df9b5 Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
cajbir
d4f889268d Bug 976037 - Implement an eviction algorithm for media source extensions - r=kinetik
--HG--
extra : rebase_source : 9727384f364f88957db822905436c19c4943c019
2014-02-28 13:54:48 +13:00
Paul Adenot
0cd6654de1 Bug 976471 - Implement AnalyserNode.getFloatTimeDomainData(). r=karlt
--HG--
extra : rebase_source : cfe6f31f7991c84cf8e0f2679cd89560260d0f40
2014-02-25 11:30:48 +01:00
Brian Hackett
c39fd409c3 Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-17 11:46:04 -06:00
Chris Pearce
5f48ec60ad Bug 977314 - Serve all media mochitest files with 'Cache-Control: no-store' header, so Necko doesn't mess with our byte-range-request detection code. r=kinetik 2014-02-27 16:06:03 +13:00
Wes Kocher
a904a08270 Backed out changeset 3d8a39b9c13e (bug 976037) for media test failures 2014-02-26 15:38:48 -08:00
Tony Young
7a35e5fae0 test for bug 972678
--HG--
extra : rebase_source : 60639d14b248ec457a42112aa501ded2739d980e
2014-02-27 11:45:04 +13:00
Karl Tomlinson
75881c5ca5 b=913854 pass start time as double parameter and subsample align r=padenot
The subsample alignment of resampled buffers provides seamless playback even
when buffer durations are not an integer number of track ticks.

--HG--
extra : rebase_source : 0fcd52e8a9560de881aa73931cf22a02f984d748
2014-02-27 11:45:04 +13:00
Karl Tomlinson
d68f21ee08 b=913854 capture the full extent of the resampling filter r=padenot
The resampling filter means that the buffer influences a greater number of
samples than indicated by just its length.  Including the full influence of
the linear filter means that adjacent buffers aligned appropriately will
behave as if they were one extended buffer.

The buffers are not yet aligned more carefully than track ticks, so buffers
play back seamlessly only if their sample rates and lengths are such that
their duration is an integer number of track ticks.

Knowing how far the filter extends before the start time requires
initializing the resampler before buffer processing.

The patch also includes the input latency in the first resampler input
buffer sample count estimate to reduce the number to calls required
to start the resampler.

--HG--
extra : rebase_source : 16d5af79bc5621be830f5956b51f7ff59d490575
2014-02-27 11:45:03 +13:00
Tony Young
2e56670ab5 test for bug 938022
--HG--
extra : rebase_source : 69a7203cb040ef6b33666c2444b8df043dbf7f32
2014-02-24 12:41:47 +13:00
cajbir
3274af8c70 Bug 976037 - Implement an eviction algorithm for media source extensions - r=kinetik
--HG--
extra : rebase_source : c21db9dc093b4021ab5dc192564d5fb3e93e2d2c
2014-02-26 15:33:06 +13:00
L. David Baron
03ba2e465b Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Benjamin Chen
ae286efd04 Bug 970774 - Add display width/height for track encoder. r=rillian 2014-02-21 14:27:41 +08:00
Chris Pearce
e4a3b34c5f Bug 975933 - Increase precision of bug516323.indexed.ogv index's timestamp denominator to prevent precision mismatch causing test failures. r=rillian 2014-02-26 13:36:54 +13:00
Chris Pearce
57af360d3c Bug 975858 - Ensure that MediaResource dtor always runs on the main thread, making it safe to deref on non-main threads. r=roc 2014-02-26 13:36:54 +13:00
Chris Pearce
31baca752d Bug 975928 - Use our estimate for MP3 duration rather than GStreamer's for buffered range end when fully buffered in MP3/GStreamer. r=alessandro.d 2014-02-26 13:36:54 +13:00
Chris Pearce
5ae8369536 Bug 975928 - Make test_buffered.html load media using xhr, so it's deterministic. r=kinetik 2014-02-26 13:36:54 +13:00
Ralph Giles
3b0ebc5cf1 Bug 976211 - pref off test_framebuffer.html. r=kinetik
This test no longer passes, the failure masked by bug 975640.

Since this feature is deprecated and disabled anyway, just
make the test do nothing if the controlling pref is false.
That way we can re-enable tests, but if the feature is
restored the bitrot in the implementation will be flagged.

Also change the channel count back to 6, since we're reporting
the native value again.
2014-02-24 14:54:00 -08:00
Ralph Giles
e9b39b6c36 Bug 964559 - Expect empty string for canPlayType failure. r=doublec
As the mpeg and dash tests already knew, canPlayType() returns an
empty string ("") instead of "no" for unsupported formats. The
can_play_no_foo tests have been broken for some time.
2014-02-21 13:57:00 -08:00
Ralph Giles
4dea9ead6c Bug 964559 - Run ogg mochitests unconditionally. r=doublec
Now that support is always enabled, we can remove the conditionals
on the ogg-dependent tests.

The canplay test previously run only if ogg was disabled is updated
to verify that the runtime pref works when set to a non-default
'false' value.
2014-02-21 13:55:00 -08:00
Ralph Giles
24597e8179 Bug 964559 - Remove MOZ_OGG. r=doublec,ted
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
Carsten "Tomcat" Book
a965a12333 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Carsten "Tomcat" Book
b890bb080b merge b2g-inbound to mozilla-central 2014-02-25 14:30:13 +01:00
Alex Xu
2f5201d33b Bug 967927 - Fix Clang build warning in gstreamer. r=eflores 2014-02-25 08:40:54 -05:00
Chris Pearce
d18115bb52 Bug 634747 - Set MediaQueue's to Finished() when we reach end of stream while decoding after seeking and while finding first frame. r=kinetik 2014-02-25 18:45:03 +13:00
Steven Lee
4ebfd597ee Bug 970183: Support phone rotation in gUM at start of capture r=slee,cjku,jesup 2014-02-25 02:22:36 -05:00
Sotaro Ikeda
c5c7a00346 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Wes Kocher
3f720dc89f Merge inbound to m-c 2014-02-24 17:45:16 -08:00
Sotaro Ikeda
c14e6b0942 backout Bug 957323 2014-02-24 07:52:04 -08:00
Sotaro Ikeda
1acf2e8c86 Bug 957323 - handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 07:29:43 -08:00
Alfredo Yang
3cb190742b Bug 974322 - Separate AAV/AVC codec name. r=cpearce 2014-02-24 09:19:21 -05:00
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
Ryan VanderMeulen
76aac23414 Backed out changeset d22ac63d67f1 (bug 967927) for bustage.
CLOSED TREE
2014-02-24 10:56:37 -05:00
Alex Xu
0f87ca573e Bug 967927 - Fix Clang build warning in gstreamer. r=eflores 2014-02-24 10:22:59 -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
Rick Eyre
520a4edf62 Bug 865407 - Part 8: Update vtt.js to latest version. r=rillian
This completes the initial implementation of the processing algorithm.
The algorithm doesn't support vertical text yet, but that's not a
big issue since Firefox doesn't support it.
2014-02-21 22:11:06 -05: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
Bobby Holley
2bbdf9b30b Bug 976105 - Remove test-suite dependency on unprivileged calls to constructor-as-function. r=bz 2014-02-24 14:40:21 -08:00
Ryan VanderMeulen
130e1b3976 Merge m-c to inbound. 2014-02-24 16:18:45 -05:00
Edwin Flores
c0054ef440 Bug 970076 - Set preferred video colour format for OMX on Android 4.2 and 4.3 r=doublec
Android 4.2 introduced some relatively major changes in the way that Android
negotiates its output colour format. This was fixed on 4.4 KitKat in bug 953394.
This patch just lets Android versions 4.2 and 4.3 use the same fix.
2014-02-19 17:11:42 +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
Phil Ringnalda
7d3085e511 Merge b-i to m-c 2014-02-15 10:01:36 -08:00
Vaibhav Agarwal
2ae37b022e 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
7c0659c348 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
557d8c2d5c Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
b7bc5d26da Merge m-c to inbound. 2014-02-14 15:32:02 -05:00
Rick Eyre
3daf27dc4e 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
0f68038790 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
c1bd2f002f 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
79ca8d245f 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
Alessandro Decina
e5171718f2 Bug 874806 - GStreamerReader::PlayBinSourceSetupCb() doesn't need to do a bogus read anymore. r=cpearce 2014-02-18 08:59:32 -05:00
Chris Pearce
7d1bb71973 Bug 903051 - Prevent aborted loads from messing with ChannelMediaResource state. r=roc 2014-02-13 17:08:55 +13:00
Ryan VanderMeulen
74a3c05243 Merge inbound to m-c. 2014-02-12 15:48:01 -05:00
Alfredo Yang
8a2d8862cf Bug 970793 - Update correct base_data_offset. r=cpearce 2014-02-12 09:54:56 -05:00
JW Wang
69ea137fe6 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
34f969356b 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
3bfaf86a69 Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00