Vaibhav Agarwal
b192b2603d
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Gian-Carlo Pascutto
525f2cc8df
Bug 978851 - LoadInfo::UpdateSystemLoad warns about format string in sscanf. r=padenot
2014-03-06 07:53:34 +01:00
Karl Tomlinson
fa380ef49d
b=973782 revert 8e574d7a951a, intermittently failing test from bug 938022 DONTBUILD
2014-03-06 13:24:10 +13:00
Karl Tomlinson
495816fdee
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
1921394dce
Bug 976510 - Calculate display size according to pixel aspect-ratio. r=cpearce
2014-03-05 08:47:45 -05:00
Matthew Gregan
008bca7069
Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir
2014-03-05 16:35:47 +13:00
Matthew Gregan
569e29ee6e
Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir
2014-03-05 16:35:47 +13:00
Matthew Gregan
db37ba47ff
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
1b6419575b
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
66706f5a6e
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
0c268a0156
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
7f8291169e
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
b26646dc21
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
5149f3ce4d
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
4537ee0a7d
b=857610 test DelayNode channel count changes
...
--HG--
extra : rebase_source : 99dbe2400b972fa7f0d331ae35be07f52d81071e
2014-03-05 10:06:56 +13:00
Karl Tomlinson
5ce1fa5e84
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
369f5ab0a0
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
44b2ebd946
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
c7c0b50e5b
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
f5dd4e8ef8
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
5d7f75173f
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
9be1d4b017
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
1ee282dbfe
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
ed45530108
Merge inbound to m-c.
2014-03-03 17:00:34 -05:00
Randy Lin
8217910936
Bug 973235 - Intermittent test_mediarecorder_getencodeddata.html | should get onError first. r=jsmith
2014-03-03 15:34:14 +08:00
Benjamin Chen
c8cf0ff00c
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
f0c4c10d46
Bug 969289 - Treat the null image pointer as a muted frame. r=rillian
2014-02-10 11:22:03 +08:00
Carsten "Tomcat" Book
cf79e4a70d
Backed out changeset 0ca230c9d79a (bug 975270) for m4 b2g-ics opt permanent test failure
2014-03-03 11:09:25 +01:00
Chris Pearce
235ecad631
Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin
2014-03-03 19:57:10 +13:00
Chris Pearce
5eb79ee405
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
7aad77cff1
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
1495cd8f94
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
433c5de893
Merge m-c to inbound.
2014-02-28 10:15:57 -05:00
Ryan VanderMeulen
b3e8b1ec7f
Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc
2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
67109b9a5c
merge b2g-inbound to mozilla-central
2014-02-28 14:42:11 +01:00
Ryan VanderMeulen
d8c7359358
Merge m-c to b2g-inbound.
2014-02-27 17:34:25 -05:00
Sotaro Ikeda
d4c5f44335
Bug 977596 - Fix build failure on flatfish r=jmuizelaar
2014-02-27 13:26:22 -08:00
Benjamin Bouvier
7a3e028e1e
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
3881eee49f
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
062c5c1743
Bug 976471 - Implement AnalyserNode.getFloatTimeDomainData(). r=karlt
...
--HG--
extra : rebase_source : cfe6f31f7991c84cf8e0f2679cd89560260d0f40
2014-02-25 11:30:48 +01:00
Chris Pearce
b3b564fef6
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
be4de7a229
Backed out changeset 3d8a39b9c13e (bug 976037) for media test failures
2014-02-26 15:38:48 -08:00
Tony Young
17eca66403
test for bug 972678
...
--HG--
extra : rebase_source : 60639d14b248ec457a42112aa501ded2739d980e
2014-02-27 11:45:04 +13:00
Karl Tomlinson
69a2052a86
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
b67e55e686
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
fb984ab14d
test for bug 938022
...
--HG--
extra : rebase_source : 69a7203cb040ef6b33666c2444b8df043dbf7f32
2014-02-24 12:41:47 +13:00
cajbir
3b4326578b
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
dfb9ad9186
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
50be31651c
Bug 970774 - Add display width/height for track encoder. r=rillian
2014-02-21 14:27:41 +08:00
Chris Pearce
658355882f
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
9272d52033
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
0403518a64
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
741f2a7cc5
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
4d5dc0e37d
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
21b3b55c2d
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
9bb768bc16
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
a4ec495736
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
60446c5e55
Merge mozilla-central to mozilla-inbound
2014-02-25 15:18:06 +01:00
Carsten "Tomcat" Book
3d4f8f1aaf
merge b2g-inbound to mozilla-central
2014-02-25 14:30:13 +01:00
Alex Xu
980725d996
Bug 967927 - Fix Clang build warning in gstreamer. r=eflores
2014-02-25 08:40:54 -05:00
Chris Pearce
93f42ad1bf
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
96ccec4f5c
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
c0ff94d478
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Wes Kocher
a2628aed68
Merge inbound to m-c
2014-02-24 17:45:16 -08:00
Sotaro Ikeda
50391c488c
backout Bug 957323
2014-02-24 07:52:04 -08:00
Sotaro Ikeda
98bad732aa
Bug 957323 - handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 07:29:43 -08:00
Alfredo Yang
5cdd45c736
Bug 974322 - Separate AAV/AVC codec name. r=cpearce
2014-02-24 09:19:21 -05:00
Ehsan Akhgari
83afc1afae
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
04f515d1c1
Backed out changeset d22ac63d67f1 (bug 967927) for bustage.
...
CLOSED TREE
2014-02-24 10:56:37 -05:00
Alex Xu
0bffff7397
Bug 967927 - Fix Clang build warning in gstreamer. r=eflores
2014-02-24 10:22:59 -05:00
Ehsan Akhgari
790a3e8ead
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
2ebca122a4
Merge m-c to inbound
2014-02-20 19:37:22 -08:00
Wes Kocher
ed12925d1c
Merge inbound to m-c
2014-02-20 19:19:18 -08:00
Ehsan Akhgari
067fa188b6
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
Ryan VanderMeulen
a10b7b8317
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
5a8f7d120a
Bug 951288 - Convert assertion to a warning to hide intermittent test failures. r=cpearce
2014-02-20 15:52:57 -05:00
Steven Lee
bdd7b9128d
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
525296f898
Bug 821062 - Share a decoding thread pool for all AudioContexts; r=padenot
2014-02-20 09:02:14 -05:00
JW Wang
dac52a8000
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
edbdb02e8e
merge b2g-inbound to mozilla-central
2014-02-20 12:54:27 +01:00
Mike Habicher
6137c43056
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
bab84644eb
Bug 973696 - fix CameraControl lifetime regressions in WebRTC, r=jesup
2014-02-19 23:18:50 -05:00
Karl Tomlinson
61dff00561
b=966322 work around bug 916387 DONTBUILD
...
--HG--
extra : rebase_source : 8c99076c2fdcf1f94eeaab085cc898346d189a1a
2014-02-20 14:58:09 +13:00
Karl Tomlinson
0f3bcf4035
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
2d8ed4e51a
Merge inbound to m-c.
2014-02-19 15:37:55 -05:00
Ryan VanderMeulen
cc2c16c634
Backed out changeset 183380b99514 (bug 874806) for frequent mochitest asserts.
...
CLOSED TREE
2014-02-19 14:15:19 -05:00
Shelly Lin
0617a38104
Bug 971664 - Assert for threadsafety issue in MediaRecorder. r=khuey
2014-02-19 12:15:53 +08:00
Alfredo Yang
60fbbe1588
Bug 971639 - Support fragmented 3GP. r=cpearce
2014-02-19 11:00:34 -05:00
Alessandro Decina
020c46405a
Bug 973744 - Remove matroska seek hack in the gstreamer media backend. r=edwin
2014-02-19 11:30:09 -05:00
Ralph Giles
19436bbed1
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
0610cbd281
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
00a40671d5
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
206a14129a
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
277ffadee0
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
97d61fb9a8
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
f1cdaa0e45
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
5a85356db5
Merge m-c to inbound.
2014-02-24 16:18:45 -05:00
Edwin Flores
6f4a557e27
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
bb75ebbe6a
Merge inbound to m-c.
2014-02-18 15:18:19 -05:00
Sotaro Ikeda
2e29803c25
Bug 965440 - Try GRALLOC_PLANAR_YCBCR in VideoData::Create on gonk r=nical,doublec
2014-02-18 06:50:20 -08:00