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
JW Wang
7d79d20307
Bug 1131908 - no IPC calls after GMPDecryptorChild::RecvDecryptingComplete(). r=edwin.
2015-03-04 10:04:33 +08:00
Anish
b9d3be97ea
Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers
2015-03-03 08:46:37 -05:00
JW Wang
dcde4e29c1
Bug 901102 - wait until ended events are received on all media elements before comparing end time. r=roc.
2015-03-03 11:09:42 +08:00
JW Wang
ff97a317c8
Bug 1128417 - handle playback ended in a consistent way for both file and stream case. r=roc.
2015-03-03 11:08:50 +08:00
JW Wang
3bf536b866
Bug 1127235 - refactor stream clock calculation in MediaDecoderStateMachine. r=roc.
2015-03-03 10:43:38 +08:00
Andreas Pehrson
d7ef0ecef9
Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup
2015-02-09 15:23:34 +08:00
Andreas Pehrson
f5630e5649
Bug 1129263 - Part 4. Use MediaInfo instead of mHasAudio/Video in media element. r=roc
2015-02-09 14:51:17 +08:00
Andreas Pehrson
7c048a5765
Bug 1129263 - Part 3. Add tracks atomically when capturing from decoder. r=roc,jesup
2015-02-24 13:11:32 +08:00
Andreas Pehrson
d61e1fd8f3
Bug 1129263 - Part 2. Put hardcoded numeric TrackIDs in MediaInfo instead of DOMMediaStream. r=roc,jesup
2015-02-24 13:06:54 +08:00
Andreas Pehrson
883166e5ba
Bug 1129263 - Part 1. Add an event to MediaStreamListener for handling atomically added tracks. r=roc,jesup
2015-02-06 17:38:11 +08:00
Matt Woodrow
2af8d4bf77
Bug 1131638 - Followup to fix bustage. CLOSED TREE
2015-03-03 18:31:20 +13:00
Jean-Yves Avenard
1109a9b646
Bug 1137100: Don't skip audio samples with a negative presentation time. r=cpearce
...
This allows for having the same decoding behavior across all platforms.
2015-03-03 16:29:28 +11:00
Anthony Jones
fa86250384
Bug 1138253 - Count dropped frames directly; r=cpearce
2015-03-03 17:46:48 +13:00
Anthony Jones
355e1787db
Bug 1138253 - Clean up AutoNotifyDecoded; r=cpearce
2015-03-03 17:46:46 +13:00
Matt Woodrow
3d7cc5b1c1
Bug 1138260 - Add typed Microseconds class and use it for the range removal algorithm. r=jya,kinetik
2015-03-03 17:38:45 +13:00
Anthony Jones
cb8ffc5ee9
Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce
2015-02-20 16:27:42 +13:00
Edwin Flores
a76a4d52fd
Bug 1131392 - Remove unused test code after disabling non-MSE EME - r=cpearce
2015-03-03 11:02:36 +13:00
Edwin Flores
cdb7718806
Bug 1131392 - Fix EME tests after disable non-MSE EME - r=cpearce
2015-03-03 11:02:36 +13:00
Karl Tomlinson
cf7b4f65c5
bug 1123492 remove ResetDecode() call from MediaSourceReader::AttemptSeek() r=mattwoodrow
...
and this was already called before Seek().
2015-02-17 14:35:47 +13:00
Karl Tomlinson
ccdb088d7b
bug 1123492 ResetDecode() on subreaders before Seek() r=mattwoodrow
2015-02-28 19:46:22 +13:00
Karl Tomlinson
e2c5c103e6
bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow
2015-02-17 13:58:55 +13:00
Karl Tomlinson
ac6c6affb1
bug 1137076 mark some methods as private r=edwin
2015-02-28 14:44:07 +13:00
Karl Tomlinson
2590a61d75
bug 1137076 handle null mDecoder during Reader shutdown r=edwin
2015-02-28 14:32:19 +13:00
Karl Tomlinson
2928656386
bug 1137076 remove declaration of undefined OmxDecoder::ProcessCachedData() r=edwin
2015-02-28 10:32:27 +13:00
Jean-Yves Avenard
aa07e76223
Bug 1131433: Fix build on a CLOSED TREE r=me
2015-03-03 11:30:06 +11:00
Wes Kocher
739de2c043
Bug 1131433 - Further fixes to SourceBufferDecoder.cpp. DONTBUILD CLOSED TREE
2015-02-27 15:35:23 -08:00
Nigel Babu
fb1b5043d5
Backed out changeset a622dbe33efb (bug 1135544) for ASAN mochitest-3 bustage on CLOSED TREE
2015-03-02 18:13:39 +05:30
Anthony Jones
7dea01a959
Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik
2015-03-02 16:34:44 +13:00
Bobby Holley
aa3b26a74c
Bug 1135785 - Hoist some work onto the state machine thread and tighten down our assertions. r=cpearce
2015-03-01 19:33:53 -08:00
Bobby Holley
4bd9040eca
Bug 1135785 - Stop manually resetting mCurrentSeekTarget in MDSM::SeekCompleted and rely on the AutoSetOnScopeExit instead. r=cpearce
...
For some reason the current code is resetting it twice - once explicitly and
once with the AutoSetOnScopeExit. To make matters worse, we have a monitor drop
between the two. So when DecodeSeek runs on the decode task queue but SeekCompleted
runs on the state machine thread, we can start another DecodeSeek during the monitor
drop, and then clobber it with the AutoSeetOnScopeExit, causing us to hang.
This is a non-issue with the patches in bug 1135170, but necessary to make the
patches in this bug independently green.
2015-03-01 19:33:52 -08:00
Bobby Holley
68ac0259e2
Bug 1135785 - Stop invoking StopPlayback in SetDormant. r=cpearce
...
This already gets incoded in the DECODER_STATE_DORMANT case of RunStateMachine,
which will run momentarily on the state machine thread. Doing this allows us to
avoid calling StopPlayback on the main thread.
2015-03-01 19:33:50 -08:00
Bobby Holley
4ffe849a5a
Bug 1135785 - Return samples on state machine thread. r=cpearce
...
This is necessary because we're going to want to start disconnecting sample
and seek requests directly from the state machine thread, and the machinery
asserts that disconnection happens on the same thread as resolution.
More generally, this is the right thing to do architecturally, and will help
wean us off the monitor.
2015-03-01 19:33:49 -08:00
Bobby Holley
887b211fd3
Bug 1135785 - Make DecodeError safe to run on any thread. r=cpearce
...
This is necessary so that we can make On{Audio,Video}{,Not}Decoded run on the
state machine thread in the next patch.
2015-03-01 19:33:48 -08:00
Bobby Holley
0e2adf3284
Bug 1135785 - Make MediaTaskQueue::IsCurrentThreadIn actually do the right thing on release builds. r=cpearce
...
The current situation is really dangerous because it compiles on release builds,
but just lies. This bit me when I tried to use it for non-assertion purposes.
My reading of the reasoning for the current setup in bug 968016 is that we didn't
trust nsIEventTarget::IsCurrentThreadOn or thought it might be slow. But the
implementation of MediaTaskQueue::IsCurrentThreadIn doesn't actually use that, and
indeed currently does all of the work for this feature in release builds anyway.
2015-03-01 19:33:46 -08:00
Bobby Holley
2c6b1b64e3
Bug 1135785 - Introduce a 1-argument overload of ProxyMediaCall. r=cpearce
2015-03-01 19:33:45 -08:00
Bobby Holley
40c1074481
Bug 1138072 - Don't defer reading to a closed stream. r=roc
...
Other streams in the list bail out of the servicing loop if they're closed, so
we can wait indefinitely.
2015-03-01 19:33:44 -08:00
Chris Pearce
4d3879ec6c
Bug 1138240 - Fail faster if a CDM tries to resolve a resolved promise. r=edwin
2015-03-02 14:13:47 +13:00
Jean-Yves Avenard
43eec98395
Bug 1137529: Prefer Apple's VDA hardware acceleration for Hi-Def videos. r=rillian
...
With some GPUs (such as Intel HD-x000), Apple VideoTool box provides poor
decoding speed, causing us to drop frames for most HD videos.
VDA is around 50 times faster on those machines (31ms average to decode a 4K
frame with VT, while 0.6ms average with VDA)
2015-03-02 10:48:28 +11:00
Jean-Yves Avenard
091f2ff1f0
Bug 1128397: Work around EOS detection in MSE. r=mattwoodrow
...
This attempts to handle video and audio sourcebuffer not having exactly the
same duration, so the ended event is properly fired.
2015-03-02 10:47:54 +11:00
Jean-Yves Avenard
89b13c783a
Bug 1134387: Prevent crash when decoder couldn't be created. r=edwin
2015-02-27 11:31:46 +11:00
Chris Pearce
7c56165d01
Bug 1137957 - Fix non-unified build failure in GMPVideoDecoder. r=kinetik
2015-02-28 16:15:29 +13:00
Bobby Holley
ce02722142
Bug 1137511 - Account for audio frames already pushed to audio hardware but not yet played when computing OutOfDecodedAudio. r=kinetik
2015-02-27 16:07:44 -08:00
Ryan VanderMeulen
0c89924c1b
Bug 1131433 - Re-add accidentally-removed GetMediaSourceLog() declarations.
...
CLOSED TREE
2015-02-27 17:37:52 -05:00
Chris Pearce
5a274caae7
Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin
2015-02-28 10:23:33 +13:00
Chris Pearce
a0fed72e46
Bug 1136986 - Disable SharedDecoderManager for EME video. r=kentuckyfriedtakahe
2015-02-28 10:23:29 +13:00
Matt Woodrow
302e802646
Bug 1136984 - Followup to fix build.
2015-02-27 12:07:05 +13:00
Matt Woodrow
d854c9ca30
Bug 1136984 - Use correct units for comparing timestamps in TrackBuffer::RangeRemoval. r=jya
2015-02-27 11:47:46 +13:00
Matt Woodrow
f36fb93e54
Bug 1136984 - Always call DrainComplete in response to Drain, even if it wasn't called on the active decoder. r=cpearce
2015-02-27 11:47:12 +13:00
Matt Woodrow
f70602a599
Bug 1132757 - Don't crash if we call WMFVideoMFTManager after we've initiated shutdown. r=cpearce
2015-02-27 11:46:10 +13:00
Blake Wu
9b544b72de
Bug 1133955 - Record the last seek time to decide the direction to seek. r=sotaro
2015-02-24 11:19:54 +08:00
Jan-Ivar Bruaroey
a25f0412b2
Bug 1136871 - PeerConnection typo in replaceTrackFailure. r=docfaraday
2015-02-25 19:11:15 -05:00
Karl Tomlinson
36c07b2385
back out 6fc9b30bbdd9..232b818847e7 from bug 1123492 for crashes in DoVideoSeek()
2015-02-26 19:37:48 +13:00
Karl Tomlinson
6ea96662a5
bug 1123492 remove ResetDecode() call from MediaSourceReader::AttemptSeek() r=mattwoodrow
...
and this was already called before Seek().
2015-02-17 14:35:47 +13:00
Karl Tomlinson
16ad66eef2
bug 1123492 ResetDecode() on subreaders when switching to current or seeking r=mattwoodrow
2015-02-18 19:23:31 +13:00
Karl Tomlinson
d39d2824f6
bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow
2015-02-17 13:58:55 +13:00
Wes Kocher
88578aaba9
Merge m-c to inbound a=merge
2015-02-25 17:51:44 -08:00
Wes Kocher
3e8159d4e0
Merge fx-team to m-c a=merge
2015-02-25 17:39:55 -08:00
Jean-Yves Avenard
f54b6683e5
Bug 1096089: Make end argument an unrestricted double as per spec. r=cajbir r=bholley
...
Also, test for updating value before testing for duration and start, as per
spec: http://w3c.github.io/media-source/#widl-SourceBuffer-remove-void-double-start-unrestricted-double-end
2015-02-25 20:35:44 +11:00
Mark Banner
6958d1c018
Bug 1110973 - Add a preference for enabling fake streams for tests, and use it in the Loop functional tests. r=smaug
2015-02-25 07:36:50 +00:00
Paul Adenot
bfa1229df0
Bug 1118622 - Apply the gain to AnalyserNode data prior to sending on the main thread. r=ehsan
2015-01-29 18:05:23 +01:00
Jean-Yves Avenard
a45fd7121a
Bug 1136576: Properly align source buffer starts with current decoder. r=cajbir
2015-02-25 20:55:14 +11:00
Jean-Yves Avenard
6c57936af3
Bug 1135532: Allow partial truncation from ResourceQueue. r=cajbir
2015-02-25 20:35:21 +11:00
Andreas Pehrson
2cacc34141
Bug 931903 - Add mochitest for forwarding a stream from one PC to another. r=jesup,drno
2015-02-22 22:45:00 +01:00
Andrea Marchesini
dec9202078
Bug 1135682 - Do not update the all MediaStreamGraph if it's not dirty, r=padenot
2015-02-24 09:59:29 -05:00
Jean-Yves Avenard
bd1a60a6f7
Bug 1096089: Part3. Add trimming support from beginning of source buffer. r=cajbir
2015-02-24 16:38:42 +11:00
Jean-Yves Avenard
6e11867f77
Bug 1134064: Part5. Evict from TrackBuffer's current decoder. r=cajbir
...
Also evicts all data from inactive decoders once there's nothing left to play
in them.
2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
836115f26b
Bug 1134064: Part4. Fix racing condition should data get evicted. r=mattwoodrow
...
Should required data get evicted between the time we checked for availability
and the time we started seeking, it would have caused the seek to fail. Instead
cancel current seek and go back waiting for more data.
2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
a99691827b
Bug 1134064: Part2. Drop current reader when seeking outside range. r=mattwoodrow
2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
e32547c914
Bug 1134064: Part1. Don't hold on reader when we stop needing it. r=mattwoodrow
2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
4b8b909e72
Bug 1132342: Handle race should operation be aborted while reading metadata. r=karlt
2015-02-24 16:38:41 +11:00
Daniel Holbert
cef30d4fbd
Bug 1135825: Add missing MOZ_OVERRIDE annotation in RTCIdentityProviderRegistrar.h. r=ehsan
2015-02-23 13:24:20 -08:00
Martin Thomson
825c5df669
Bug 975144 - Disabling b2g tests due to bug 1135339, r=jib
2015-02-22 10:57:21 +13:00
Martin Thomson
ab7dad8af5
Bug 975144 - Updating identity tests to use promises, r=jib
2015-02-22 10:57:21 +13:00
Martin Thomson
cfdbaf2aa9
Bug 975144 - Moving to fold identity errors into the promises we return, r=jib
2015-02-22 10:57:21 +13:00
Martin Thomson
c2cc5b98fd
Bug 975144 - Enabling tests on e10s, r=jib
2015-02-22 10:57:21 +13:00
Martin Thomson
cfe102d1e7
Bug 975144 - Adding IdP loading tests, r=jib
2015-02-22 10:57:20 +13:00
Martin Thomson
5fce6cfef8
Bug 975144 - Updating RTC identity tests, r=jib
2015-02-22 10:57:20 +13:00
Martin Thomson
2d332dd414
Bug 975144 - Updating test IdP for new API, r=jib
2015-02-22 10:57:20 +13:00
Martin Thomson
acbef1189d
Bug 975144 - Rework RTC identity to use JS sandbox, r=jib
2015-02-22 10:57:20 +13:00
Martin Thomson
344b664609
Bug 975144 - Implementation of RTC identity DOM component, r=jib
2015-02-22 10:57:20 +13:00
James Willcox
708bb2afab
Bug 1090300 - Repopulate input buffers when necessary in Android media decoder r=gcp
2015-02-20 23:03:40 -06:00
Kannan Vijayan
04df8d871e
Bug 1119335 - Fix static analysis test failure on CLOSED TREE. r=treeherder-red
2015-02-20 19:02:03 -05:00
Kannan Vijayan
3756f964ed
Bug 1119335 - Fix static analysis test failure on CLOSED TREE. r=treeherder-red
2015-02-20 18:54:04 -05:00
Jan-Ivar Bruaroey
4a4a64d7ec
Bug 1119335 - support ideal/exact constraint syntax. r=mrbkap, r=mt
2015-02-20 17:06:26 -05:00
Jan-Ivar Bruaroey
5aa645bdb6
Bug 1119335 - Streamline camera capabilities (remove alternate algorithm for OSX/B2G). r=jesup, r=ayang
2015-02-18 13:06:01 -05:00
Nils Ohlmeier [:drno]
636ec3100e
Bug 1089798 - MediaStream ID tests. r=bwc
2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno]
3201a1b72b
Bug 1089798 - Implemenation of MediaStream IDs. r=bwc
2015-02-19 12:59:00 -05:00
Nils Ohlmeier [:drno]
baed7599ae
Bug 1089798 - Add id to MediaStream. r=bwc, r=smaug
2015-02-05 11:03:00 -05:00
Chris Pearce
d8e338b4ef
Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz
2015-02-20 14:38:08 +13:00
Chris Pearce
32a40d674d
Bug 1124031 part 3 - Parse min CDM version from EME keySystem string. r=bz
2015-02-20 14:38:01 +13:00
Chris Pearce
7a93e0e38d
Bug 1124031 part 2 - Rename EMELog.h to EMEUtils.h. r=bz
...
--HG--
rename : dom/media/eme/EMELog.cpp => dom/media/eme/EMEUtils.cpp
rename : dom/media/eme/EMELog.h => dom/media/eme/EMEUtils.h
2015-02-20 14:37:55 +13:00
Chris Pearce
50af8d5270
Bug 1124031 part 1 - Expose GMP version on GMPParent. r=jesup
2015-02-20 14:37:49 +13:00
Jean-Yves Avenard
3248340b8b
Bug 1133625: Part2. Don't accept buffer exceeding our threshold. r=cajbir
...
YouTube attempts to load data in excess of 8MB when close to the end of the
video, and never attempts to re-append should it error. As such,
the sourcebuffer threshold can't be set to lower than 8MB with this change.
2015-02-20 14:19:14 +13:00
Jean-Yves Avenard
da5e9d8dcd
Bug 1133625: Fix mochitest so it doesn't append data forever. r=cajbir
2015-02-20 14:19:14 +13:00
Jean-Yves Avenard
2f5aff550e
Bug 1133625: Return an error when attempting to append too much data. r=cajbir
...
Implement part 6 of Prepare Append Algorithm:
http://w3c.github.io/media-source/#sourcebuffer-prepare-append
"If the buffer full flag equals true, then throw a QuotaExceededError exception and abort these step."
2015-02-20 14:19:13 +13:00
Chris Double
44c110fd82
Bug 1119947 - Add telemetry for MSE video playback - r=cpearce,bsmedberg
...
This adds telemetry to record the state of the video playback
when the user exits. We are interested in knowing if the video
was buffering, paused, seeking, ended or other.
More telemetry will be added in bug 1127646.
2015-02-20 13:46:56 +13:00
Ryan VanderMeulen
befa372d19
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-02-19 18:52:02 -05:00
Kilik Kuo
e9f62d8154
Bug 1112438 - Make newCurrentFrameTime more accurate while seeking by checking audio & video timestamp boundary in addition. r=cpearce
2015-02-17 11:21:40 +08:00
Randell Jesup
d47c752c4b
Bug 1116925: queue track adds for getUserMedia and cleanup r=roc
2015-02-19 12:04:26 -05:00
Carsten "Tomcat" Book
64991e2de1
Backed out changeset 4b194434cfee (bug 1089798) for breaking nexus builds
...
--HG--
extra : rebase_source : 2392cb7988579b71b55c4c4886170d5a2134db91
2015-02-19 10:32:09 +01:00
Carsten "Tomcat" Book
b2c680db47
Backed out changeset abf7a473323c (bug 1089798)
...
--HG--
extra : rebase_source : c1248ca0d1b5f136c935a606f2968cc16aed2b7d
2015-02-19 10:31:42 +01:00
Carsten "Tomcat" Book
12f0ad613c
Backed out changeset a6ccfddbdac0 (bug 1089798)
...
--HG--
extra : rebase_source : bec618ddce6083d609ae1432b2b7c7366634a508
2015-02-19 10:31:37 +01:00
Jean-Yves Avenard
5b7f2b56ed
Bug 1133633: Part1. Add logging reporting if we are using HW accelerated decode. r=rillian
2015-02-19 15:37:08 +13:00
Nils Ohlmeier [:drno]
efe100d8e2
Bug 1089798 - MediaStream ID tests. r=bwc
2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno]
0f02ec446f
Bug 1089798 - Implemenation of MediaStream IDs. r=bwc
2015-02-17 22:52:00 -05:00
Nils Ohlmeier [:drno]
ff3e33cef1
Bug 1089798 - Add id to MediaStream. r=bwc, r=smaug
2015-02-05 11:03:00 -05:00
Anthony Jones
0dabe31062
Bug 1133572 - Use new demuxer for all sample fetches; r=cpearce
2015-02-18 19:13:15 +13:00
Blake Wu
580044166c
Bug 1123669 - Reset mDrainComplete flag and implement overridden flush() for audio. r=ajones
2015-02-16 11:16:31 +08:00
Edwin Flores
c91fa6f09e
Bug 1133634 - Fix CanPlayType in GStreamer backend - r=kinetik
2015-02-18 15:33:42 +13:00
Matthew Gregan
6fa2138734
Bug 1133645 - Check size of audio_specific_config before use. r=snorp
2015-02-18 11:02:00 +13:00
Stephen Pohl
9f4fdc639e
Bug 1089867: Rename media.eme.adobe-access.enabled pref to media.gmp-eme-adobe.enabled. r=cpearce
2015-02-17 12:50:16 -05:00
Sotaro Ikeda
8cd86b23c3
Bug 1133167 - Add CancelSeek call to FlushDecoding() r=cpearce,bholley
2015-02-17 07:50:49 -08:00
Byron Campen [:bwc]
3a680bf820
Bug 1017888 - Part 2: Testing for renegotiation. r=mt, r=drno
...
--HG--
extra : rebase_source : 7434ef35ea6294966220f20431941e0790c4221c
2015-02-10 10:17:03 -08:00
Byron Campen [:bwc]
eee4f8cd6d
Bug 1017888 - Part 1: Renegotiation support. r=mt, r=smaug
...
--HG--
extra : rebase_source : df1c2962ee88f75c6ad676b9cd79978a87dafb65
extra : amend_source : c938904331323ff3565624795ac76d82502f43fb
2014-12-10 15:53:54 -08:00
Jean-Yves Avenard
f4d2cd0823
Bug 1132796: Revert incorrect change on A CLOSED TREE. r=me
...
Revision 355f5e2dee58 got overwritten in dad2b3245457
2015-02-17 22:07:48 +13:00
Jean-Yves Avenard
192ceb1e49
Bug 1132796: Evict data we likely previously read. r=cajbir
...
Also attempt to evict future data, the furthest away from playback position.
2015-02-13 16:52:42 +11:00
Jean-Yves Avenard
1cb4c5722c
Bug 1132825: Don't evict partial segments. r=cajbir
...
Evicting a partial segment can leave the entire sourcebuffer in unplayable
state.
2015-02-17 16:24:19 +13:00
Jean-Yves Avenard
4919af1385
Bug 1131487
: Part3. Fix stall when switching decoders. r=mattwoodrow
2015-02-17 16:22:51 +13:00
Matthew Gregan
f380f9c616
Bug 1133600 - Drop monitor before shutting down AudioStream. r=cpearce
2015-02-17 12:02:07 +13:00
Gijs Kruitbosch
d42d49138e
Bug 1133583 - pass window in EME notifications instead of null subject, r=cpearce
...
--HG--
extra : rebase_source : 509464a80ee8e3d82e5cfb24b6c215ab82d11056
2015-02-16 21:25:11 +00:00
Bobby Holley
76257839c8
Bug 1125970 - Make flushing an opt-in mechanism, and use it only for the PDM task queues. v1 r=cpearce
2015-02-16 09:03:34 -08:00
Chris Pearce
c31d63b926
Bug 1125970 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley
2015-02-16 09:03:26 -08:00
Bobby Holley
fb2f7fb346
Bug 1125970 - Reject promises in MediaDecoderReader::ResetDecode and don't re-request audio and video when the promises have been rejected. v1 r=cpearce
2015-02-16 09:03:25 -08:00
Carsten "Tomcat" Book
635a599417
Merge mozilla-central to mozilla-inbound
2015-02-16 16:14:51 +01:00
Ankit Goyal
6c9afda919
Bug 1131529 - Update the maximum FFT size in AnalyserNode to be 2^15. r=padenot
2015-02-16 16:03:07 +01:00
Carsten "Tomcat" Book
92151b28e6
merge mozilla-inbound to mozilla-central a=merge
2015-02-16 15:59:56 +01:00
Blake
014c05b74d
Bug 1115241 - Release video buffer in a dedicated thread. r=sotaro
2015-02-10 11:34:02 +08:00
Karl Tomlinson
0604f479e5
bug 1132328 make ReleaseDecoderTask conversion constructor explicit r=fix
2015-02-16 18:20:56 +13:00
Karl Tomlinson
f0c6dc2b2c
bug 1095251 clear mDecoder on reader during Shutdown() r=cpearce
...
--HG--
extra : rebase_source : 7bd0c13ca1aa821998f6ec46ba578c6ed8a0d8f9
2015-02-10 15:50:02 +13:00
Karl Tomlinson
959237dcaa
bug 1095251 shutdown GStreamer playbin during Shutdown() r=edwin
...
instead of during reader destruction.
--HG--
extra : rebase_source : b3abb13f88b4dfd0c7ab3b6183023b39824bf9b8
2015-02-10 10:11:49 +13:00
Karl Tomlinson
7841f4a3ec
bug 1132328 remove mCurrentDecoder handling from RemoveDecoder() r=jya
...
--HG--
extra : rebase_source : 606b250875900916431115791d3bd0ad723fe4f0
2015-02-12 15:57:40 +13:00
Edwin Flores
2f4edb7ce3
Bug 1133370 - Remove redundant Shutdown() call in MediaDataDecoderCallbackProxy::Error() - r=kinetik
2015-02-16 11:11:59 +13:00
Jeff Gilbert
ea33309bb2
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Bobby Holley
fcd008a482
Bug 1127554 - Make MP4Sample::Replace fallible. v1 r=mattwoodrow
2015-02-13 12:19:37 -08:00
Bobby Holley
c6ea1d671b
Bug 1127554 - Make MP4Sample::Prepend fallible. v1 r=mattwoodrow
2015-02-13 12:19:37 -08:00
Bobby Holley
9092b791ba
Bug 1127554 - Make MP4Sample::Pad fallible. v1 r=mattwoodrow
2015-02-13 12:19:36 -08:00
Bobby Holley
5314527fbc
Bug 1127554 - Get rid of infallible allocation in MP4Sample copy constructor. v2 r=mattwoodrow
2015-02-13 12:19:36 -08:00
Bobby Holley
274d9d277d
Bug 1126723 - Bail out of HasLowUndecodedData if we don't have a duration. v1 r=cpearce
...
GetEstimatedBufferedTimeRanges returns an empty range if the duration is -1.
2015-02-13 12:09:51 -08:00
Bobby Holley
1fd0c781e1
Bug 1126723 - Don't store bogus durations. v1 r=cpearce
...
The apple MP3 decoder passes in garbage for this particular live stream. Let's
validate our inputs.
2015-02-13 12:09:50 -08:00
Chris Pearce
1437140f15
Bug 1111160 - Dispatch observer service notifications when content succeeds or fails to get CDM access. r=bz
2015-02-14 08:52:42 +13:00
JW Wang
a4c9b40759
Bug 1132780 - Fix namespace and include files in MediaKeyStatusMap.cpp/h. r=cpearce
2015-02-12 19:26:00 -05:00
Alfredo Yang
58c8cff905
Bug 1127654 - Use runnable instead of monitor. r=ajones, r=bwu
2015-02-11 23:35:00 -05:00
Edwin Flores
f4dd2f84db
Bug 981869 - Blacklist crashy flump3dec gstreamer plugin - r=kinetik
2013-07-15 19:39:00 +12:00
Ryan VanderMeulen
91aa8783e3
Merge fx-team to m-c. a=merge
...
CLOSED TREE
2015-02-12 18:02:35 -05:00
Mike Taylor
0e62adaa85
Bug 1125340 - Collect h264 profile & level telemetry from decoded SPS. r=jya
2015-02-11 09:10:00 +01:00
Mike Taylor
f3a57f4af2
Bug 1125340 - Gather telemetry on H.264 profile & level values from canPlayType. r=cpearce
2015-02-11 09:09:00 +01:00
JW Wang
c6deed34f9
Bug 1132366 - Correct place to call MediaKeys::Release() during shutdown. r=edwin
2015-02-11 23:30:00 -05:00
Jean-Yves Avenard
12b1a0f4c5
Bug 1130839: mochitest ensuring element seeks to end of media when truncated. r=cajbir
...
Test that truncating the media when changing mediasource.duration attribute
immediately adjusts the buffered range and cause seek to the end of the new
media duration (adjusting currentTime).
2015-02-12 18:53:53 +11:00
Jean-Yves Avenard
9238ef92c3
Bug 1130839: Seek to end of media if duration changed. r=cpearce
...
If the duration is changed such that the current playback position ends up
being greater than the time of the end of the media resource, then the user
agent must also seek to the time of the end of the media resource.
2015-02-12 18:53:53 +11:00
Jean-Yves Avenard
e4f085144c
Bug 1131433: Show codec/container type in MSE logs. r=cajbir
...
Also rationalize MSE debugging logs, so they all follow the same format.
2015-02-12 18:52:13 +11:00
Jean-Yves Avenard
6e2cb7f0c1
Bug 1130948: Part2. Ensure we don't overflow when setting duration. r=cajbir
2015-02-12 18:52:12 +11:00
Jean-Yves Avenard
1ea130aa5a
Bug 1130948: Part1. Use mediasource duration to determine media element duration. r=cajbir
2015-02-12 18:52:12 +11:00
Jean-Yves Avenard
51f02c8f33
Bug 1130826: Run range removal algorithm when setting mediasource duration. r=cajbir
2015-02-12 18:52:12 +11:00
Bobby Holley
5a99e07976
Bug 1132023 - Fix unused variable warning on builds without MOZ_DIAGNOSTIC_ASSERT. v1 r=rillian
2015-02-11 11:58:37 -08:00
Seth Fowler
3a1e82f90a
Bug 1130328 (Part 1) - Add support for an optional frame-space damage rect to nsIFrame::InvalidateLayer. r=mattwoodrow
...
--HG--
extra : rebase_source : f622e5a031f2832937115a20ce0e457d4542bfe9
2015-02-11 01:11:41 -08:00
Karl Tomlinson
90a2d5543b
bug 1092915 document that mCurrentDecoder is modified on main thread only r=mattwoodrow
...
--HG--
extra : rebase_source : 5b69453209f5fcb181c9586783435836031213ba
2015-02-11 11:30:39 +13:00
Matt Woodrow
f5ed6094b2
bug 1092915 modify mCurrentDecoder on main thread after RemoveDecoder r=karlt
...
--HG--
extra : rebase_source : e183dd309ad391119967804a2e388b4a1e91df79
2015-02-11 11:12:39 +13:00
JW Wang
615dbcd41f
Bug 1130932 - allow GMPDecryptorParent::RecvKeyStatusChanged calls after Close(). r=edwin.
2015-02-09 07:32:59 +08:00
JW Wang
1c3411295d
Bug 1130917 - Part 3 - fix EME gtests. r=edwin.
2015-02-10 18:19:00 +01:00
JW Wang
9fb96c8202
Bug 1130917 - Part 1 - disallow multiple records with the same name in GMPStorageChild::CreateRecord(). r=edwin
2015-02-08 20:37:18 +08:00
Jean-Yves Avenard
b949dd90a8
Bug 1130913: Only create a new decoder if we have a new media segment. r=mattwoodrow
2015-02-11 17:40:10 +11:00
Jean-Yves Avenard
fc55fd62a2
Bug 1131487
: Adjust negative start time near 0 to 0. r=mattwoodrow
2015-02-11 17:40:06 +11:00
Jean-Yves Avenard
6530520f7e
Bug 1131487
: Fix time calculations when segment doesn't start at 0. r=mattwoodrow
2015-02-11 17:40:03 +11:00
Edwin Flores
0c5211449d
Bug 1113474 - Release MediaKeys when cleaning up pending promises - r=jwwang
2015-02-11 15:11:54 +13:00
Edwin Flores
f122b9c193
Bug 1113474 - Keep MediaKeys alive until it has resolved all of its stored promises - r=cpearce
2015-02-11 11:43:49 +13:00
Bobby Holley
00227ce0e0
Bug 1129877 - Separate the creator and consumer APIs for MediaPromise. v2 r=mattwoodrow
...
This causes the buggy code that caused the crash to fail to compile.
2015-02-10 13:45:04 -08:00
Bobby Holley
70d6819c7d
Bug 1129877 - Fix one other remaining case of invoking Resolve/Reject directly on a Promise. v1 r=mattwoodrow
2015-02-10 13:45:03 -08:00
Bobby Holley
18d366aa02
Bug 1129877 - Fix the crash. v1 r=mattwoodrow
...
We could also fix this by invoking .Reject() on the holder instead of on the raw
promise. But there's actually no reason to involve the holder at all here.
2015-02-10 13:45:03 -08:00
Martin Thomson
aca4ffd662
Bug 1063290 - Disable most gUM tests on Android too. r=jib
...
--HG--
extra : transplant_source : %DDD%90%E4%C0%DD%E0S%CB%B2q5%EE%19%8B/%E2%CF%A6%F0
2015-02-07 11:39:35 +11:00
JW Wang
76ba7c056a
Bug 1114826 - run test_eme_persistent_sessions.html tests after MediaKeySession.update() to avoid collision with MediaKeySession.load(). r=edwin.
2015-02-08 09:54:37 +08:00
JW Wang
0db16520e7
Bug 1130275 - correct promise chaining for EME mochitests. r=edwin.
2015-02-06 19:16:28 +08:00
JW Wang
043cefc4e3
Bug 1128420 - remove finished output streams from MediaDecoder::mOutputStreams. r=roc.
2015-02-10 10:45:41 +08:00
Bobby Holley
34f2e29fb4
Bug 1120030 - Test for timestampOffset. r=jya
2015-02-09 17:29:13 -08:00
Matthew Gregan
100e19229b
Bug 1131340 - Avoid template aliasing since GCC 4.6 lacks support. r=cpearce
2015-02-10 14:27:36 +13:00
Matthew Gregan
5b4031019d
Bug 1131340 - Avoid delegating constructors since GCC 4.6 lacks support. r=cpearce
2015-02-10 14:27:30 +13:00
Nicholas Nethercote
6ee3666899
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Matthew Gregan
001efce8d3
Bug 1130923 - Remove some DASHDecoder remnants: RestrictedAccessMonitor and GetByteRangeForSeek. r=cpearce
2015-02-10 11:59:20 +13:00
Bobby Holley
1084ee2604
Bug 1129246 - Switch to MediaPromiseConsumerHolders for MDSM audio/video promises and remove RequestStatus. v3 r=cpearce
2015-02-09 11:34:38 -08:00
Daniel Holbert
47430d1a10
Bug 1128576: Annotate MediaPromise.h method 'AssertOnDispatchThread' as MOZ_OVERRIDE. rs=bholley
2015-02-09 11:11:40 -08:00
Paul Adenot
d14cafacf6
Bug 1125804 - Remove the mixer callback when failing to open an audio stream when switching to an audio driver. r=jesup
2015-02-09 14:43:55 +01:00
Carsten "Tomcat" Book
da71f4402a
Backed out changeset 0813db72fe3e (bug 1125804) for bustage on a CLOSED TREE
2015-02-09 16:26:28 +01:00
Paul Adenot
2119a23cf6
Bug 1125804 - Remove the mixer callback when failing to open an audio stream when switching to an audio driver. r=jesup
2015-02-09 14:43:55 +01:00
Joel Maher
33d8eaf66d
Bug 1110982 - Disabled tests for oth chunk and leaks (run-by-dir). r=RyanVM
2014-12-27 00:44:52 +05:30
Jean-Yves Avenard
1f8bd45074
Bug 1125469: Part3. Make sure we stop dropping frames from previous operation after seeking. r=mattwoodrow
2015-02-09 23:29:01 +11:00
Jean-Yves Avenard
0acab47059
Bug 1125469: Part2. Ensure discontinuity flag is set after seeking. r=mattwoodrow
...
Under some circumstances, the discontinuity flag value would be lost, leading
the state machine to drop all frames being decoded.
2015-02-09 23:29:01 +11:00
Jean-Yves Avenard
dddcf551b9
Bug 1125469: Part1. Don't attempt to seek on time found with fuzz search. r=mattwoodrow
...
Instead seek to the actual time available.
2015-02-06 23:51:46 +11:00
Jean-Yves Avenard
5fde502292
Bug 1129732: Part4. Use sourcebufferdecoder's end time. r=mattwoodrow
2015-02-09 23:29:00 +11:00
Jean-Yves Avenard
47396b9892
Bug 1129732: Part3. Assume buffered range starting close enough to 0 to be 0. r=mattwoodrow
2015-02-09 23:29:00 +11:00
Jean-Yves Avenard
8569bae286
Bug 1129732: Part2. Fix VideoData copy. r=cpearce
...
mDiscontinuity member must be copied.
2015-02-09 23:29:00 +11:00
Jean-Yves Avenard
07ee477ad2
Bug 1129732: Part1. Dynamically adjust calculations using timestampoffset. r=mattwoodrow
...
Timestamp Offset calculations are now done exclusively by the Media Source
components which allow to recalculate them on the fly. By abstracting those
offsets it remove the need for the sub-decoders to handle them (which allows
to add WebM support).
2015-02-09 23:28:59 +11:00
Jean-Yves Avenard
549e099ae4
Bug 1114805: Don't use hard assertion should start time be <= 0. r=cpearce
...
This prevents some MP4 files to play, and there is no strict requirements that
a start time be positive.
2015-02-09 23:28:59 +11:00
Andrew McCreight
8413cc973c
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Jeff Gilbert
8bb794cb82
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Bobby Holley
411e708ff0
Bug 1126052 - Reenable test_SeekTwice.mp4. r=RyanVM
2015-02-05 14:29:32 -08:00
Edwin Flores
c61259e883
Bug 1129722 - Add {Hold,Drop}JSObjects to MediaKeyStatusMap - r=jwwang,bz
2015-02-06 11:04:47 +13:00
Nicholas Nethercote
3629781b69
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
786c105bb3
Bug 1127845 - Skip test_audioBufferSourceNodeNeutered.html for being nearly permafail on Windows.
2015-02-05 14:02:21 -05:00
Blake Wu
3f18c2cc36
Bug 1113527 - Change isDormantNeeded() behavior. r=sotaro. r=cpearce.
...
From 8bf5259ba58ae5b37eaceece04a7f217c3ad4284 Mon Sep 17 00:00:00 2001
2015-01-30 18:24:31 +08:00
Bobby Holley
f1b51d7d22
Bug 1128811 - Reject data wait promises when we seek. r=cpearce
2015-02-04 17:33:40 -08:00
Matthew Gregan
b41442351b
Bug 1128794 - Refactor EME decoders on top of GMP decoders. r=cpearce
...
--HG--
rename : dom/media/fmp4/eme/EMEH264Decoder.cpp => dom/media/fmp4/eme/EMEVideoDecoder.cpp
rename : dom/media/fmp4/eme/EMEH264Decoder.h => dom/media/fmp4/eme/EMEVideoDecoder.h
2015-02-02 21:49:00 +13:00
Matthew Gregan
20bed0c43a
Bug 1121258 - Add a GMP PDM to allow MP4 playback via OpenH264. r=cpearce
2015-02-02 21:49:00 +13:00
Bobby Holley
bae330902f
Bug 1129523 - Use ProxyMediaCall for video decode tasks. r=cpearce,r=mattwoodrow
2015-02-04 17:12:51 -08:00
Bobby Holley
da75e6b2c4
Bug 1129523 - Implement MediaPromise proxies. r=cpearce,r=mattwoodrow
2015-02-04 17:12:51 -08:00
Jeff Gilbert
67d833acf8
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Bobby Holley
da06a8acb4
Bug 1129247 - Use MOZ_DIAGNOSTIC_ASSERT instead of MOZ_RELEASE_ASSERT in media code. r=mattwoodrow
2015-02-04 13:13:59 -08:00
Chris Pearce
59db990be2
Bug 1129229 - Recognize com.adobe.primetime keysystem string. r=edwin
2015-02-05 09:36:44 +13:00
James Willcox
9c902927aa
Bug 1100126 - Enable the AndroidDecoderModule on PowerVR, but don't copy the SurfaceTexture r=jgilbert
2015-02-04 08:43:44 -06:00
Jean-Yves Avenard
17e8f130d3
Bug 1125776: Part11. Fix potential crash. r=mattwoodrow.
...
Under some circumstances, it was possible for shutdown to have completed
right before the initialization task got to run. Resulting in a null
dereference.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
990741972b
Bug 1125776: Part10. Handle concurrent aborts. r=mattwoodrow
...
Under some circumstances, it was possible for a cancelled queued task to run
and the following one would have been cancelled.
Also add more robust handling in cancelling the trackbuffer initialization
task.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
5cb7a630a9
Bug 1125776: Part9. Always attempt to create a new decoder if we don't have one. r=mattwoodrow
...
YouTube continues to call appendBuffer even when the previous call failed.
So we attempt to re-create a decoder where we can should it be a temporary
failure.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
955ec8073d
Bug 1125776: Part8. We don't always need an init segment to be ready. r=mattwoodrow
...
If abort was called on the source buffer, the parser would have been reset.
The content in the Track Buffer is still valid for playback.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
1b6c927416
Bug 1125776: Part7. Only notify reader we have data, when we actually do. r=mattwoodrow
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
b6c0edc90f
Bug 1122358: Implement partial reset parser. r=cajbir
...
Only handles resetting parser and incomplete init segments at this stage.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
79f7bcffbb
Bug 1128115: MediaSource.removeSourceBuffer should call SourceBuffer.abort. r=cajbir
2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
e5f251357d
Bug 1125776: Part5. Limit metadata parsing to init segment size if known. r=kinetik
2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
e10d7499e7
Bug 1125776: Part4. Add support for partial WebM init segment. r=kinetik
2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
84f805097c
Bug 1125776: Part3. Add support for partial init segment. r=cajbir
...
Now that we rely on appendBuffer to scan the init segment, it has become
imperative to handle partial segments as it could otherwise lead to
appendBuffer never firing update/updateend
2015-02-02 11:41:43 +11:00
Jean-Yves Avenard
09875863d1
Bug 1125776: Part2. appendBuffer scanning the data before firing updateend. r=mattwoodrow
2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
3641341f7b
Bug 1125776: Part1. Fix initialization of variables. r=cajbir
...
They could be used when non-initialized.
2015-02-04 20:20:14 +11:00
Alfredo Yang
e0ad8ddddb
Bug 1128858 - release media element after playing webm in testcases. r=cajbir
2015-02-03 01:05:00 +01:00