Commit Graph

2346 Commits

Author SHA1 Message Date
Jean-Yves Avenard
100d451a99 Bug 1128381: Part7. Streamline code across platforms. r=cpearce
--HG--
extra : rebase_source : bd3fa9d07c8e37711f2409ef731f60ff882f8dbb
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
7434c7c6ac Bug 1128381: Part6. Remove unused member functions. r=cpearce
--HG--
extra : rebase_source : f310f0f143662154332963e6f7678a4f87057ad8
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
51d8526603 Bug 1128381: Part5. Make AVCC wrapper be dormant capable. r=cpearce
This makes the Apple VDA and VideoToolbox as well as EME and FFmpeg decoder
dormant capable.

--HG--
extra : rebase_source : f350d83ea8bb3a2a7d80c51c4861272f1093eee3
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
83de7dcb78 Bug 1128381: Part4. Make AVCC wrapper work with SharedDecoderManager. r=cpearce
--HG--
extra : rebase_source : 957ef4b523f795804fec06c295c80c5de0da7bde
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard
adf3e336a3 Bug 1128381: Part3. Handle on the fly video format change. r=cpearce
Add monitoring of the current SPS NAL and destroy/recreate H264 decoder as
required.

--HG--
extra : rebase_source : fbab04b0ae3b4be42eea34a1c6f1b19bf39ad2f0
2015-03-12 11:07:19 +11:00
Brian Birtles
78cbd39cef Bug 1134487 - Remove delegated constructors in GMP{Audio,Video}Decoder since they're not supported by GCC 4.6. r=cpearce 2015-02-19 10:37:29 +09:00
Ryan VanderMeulen
d4a838cbc3 Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
CLOSED TREE

--HG--
extra : rebase_source : 59680d649177809d0a31d87091ab9d18070f7a0f
2015-03-11 12:35:08 -04:00
Alexandre Lissy
1e7c8bf446 Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal 2015-03-11 08:15:00 -04:00
Andreas Pehrson
2050f9e190 Bug 1081819 - Handle InMutedCycle() in TrackUnionStream::ProcessInput. r=roc,padenot 2015-03-05 12:27:16 +08:00
Andreas Pehrson
7f6daeea34 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
35fb84dfd4 Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc 2015-03-02 17:08:40 +08:00
James Willcox
99105b89d6 Bug 1084441 - Test for ability to play MP4 on Android Jelly Bean and higher r=cpearce 2015-03-11 09:22:55 -05:00
Sotaro Ikeda
80cec56356 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 07:18:23 -07:00
Jim Porter
d0a2187ca7 Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir 2014-12-02 16:37:00 -05:00
Benjamin Chen
6649eea3cd Bug 1131563 - Set the flag skipToNextKeyFrame to false if there is no keyframe behind. r=kinetik
--HG--
extra : rebase_source : e561bdfe1bddfc5073587056925248a4ba905977
2015-03-19 18:00:02 +08:00
JW Wang
2689394ff9 Bug 1143532 - Include pid in the log messages of GMPParent. r=edwin
--HG--
extra : rebase_source : 704c153d9227781f9cc443315603204efc7e2b0a
2015-03-15 23:30:00 +01:00
Matthew Gregan
a5dd52d5ad Bug 1144523 - Convert input buffer to expected format for OpenH264 GMP plugin. r=cpearce 2015-03-20 17:52:10 +13:00
Wes Kocher
014849cca6 Merge m-c to inbound a=merge CLOSED TREE 2015-03-10 16:11:23 -07:00
Wes Kocher
d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
cc4d1b9af9 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Thomas Zimmermann
1ddf770fc6 Bug 1137151: Marked destructor of |MuxerOperation| as protected, r=sotaro 2015-03-10 13:44:01 +01:00
Thomas Zimmermann
9823b29ee9 Bug 1137151: Remove ref-counting from |OMXVideoEncoder| r=sotaro
Reference counting in |OMXVideoEncoder| is used inconsistently any actually
not necessary. This patch removed the code. Users are converted to auto
pointers.
2015-03-10 13:44:01 +01:00
Thomas Zimmermann
e90fcbf7f7 Bug 1137151: Marked destructor of |android::MediaCodecReader| as protected, r=sotaro 2015-03-10 13:44:01 +01:00
Randell Jesup
0994edf17b Bug 1130150: mSources update r=roc 2015-03-10 01:08:03 -04:00
Karl Tomlinson
96611b45a9 bug 1139874 check for shutdown before asking the reader for buffered r=bholley
--HG--
extra : rebase_source : cbc7f06a89dfbaf22eb590c51ba709a4757296d0
2015-03-10 09:53:31 +13:00
Wes Kocher
8e389f1730 Merge inbound to m-c a=merge CLOSED TREE 2015-03-09 18:27:28 -07:00
Mike Taylor
6cd22be51a Bug 1136877 - Collect telemetry on SPS.max_num_ref_frames. r=jya 2015-03-06 08:18:00 -05:00
Mike Taylor
df74a152aa Bug 1136877 - Collect telemetry on constraint_set flags from decoded SPS. r=jya 2015-03-06 08:17:00 -05:00
Ethan Tseng
5bc6a1cede Bug 1133461 - [RTSP] Remove the extra PLAY request for seek operation. r=bechen 2015-03-04 17:34:35 +08:00
Mike Taylor
8efae6d25f Bug 1136877 - Collect telemetry on constraint_set flags from canPlayType. r=jya 2015-03-03 08:54:00 -05:00
Chris Pearce
290ac2d4af Bug 1131387 - Enable EME, update whitelist. r=kentuckyfriedtakahe 2015-03-09 16:24:26 +13:00
Chris Pearce
e49356bdaf Bug 1131387 - Rename MSE whitelist pref. r=kentuckyfriedtakahe 2015-03-09 16:24:21 +13:00
Chris Pearce
44bf110503 Bug 1140778 - Disable test_eme_obs_notification since it's testing functionality we're going to remove. r=test-only. 2015-03-09 16:24:18 +13:00
Jean-Yves Avenard
3a14d38778 Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce 2015-03-09 14:17:30 +11:00
Jean-Yves Avenard
24c09255ca Bug 1128380: Add IsHardwareAccelerated implementation for AVCC and mac decoder. r=cpearce 2015-03-09 14:17:27 +11:00
Matt Woodrow
3154f0f851 Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions 2015-03-09 16:18:32 +13:00
Jean-Yves Avenard
52763888a3 Bug 1139779: Part5. Move picture/display size calculations in AVCC wrapper. r=rillian 2015-03-10 21:19:42 +11:00
Jean-Yves Avenard
313c854fd3 Bug 1139779: Part4. Make FFmpeg video decoder use AVCC. r=edwin
FFmpeg h264 decoder doesn't handle change of SPS in-band and only use the first
found.
2015-03-10 21:19:42 +11:00
Jean-Yves Avenard
b849b45758 Bug 1139779: Part3. Use dispay size extracted from SPS NAL. r=edwin
This also adds proper aspect ratio support.
2015-03-10 21:19:41 +11:00
Jean-Yves Avenard
85f78b847d Bug 1139779: Part2. Use display dimension from SPS NAL. r=rillian 2015-03-10 21:19:41 +11:00
Nils Ohlmeier [:drno]
7bfa9a84ae Bug 1139094 - Fix multiple steeplechase test execution problems. r=bwc, r=mt 2015-03-03 21:33:00 -05:00
Chris Pearce
4dd06c566c Bug 1140947 - Correct some logging in SourceBufferResource.cpp. r=cajbir 2015-03-09 15:38:33 +13:00
Jean-Yves Avenard
ec19ab2505 Bug 1139380: Ensure all queued tasks are aborted when shutting down. r=cpearce 2015-03-06 16:49:00 +11:00
Ehsan Akhgari
0f8abb1d44 Bug 1140763 - Build dom/media/gtest in unified mode; r=cpearce 2015-03-08 15:46:07 -04:00
Phil Ringnalda
df31a989de Backed out 3 changesets (bug 1081819) for frequent mochitest-e10s failures
Backed out changeset b78fd38002f5 (bug 1081819)
Backed out changeset ff063b9a1ea2 (bug 1081819)
Backed out changeset 322d60fc413e (bug 1081819)
2015-03-07 18:14:05 -08:00
Andreas Pehrson
a58f208924 Bug 1081819 - Handle InMutedCycle() in TrackUnionStream::ProcessInput. r=roc,padenot 2015-03-05 12:27:16 +08:00
Andreas Pehrson
dfcdf561b0 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
307e15ba05 Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc 2015-03-02 17:08:40 +08:00
L. David Baron
97b31730a2 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
774e705988 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
91d1025f91 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
7d849fa87c 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
4406d389a4 Bug 1135170 - Remove now-unused state machine scheduler freezing/thawing. r=mattwoodrow 2015-03-06 19:17:09 -08:00
Bobby Holley
578cad549e Bug 1135170 - Rewrite the MediaDecoder-to-MediaDecoderStateMachine interface to be Promise-based. r=mattwoodrow 2015-03-06 19:17:07 -08:00
Bobby Holley
1dd7c91f68 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
e02c011cd4 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
d846586729 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
845ad750dc 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
bf69dac697 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
243db68fec 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
df32aaa30e 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
3b78e1ecfd 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
82e85c92e2 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
e0fd85f315 Bug 1140675 - Disable failing tests on windows opt. r=me 2015-03-06 19:11:51 -08:00
Jan-Ivar Bruaroey
005954fb76 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
437014581d 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
b0c623a54e bug 1138229 GetOutputStreamInfo() after each SetOutputType() r=cpearce
--HG--
extra : rebase_source : 8c4153a0f9d1c7fb65fed93ee1c2945adfecf1cd
2015-02-26 17:59:37 +13:00
Karl Tomlinson
fe56d5c8a5 bug 1138238 reset video frame geometry on each init r=cpearce
--HG--
extra : rebase_source : 44ed6d25db75458ece530d0537f0a5f69b4a992a
2015-02-26 15:25:55 +13:00
Karl Tomlinson
49b9f7e466 bug 1138238 ensure mUseHwAccel is set appropriately when WMFVideoMFTManager::Init() is called after Shutdown() r=cpearce
--HG--
extra : rebase_source : 3e7603db676772e161d3743a63f21b16d98fe424
2015-02-26 14:24:33 +13:00
Karl Tomlinson
19c1032182 bug 1138238 remove unused member variables from WMFVideoMFTManager r=cpearce
--HG--
extra : rebase_source : 019138f4e4ea5b80c795b8cc271410fa7b689ba1
2015-02-26 14:40:47 +13:00
Geoff Brown
46b3719da5 Bug 1138468 - Disable test_audioBufferSourceNodeNeutered.html on android debug; r=trivial 2015-03-05 10:47:41 -07:00
Ryan VanderMeulen
7e5b8669ec Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
b91731de6a Backed out changeset 816591da074c (bug 752796) for disabling the wrong test. 2015-03-05 09:34:32 -05:00
Ryan VanderMeulen
6cae5cc668 Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
89130c33a2 Bug 1096270 - Skip test_streams_gc.html on B2G Desktop. 2015-03-05 09:29:19 -05:00
JW Wang
5974cd1b2b Bug 1113596 - add logs to track media element events. r=edwin 2015-03-04 18:43:00 +01:00
Carsten "Tomcat" Book
4c5ee903cd 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
248ef21229 Backed out changeset 5d97bad42411 (bug 1128380) 2015-03-05 08:38:47 +01:00
Jean-Yves Avenard
370ed231e4 Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce 2015-03-05 16:53:47 +11:00
Jean-Yves Avenard
e5a7c9c6c1 Bug 1128380: Add IsHardwareAccelerated implementation for AVCC and mac decoder. r=cpearce 2015-03-05 16:53:44 +11:00
Anthony Jones
8eff7a3ee8 Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-05 17:30:44 +13:00
Sotaro Ikeda
8268179262 Bug 1128357 patch 4: Asynchronize SetDormant() r=cpearce,bobbyholley 2015-03-04 17:34:46 -08:00
Sotaro Ikeda
10a57c9ce2 Bug 1128357 patch 3: test for video playback with dormant r=cpearce 2015-03-04 17:34:17 -08:00
Sotaro Ikeda
b3535ec3a6 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
e6e88f1872 Bug 1128357 Patch 1 - Add extra dormant logging r=bobbyholley 2015-03-04 17:32:54 -08:00
Bobby Holley
ff83eecae4 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
0df6e6a284 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
ceb9c89ade 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
52bea9ac64 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
1cd346147f 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
d1e24656d3 Bug 1128357 patch 4: Asynchronize SetDormant() r=bobbyholley,cpearce 2015-03-04 06:37:49 -08:00
Sotaro Ikeda
d6aaf0fd4f Bug 1128357 patch 3: test for video playback with dormant r=cpearce 2015-03-04 06:37:31 -08:00
Sotaro Ikeda
e311d8a1c2 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
96658c9748 Bug 1128357 Patch 1: Add extra dormant logging r=cpearce 2015-03-04 06:36:46 -08:00
Benjamin Chen
c67f00f900 Bug 1129376 - Fix crash by moving ConfigureMediaCodec from binder thread to out own thread. r=sotaro
--HG--
extra : rebase_source : 648479adfe87f23ce7ab65447cf1697c7cc1e2df
2015-03-02 03:57:46 +08:00
Chris Pearce
ae1bee7f7b 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
f20280713b Bug 1139270 - mark kGMPOutputDownscaled keys able to decrypt. r=cpearce 2015-03-04 22:26:23 +13:00
Jean-Yves Avenard
eabb2adcce Bug 1138922: Fix build bustage. r=mattwoodrow 2015-03-04 18:53:15 +11:00
JW Wang
4c39b2596b Bug 1131908 - no IPC calls after GMPDecryptorChild::RecvDecryptingComplete(). r=edwin. 2015-03-04 10:04:33 +08:00
Anish
4063a569ed 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
abdbbbdbee 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
321f48fe98 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
5adfdc7439 Bug 1127235 - refactor stream clock calculation in MediaDecoderStateMachine. r=roc. 2015-03-03 10:43:38 +08:00
Andreas Pehrson
9b19093204 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
c39201e0d2 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
e1cd713962 Bug 1129263 - Part 3. Add tracks atomically when capturing from decoder. r=roc,jesup 2015-02-24 13:11:32 +08:00
Andreas Pehrson
2ca9e88578 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
f400cd176d 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
3e940d4779 Bug 1131638 - Followup to fix bustage. CLOSED TREE 2015-03-03 18:31:20 +13:00
Jean-Yves Avenard
9916686463 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
69c0b09ad3 Bug 1138253 - Count dropped frames directly; r=cpearce 2015-03-03 17:46:48 +13:00
Anthony Jones
c4f6a5ccbb Bug 1138253 - Clean up AutoNotifyDecoded; r=cpearce 2015-03-03 17:46:46 +13:00
Matt Woodrow
1eb445f8ba 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
b8da0abf2f Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Edwin Flores
1937822f83 Bug 1131392 - Remove unused test code after disabling non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Edwin Flores
ee5eb077e9 Bug 1131392 - Fix EME tests after disable non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Karl Tomlinson
14e52f9763 bug 1123492 remove ResetDecode() call from MediaSourceReader::AttemptSeek() r=mattwoodrow
and this was already called before Seek().

--HG--
extra : rebase_source : 784909f9b3b4d41e688cffe8400aa94407bba4f6
2015-02-17 14:35:47 +13:00
Karl Tomlinson
966e90125f bug 1123492 ResetDecode() on subreaders before Seek() r=mattwoodrow
--HG--
extra : rebase_source : 07660462a4d738a9421b4d4c1c808ab0c8fdb9f3
2015-02-28 19:46:22 +13:00
Karl Tomlinson
1e286a6386 bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow
--HG--
extra : rebase_source : 8e653fb20dc53b3a99a3624dd78ba41bbfdba732
2015-02-17 13:58:55 +13:00
Karl Tomlinson
76f204ad16 bug 1137076 mark some methods as private r=edwin
--HG--
extra : rebase_source : f775f4f4f5c6c19c56a0424c28fedc41c6950f5e
2015-02-28 14:44:07 +13:00
Karl Tomlinson
e7ab2280e5 bug 1137076 handle null mDecoder during Reader shutdown r=edwin
--HG--
extra : rebase_source : 0dbf2b425bf13d26550f8ba8cc9875f66277b1fa
2015-02-28 14:32:19 +13:00
Karl Tomlinson
c644c78a13 bug 1137076 remove declaration of undefined OmxDecoder::ProcessCachedData() r=edwin
--HG--
extra : rebase_source : 6e7ed21c6dacedf4775843a73d12d68d043cf696
2015-02-28 10:32:27 +13:00
Jean-Yves Avenard
7a6731b6cb Bug 1131433: Fix build on a CLOSED TREE r=me 2015-03-03 11:30:06 +11:00
Wes Kocher
6a34cef6e3 Bug 1131433 - Further fixes to SourceBufferDecoder.cpp. DONTBUILD CLOSED TREE
--HG--
extra : amend_source : 0799633171fbbdf88dede997194a7c4ddccc2574
2015-02-27 15:35:23 -08:00
Nigel Babu
16d71fc156 Backed out changeset a622dbe33efb (bug 1135544) for ASAN mochitest-3 bustage on CLOSED TREE 2015-03-02 18:13:39 +05:30
Anthony Jones
ad3b3d35da Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-02 16:34:44 +13:00
Bobby Holley
8ecafb0e29 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
d7ab5a9b0f 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
8955631001 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
ba77f2e511 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
5173a29934 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
820ba52b21 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
206603a7ab Bug 1135785 - Introduce a 1-argument overload of ProxyMediaCall. r=cpearce 2015-03-01 19:33:45 -08:00
Bobby Holley
a0678bc6cb 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
ab0da08c2f 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
79e326a1c4 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
04ed53a51a 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
454c64d2cd Bug 1134387: Prevent crash when decoder couldn't be created. r=edwin 2015-02-27 11:31:46 +11:00
Chris Pearce
42473ae7f6 Bug 1137957 - Fix non-unified build failure in GMPVideoDecoder. r=kinetik 2015-02-28 16:15:29 +13:00
Bobby Holley
3c7f735460 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
2c0b5514a5 Bug 1131433 - Re-add accidentally-removed GetMediaSourceLog() declarations.
CLOSED TREE

--HG--
extra : amend_source : da9073a4948e74c64bb581735af60953664afa8b
2015-02-27 17:37:52 -05:00
Chris Pearce
e4ef49ff55 Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin 2015-02-28 10:23:33 +13:00
Chris Pearce
9c393b31d4 Bug 1136986 - Disable SharedDecoderManager for EME video. r=kentuckyfriedtakahe 2015-02-28 10:23:29 +13:00
Matt Woodrow
9f4bcd09eb Bug 1136984 - Followup to fix build. 2015-02-27 12:07:05 +13:00
Matt Woodrow
cad9a42886 Bug 1136984 - Use correct units for comparing timestamps in TrackBuffer::RangeRemoval. r=jya 2015-02-27 11:47:46 +13:00
Matt Woodrow
9f1b1ecd84 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
d9b857ba4f 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
e549a27f99 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
c3f614354b Bug 1136871 - PeerConnection typo in replaceTrackFailure. r=docfaraday 2015-02-25 19:11:15 -05:00
Karl Tomlinson
c8b7996948 back out 6fc9b30bbdd9..232b818847e7 from bug 1123492 for crashes in DoVideoSeek()
--HG--
extra : rebase_source : b1441c907c6729dc49a572b9fe22dbb0744705ee
2015-02-26 19:37:48 +13:00
Karl Tomlinson
7b51f7d4f1 bug 1123492 remove ResetDecode() call from MediaSourceReader::AttemptSeek() r=mattwoodrow
and this was already called before Seek().

--HG--
extra : rebase_source : 4e56ad32c729c39e628b0756b9ffddb7c61951d8
extra : histedit_source : 2ef994d1336e8bdcd35144117107fd34564b135a
2015-02-17 14:35:47 +13:00
Karl Tomlinson
4a9e7e9d5f bug 1123492 ResetDecode() on subreaders when switching to current or seeking r=mattwoodrow
--HG--
extra : rebase_source : 1250d41d2daa7224ef2645eb3e51af3f8f81f237
extra : histedit_source : d2f19cb88cbe6ad9ce4fb93443f03474ccfd9f0b
2015-02-18 19:23:31 +13:00
Karl Tomlinson
ac59ede2ff bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow
--HG--
extra : amend_source : ad0e5aad95d0a2bc637c059774b617abe4012804
2015-02-17 13:58:55 +13:00
Wes Kocher
fa7b4f1c63 Merge m-c to inbound a=merge 2015-02-25 17:51:44 -08:00
Wes Kocher
399ca9a1f5 Merge fx-team to m-c a=merge 2015-02-25 17:39:55 -08:00
Jean-Yves Avenard
51526ba4db 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
65c8629880 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
052a2913a9 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
991b019ff2 Bug 1136576: Properly align source buffer starts with current decoder. r=cajbir 2015-02-25 20:55:14 +11:00
Jean-Yves Avenard
a133c91e95 Bug 1135532: Allow partial truncation from ResourceQueue. r=cajbir 2015-02-25 20:35:21 +11:00
Andreas Pehrson
0c4f4a6d1d 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
cd5d40d2c1 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
20b088062d Bug 1096089: Part3. Add trimming support from beginning of source buffer. r=cajbir 2015-02-24 16:38:42 +11:00
Jean-Yves Avenard
ca40a6027a 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
02099874d8 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
2627d1fd86 Bug 1134064: Part2. Drop current reader when seeking outside range. r=mattwoodrow 2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
bea17edada 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
259aca3f47 Bug 1132342: Handle race should operation be aborted while reading metadata. r=karlt 2015-02-24 16:38:41 +11:00
Daniel Holbert
59b8a89b30 Bug 1135825: Add missing MOZ_OVERRIDE annotation in RTCIdentityProviderRegistrar.h. r=ehsan 2015-02-23 13:24:20 -08:00
Martin Thomson
328712fa16 Bug 975144 - Disabling b2g tests due to bug 1135339, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson
f2ac9cf5f5 Bug 975144 - Updating identity tests to use promises, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson
e397039c75 Bug 975144 - Moving to fold identity errors into the promises we return, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson
6146b91446 Bug 975144 - Enabling tests on e10s, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson
49b3699492 Bug 975144 - Adding IdP loading tests, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson
6bbea481b8 Bug 975144 - Updating RTC identity tests, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson
bca489e4fb Bug 975144 - Updating test IdP for new API, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson
e9a8238316 Bug 975144 - Rework RTC identity to use JS sandbox, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson
d168b26bed Bug 975144 - Implementation of RTC identity DOM component, r=jib 2015-02-22 10:57:20 +13:00
James Willcox
ef1854ac4e Bug 1090300 - Repopulate input buffers when necessary in Android media decoder r=gcp 2015-02-20 23:03:40 -06:00
Kannan Vijayan
f8c06902f7 Bug 1119335 - Fix static analysis test failure on CLOSED TREE. r=treeherder-red 2015-02-20 19:02:03 -05:00
Kannan Vijayan
5fb547f7c2 Bug 1119335 - Fix static analysis test failure on CLOSED TREE. r=treeherder-red 2015-02-20 18:54:04 -05:00
Jan-Ivar Bruaroey
8c1b9f1777 Bug 1119335 - support ideal/exact constraint syntax. r=mrbkap, r=mt 2015-02-20 17:06:26 -05:00
Jan-Ivar Bruaroey
e232893cc3 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]
b25a2bb677 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno]
629772a073 Bug 1089798 - Implemenation of MediaStream IDs. r=bwc 2015-02-19 12:59:00 -05:00
Nils Ohlmeier [:drno]
c4ce9d4203 Bug 1089798 - Add id to MediaStream. r=bwc, r=smaug 2015-02-05 11:03:00 -05:00
Chris Pearce
2880c3a9b1 Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Chris Pearce
2d975b23e2 Bug 1124031 part 3 - Parse min CDM version from EME keySystem string. r=bz 2015-02-20 14:38:01 +13:00
Chris Pearce
f09d7b2a50 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
feeeb99a0a Bug 1124031 part 1 - Expose GMP version on GMPParent. r=jesup 2015-02-20 14:37:49 +13:00
Jean-Yves Avenard
bd730cc79a 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
5d262eea0b Bug 1133625: Fix mochitest so it doesn't append data forever. r=cajbir 2015-02-20 14:19:14 +13:00
Jean-Yves Avenard
7d46083b98 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
3fc47297c7 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
960d863c87 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-19 18:52:02 -05:00
Kilik Kuo
cbe28e8d8f 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
b155c873e1 Bug 1116925: queue track adds for getUserMedia and cleanup r=roc 2015-02-19 12:04:26 -05:00
Carsten "Tomcat" Book
e56838e981 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
dc0853c72b Backed out changeset abf7a473323c (bug 1089798)
--HG--
extra : rebase_source : c1248ca0d1b5f136c935a606f2968cc16aed2b7d
2015-02-19 10:31:42 +01:00
Carsten "Tomcat" Book
51d447f32c Backed out changeset a6ccfddbdac0 (bug 1089798)
--HG--
extra : rebase_source : bec618ddce6083d609ae1432b2b7c7366634a508
2015-02-19 10:31:37 +01:00
Jean-Yves Avenard
767afcf910 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]
daec70e513 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno]
0084d83191 Bug 1089798 - Implemenation of MediaStream IDs. r=bwc 2015-02-17 22:52:00 -05:00
Nils Ohlmeier [:drno]
421d85b859 Bug 1089798 - Add id to MediaStream. r=bwc, r=smaug 2015-02-05 11:03:00 -05:00
Anthony Jones
28c7d528c1 Bug 1133572 - Use new demuxer for all sample fetches; r=cpearce 2015-02-18 19:13:15 +13:00
Blake Wu
a8afe737e9 Bug 1123669 - Reset mDrainComplete flag and implement overridden flush() for audio. r=ajones 2015-02-16 11:16:31 +08:00
Edwin Flores
eda1e0c4c7 Bug 1133634 - Fix CanPlayType in GStreamer backend - r=kinetik 2015-02-18 15:33:42 +13:00
Matthew Gregan
a533827683 Bug 1133645 - Check size of audio_specific_config before use. r=snorp 2015-02-18 11:02:00 +13:00
Stephen Pohl
3cd8f6ba9b 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
8d10939395 Bug 1133167 - Add CancelSeek call to FlushDecoding() r=cpearce,bholley 2015-02-17 07:50:49 -08:00
Byron Campen [:bwc]
248d6e6d79 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]
1f815978b4 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
d3a0d3375e 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
819f901b7f 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
cd2aae8295 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
31151f0376 Bug 1131487: Part3. Fix stall when switching decoders. r=mattwoodrow 2015-02-17 16:22:51 +13:00
Matthew Gregan
e3547aa414 Bug 1133600 - Drop monitor before shutting down AudioStream. r=cpearce 2015-02-17 12:02:07 +13:00
Gijs Kruitbosch
74d4e285be 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
4ee93e5397 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
ded330ee85 Bug 1125970 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley 2015-02-16 09:03:26 -08:00
Bobby Holley
fae2353de3 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
e2399947f4 Merge mozilla-central to mozilla-inbound 2015-02-16 16:14:51 +01:00
Ankit Goyal
07ae88b846 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
08fafcb3e2 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Blake
cb1d019766 Bug 1115241 - Release video buffer in a dedicated thread. r=sotaro 2015-02-10 11:34:02 +08:00
Karl Tomlinson
e60c5ee086 bug 1132328 make ReleaseDecoderTask conversion constructor explicit r=fix 2015-02-16 18:20:56 +13:00
Karl Tomlinson
1d41559e74 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
1891ba4549 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
3ecf1f0bcf bug 1132328 remove mCurrentDecoder handling from RemoveDecoder() r=jya
--HG--
extra : rebase_source : 606b250875900916431115791d3bd0ad723fe4f0
2015-02-12 15:57:40 +13:00
Edwin Flores
114cf02d2b Bug 1133370 - Remove redundant Shutdown() call in MediaDataDecoderCallbackProxy::Error() - r=kinetik 2015-02-16 11:11:59 +13:00
Jeff Gilbert
d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Bobby Holley
ced4bbc434 Bug 1127554 - Make MP4Sample::Replace fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley
6217aabf6a Bug 1127554 - Make MP4Sample::Prepend fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley
620ec20063 Bug 1127554 - Make MP4Sample::Pad fallible. v1 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Bobby Holley
f055cc749a Bug 1127554 - Get rid of infallible allocation in MP4Sample copy constructor. v2 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Bobby Holley
d828efaed5 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
40c886531c 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
9bf9f2a54e 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
deebe956da Bug 1132780 - Fix namespace and include files in MediaKeyStatusMap.cpp/h. r=cpearce 2015-02-12 19:26:00 -05:00
Alfredo Yang
7eeb4c50be Bug 1127654 - Use runnable instead of monitor. r=ajones, r=bwu 2015-02-11 23:35:00 -05:00
Edwin Flores
3aeced5479 Bug 981869 - Blacklist crashy flump3dec gstreamer plugin - r=kinetik 2013-07-15 19:39:00 +12:00
Ryan VanderMeulen
a801fa4088 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-12 18:02:35 -05:00
Mike Taylor
22fec73325 Bug 1125340 - Collect h264 profile & level telemetry from decoded SPS. r=jya 2015-02-11 09:10:00 +01:00
Mike Taylor
fa0f137129 Bug 1125340 - Gather telemetry on H.264 profile & level values from canPlayType. r=cpearce 2015-02-11 09:09:00 +01:00
JW Wang
f1182ebcc0 Bug 1132366 - Correct place to call MediaKeys::Release() during shutdown. r=edwin 2015-02-11 23:30:00 -05:00
Jean-Yves Avenard
b1c9833790 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
7773a4f02e 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
fb8fc9e241 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
e12bdb0e21 Bug 1130948: Part2. Ensure we don't overflow when setting duration. r=cajbir 2015-02-12 18:52:12 +11:00
Jean-Yves Avenard
164b744ccd Bug 1130948: Part1. Use mediasource duration to determine media element duration. r=cajbir 2015-02-12 18:52:12 +11:00