Commit Graph

3595 Commits

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