L. David Baron
75f60fcdd7
Bug 1135170 bustage fix: add #include to fix bustage with EME disabled.
...
This led to build errors on some periodic B2G device image builds for Nexus 5-L.
2015-03-06 21:33:25 -08:00
Bobby Holley
356400b9c8
Bug 1093980 - Rewrite test_FrameSelection to avoid assuming that resizes will always be processed before firing 'seeked'. rpending=mattwoodrow
...
Nothing in the spec says this should hold, and it holds less often when we move
invalidation to happen at the end of seeking.
2015-03-06 19:17:32 -08:00
Bobby Holley
c27d915e44
Bug 1135170 - Remove garbage test_bug493187.html. rpending=mattwoodrow
...
This test is fundamentally racey - it loads very short video files (some less
than 1s), plays them, waits for timeupdate events to try to find just the right
moment to seek, performs a seek, and then checks various pieces of
playback-dependent state (while playing).
The specific issue I ran into was that the video would sometimes finish playing
before the 'seeked' event handler fired, which means that readyState is
HAVE_CURRENT_DATA (per spec). I could fiddle with the test a bit to handle this
case, but I think we're doing a disservice to ourselves by having it in the tree.
2015-03-06 19:17:24 -08:00
Bobby Holley
2d72677a34
Bug 1135170 - Fix up racey test_seek-1.html. rpending=mattwoodrow
...
The use of play() and pause() in the test is hugely problematic for short video
files and slow/laggy platforms. In particular, if playback has ended by
the time that we fire the 'seeked' event listener, then the ensuing play() will
put us back into seeking mode (seeking to 0), making the test fail.
2015-03-06 19:17:10 -08:00
Bobby Holley
189c63f10e
Bug 1135170 - Remove now-unused state machine scheduler freezing/thawing. r=mattwoodrow
2015-03-06 19:17:09 -08:00
Bobby Holley
be7c55afa1
Bug 1135170 - Rewrite the MediaDecoder-to-MediaDecoderStateMachine interface to be Promise-based. r=mattwoodrow
2015-03-06 19:17:07 -08:00
Bobby Holley
eaa91621e5
Bug 1135170 - Move the RenderVideoFrame call to the end of SeekCompleted. r=mattwoodrow
...
This means that we can get rid of the code to recheck state after dropping the
monitor. We'll remove the other monitor drop from this method in a subsequent
patch.
2015-03-06 19:17:06 -08:00
Bobby Holley
05dfa7b904
Bug 1135170 - Move some work from MDSM::Seek to MDSM::InitiateSeek. r=mattwoodrow
...
This has two implications:
* We no longer need to pipe mQueuedSeekTarget through MDSM::Seek to get the
appropriate clamping.
* MDSM::Seek doesn't _need_ to be called on the main thread anymore.
2015-03-06 19:17:04 -08:00
Bobby Holley
c204094b18
Bug 1135170 - Reap some cleanup and assertions that were waiting on this bug. r=mattwoodrow
2015-03-06 19:17:01 -08:00
Bobby Holley
46d76b41ab
Bug 1135170 - Stop updating playback position from Ogg seek and remove MediaDecoder::UpdatePlaybackPosition. r=mattwoodrow
...
The ogg reader makes two adjustments to the seek time - the first is to clamp it
between start and end time, which MDSM already does. The second is to subtract
SEEK_OPUS_PREROLL from the target. If we wanted to, we could return this as the
resolve value in the seek promise and handle the update in the MDSM. But I think
DropVideoUpToSeekTarget should actually handle this just fine.
2015-03-06 19:17:00 -08:00
Bobby Holley
bed5cb2127
Bug 1135170 - Streamline seek initiation logic and abolish manual seek cancels and retries. r=mattwoodrow
...
The model we're moving towards is one where the MDSM can just disconnect all of
its promises, send a ResetDecode down the pipe, and start doing something
unrelated.
2015-03-06 19:16:59 -08:00
Bobby Holley
2521a08947
Bug 1135170 - Stop doing sync dispatch for SeekingStarted. r=mattwoodrow
...
I can't see any reason why this should be necessary, and cursory archaeology
suggests that this too is a hand-me-down from previous threading models.
2015-03-06 19:16:57 -08:00
Bobby Holley
6404230f68
Bug 1135170 - Remove silly special case for seeking to exactly the current time. r=mattwoodrow
...
I traced this back to something 2011 or earlier and then gave up. Given that we're
doing an exact microsecond comparison here this is almost certainly dead code in
every case except for the one where the media is paused and JS does
|el.currentTime = el.currentTime|. And in that case, I think running through the
regular seek machinery is probably fine.
2015-03-06 19:16:56 -08:00
Bobby Holley
8517fe196d
Bug 1135170 - Route queued seeks back through MDSM::Seek and eliminate MDSM::StartSeek. r=mattwoodrow
2015-03-06 19:16:54 -08:00
Bobby Holley
edce4188ef
Bug 1135170 - Pin MediaResource in OggReader::GetSeekRanges. r=mattwoodrow
...
All consumers of MediaCacheStream::GetCachedRanges do this except this one.
2015-03-06 19:16:53 -08:00
Bobby Holley
8e66b38e57
Bug 1140675 - Disable failing tests on windows opt. r=me
2015-03-06 19:11:51 -08:00
Jan-Ivar Bruaroey
eabcb6cc42
Bug 1140363 - fire recording-window-ended on gUM failures, like we do on deny r=jesup
2015-03-06 13:23:33 -05:00
Paul Adenot
a043318e07
Bug 1130077 - Bump the number of iterations to prevent failures on slow machines. r=ehsan
2015-03-05 13:30:12 +01:00
Karl Tomlinson
14d009b649
bug 1138229
GetOutputStreamInfo() after each SetOutputType() r=cpearce
2015-02-26 17:59:37 +13:00
Karl Tomlinson
10d481fc98
bug 1138238 reset video frame geometry on each init r=cpearce
2015-02-26 15:25:55 +13:00
Karl Tomlinson
3c911ae09d
bug 1138238 ensure mUseHwAccel is set appropriately when WMFVideoMFTManager::Init() is called after Shutdown() r=cpearce
2015-02-26 14:24:33 +13:00
Karl Tomlinson
2d82a73b83
bug 1138238 remove unused member variables from WMFVideoMFTManager r=cpearce
2015-02-26 14:40:47 +13:00
Geoff Brown
3709a0373e
Bug 1138468 - Disable test_audioBufferSourceNodeNeutered.html on android debug; r=trivial
2015-03-05 10:47:41 -07:00
Ryan VanderMeulen
7fe8f52110
Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop.
2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
bc461e5e9f
Backed out changeset 816591da074c (bug 752796) for disabling the wrong test.
2015-03-05 09:34:32 -05:00
Ryan VanderMeulen
f6bc49c327
Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop.
2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
a83ec50948
Bug 1096270 - Skip test_streams_gc.html on B2G Desktop.
2015-03-05 09:29:19 -05:00
JW Wang
e3c78339dd
Bug 1113596 - add logs to track media element events. r=edwin
2015-03-04 18:43:00 +01:00
Carsten "Tomcat" Book
656a026986
Backed out changeset 72a843ecfb92 (bug 1128380) for m3 test failures on a CLOSED TREE
2015-03-05 08:40:45 +01:00
Carsten "Tomcat" Book
d33d75ba98
Backed out changeset 5d97bad42411 (bug 1128380)
2015-03-05 08:38:47 +01:00
Jean-Yves Avenard
bd7cb8851d
Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce
2015-03-05 16:53:47 +11:00
Jean-Yves Avenard
d77c2f7f49
Bug 1128380: Add IsHardwareAccelerated implementation for AVCC and mac decoder. r=cpearce
2015-03-05 16:53:44 +11:00
Anthony Jones
f5ae0bc523
Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik
2015-03-05 17:30:44 +13:00
Sotaro Ikeda
bf0c769d58
Bug 1128357 patch 4: Asynchronize SetDormant() r=cpearce,bobbyholley
2015-03-04 17:34:46 -08:00
Sotaro Ikeda
a037f548cf
Bug 1128357 patch 3: test for video playback with dormant r=cpearce
2015-03-04 17:34:17 -08:00
Sotaro Ikeda
796ca98bba
Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce
2015-03-04 17:33:40 -08:00
Sotaro Ikeda
dad8dee2fb
Bug 1128357 Patch 1 - Add extra dormant logging r=bobbyholley
2015-03-04 17:32:54 -08:00
Bobby Holley
cb0426552d
Bug 1136399 - Add test_WaitingOnMissingData_mp4.html and disable the webm version for now. r=jya
2015-03-04 16:22:34 -08:00
Ryan VanderMeulen
ccc4d17f94
Backed out 4 changesets (bug 1128357) for causing intermittent B2G mochitest asserts.
...
Backed out changeset da4499b52105 (bug 1128357)
Backed out changeset fa440c623c4d (bug 1128357)
Backed out changeset 36b8feee431e (bug 1128357)
Backed out changeset aaa85558f413 (bug 1128357)
CLOSED TREE
2015-03-04 12:53:06 -05:00
Paul Adenot
42ad5285ab
Backed out 2 changesets (bug 1081819) for crashtest failures, on a CLOSED TREE.
...
Backed out changeset 6f6d897fc65c (bug 1081819)
Backed out changeset 796e84a25f16 (bug 1081819)
2015-03-04 17:31:36 +01:00
Andreas Pehrson
9a07bdde1f
Bug 1081819 - Add mochitest for piping WebAudio in and out of PeerConnection. r=jesup,padenot
2015-03-02 18:07:20 +08:00
Andreas Pehrson
162fe2027d
Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc,padenot
2015-03-02 17:08:40 +08:00
Sotaro Ikeda
62b4565102
Bug 1128357 patch 4: Asynchronize SetDormant() r=bobbyholley,cpearce
2015-03-04 06:37:49 -08:00
Sotaro Ikeda
a6c40218f5
Bug 1128357 patch 3: test for video playback with dormant r=cpearce
2015-03-04 06:37:31 -08:00
Sotaro Ikeda
9b61959b7a
Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce
2015-03-04 06:37:04 -08:00
Sotaro Ikeda
a5cc6827d0
Bug 1128357 Patch 1: Add extra dormant logging r=cpearce
2015-03-04 06:36:46 -08:00
Benjamin Chen
50bbcfe822
Bug 1129376 - Fix crash by moving ConfigureMediaCodec from binder thread to out own thread. r=sotaro
2015-03-02 03:57:46 +08:00
Chris Pearce
1602a44e7d
Bug 1138771 - Ensure we don't deref a null pointer in assertion in GMPVideoDecoderParent::Shutdown(). r=edwin
2015-03-04 23:20:45 +13:00
JW Wang
171cf0ee9d
Bug 1139270 - mark kGMPOutputDownscaled keys able to decrypt. r=cpearce
2015-03-04 22:26:23 +13:00
Jean-Yves Avenard
e46da36310
Bug 1138922: Fix build bustage. r=mattwoodrow
2015-03-04 18:53:15 +11:00