Commit Graph

3575 Commits

Author SHA1 Message Date
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