Commit Graph

233 Commits

Author SHA1 Message Date
Karl Tomlinson
65bc1e2db2 b=1069671 don't dispatch "update" after "abort" r=kinetik
--HG--
extra : rebase_source : 20f644edb8eb99791b29303adce90d3659582821
2014-09-23 15:47:30 +12:00
Karl Tomlinson
f9cddf8331 b=1069113 explicitly unset media.mediasource.enabled when testing disabling of MediaSource r=kinetik
so that web platform tests can be run with MediaSource enabled.

--HG--
extra : transplant_source : %C9%01%A22%DF%8C%89%CF%7E6%0E%FCR%EE%0E%BE%15%B1%D2%92
2014-09-12 17:29:35 +12:00
Matthew Gregan
47c538944e Bug 1065250 - Factor some of SourceBuffer::AppendData into TrackBuffer::Append. Move ContainerParser to a new file. r=karlt
--HG--
rename : content/media/mediasource/SourceBuffer.cpp => content/media/mediasource/ContainerParser.cpp
2014-09-17 18:33:00 +12:00
Matthew Gregan
5b5712a79f Bug 1069730 - Grab decoder monitor when clearing mEssentialTrackBuffers. r=cajbir
Also ensure MediaSource::InitializationEvent is only queued once.
2014-09-19 15:55:58 +12:00
Matthew Gregan
ccb7a1ab98 Backout 783379123376 (bug 1065250) due to Win32 debug OOMs on M1 2014-09-19 08:10:15 +12:00
Matthew Gregan
db700acef5 Bug 1065250 - Tidy up unneeded includes after several refactorings. r=karlt 2014-09-17 22:41:00 +12:00
Matthew Gregan
c820496844 Bug 1065250 - Factor some of SourceBuffer::AppendData into TrackBuffer::Append. Move ContainerParser to a new file. r=karlt
--HG--
rename : content/media/mediasource/SourceBuffer.cpp => content/media/mediasource/ContainerParser.cpp
2014-09-10 18:04:21 +12:00
Matthew Gregan
f00c3de45b Bug 1065250 - Factor part of SourceBuffer::AppendData into new PrepareAppend function. r=karlt 2014-09-10 16:54:20 +12:00
Matthew Gregan
6cfffc679f Bug 1065250 - Remove MP4 MOOV workaround. r=ajones 2014-09-10 17:53:00 +12:00
Matthew Gregan
394683aacb Bug 1064705 - Don't treat EOS as fatal when reading optional block subelements in nestegg_read_packet. r=cajbir 2014-09-10 10:51:28 +12:00
Chris Double
31904dc632 Bug 1065855 - Tests for MediaSource seekable range - r=kinetik
--HG--
extra : rebase_source : 5ed4b4bc2bcce6ccd9b963b9c5be32bdcac567ff
2014-09-17 10:51:55 +12:00
Carsten "Tomcat" Book
cde8159f8a Backed out changeset 170ce237e4a0 (bug 1064705) for Android m5 Test failures 2014-09-16 10:58:01 +02:00
Carsten "Tomcat" Book
637b5eb38d Backed out changeset d462269d88a9 (bug 1065855) for Android M5 Test failures 2014-09-16 10:57:46 +02:00
Chris Double
a2c0d714f6 Bug 1065855 - Tests for MediaSource seekable range - r=kinetik
--HG--
extra : rebase_source : 01d29379c8e4541c72f6fcd186506ba4e9d3f28c
2014-09-16 15:16:02 +12:00
Chris Double
d08fafcdce Bug 1065855 - Check for waiting media resources before calling ReadMetadata - r=cpearce
--HG--
extra : rebase_source : 45022c3d553e82e098908af7682cf241593b57f9
2014-09-16 15:15:58 +12:00
Chris Double
11e6abb95f Bug 1065855 - Ignore updating check when setting MediaSource Duration within a SourceBuffer append - r=kinetik
--HG--
extra : rebase_source : baa31fd9d380ebf6765adb5ce89848c6dd3f4241
2014-09-16 15:15:55 +12:00
Matthew Gregan
54b218302a Bug 1065235 - Make the SourceBuffer eviction threshold a hidden pref. r=cajbir
--HG--
extra : rebase_source : 7c22907cc774440f599cd972792d6d55a50151a2
2014-09-09 21:39:00 +12:00
Matthew Gregan
c56b93ea7b Bug 1065235 - Apply eviction to all decoders owned by TrackBuffer and make EvictData threshold apply per-TrackBuffer rather than per-decoder. r=cajbir
--HG--
extra : rebase_source : f4ea425c9adeece7b37a4966131a1b566377add7
2014-09-09 21:12:00 +12:00
Matthew Gregan
ba4e7fa834 Bug 1064705 - Don't treat EOS as fatal when reading optional block subelements in nestegg_read_packet. r=cajbir 2014-09-10 10:51:28 +12:00
Matthew Gregan
6393ec70b5 Bug 1065219 - Move track format rejection from switch to init time. r=cajbir 2014-09-10 14:21:17 +12:00
Matthew Gregan
dd0bc2fbde Bug 1065218 - Convert MediaSourceReader timestamp handling to int64_t/microseconds. r=karlt 2014-09-10 14:27:51 +12:00
Matthew Gregan
aba8fc1912 Bug 1062657 - Tweak SourceBuffer::AppendData overlap algorithm and switch internal SourceBuffer timestamp handling from double/seconds to int64_t/microseconds. r=karlt 2014-09-10 13:26:22 +12:00
Matthew Gregan
a097c4dda8 Factor out more MSE test setup to the helper function. No bug. DONTBUILD 2014-09-12 16:34:38 +12:00
Matthew Gregan
61985df239 Bug 1064826 - Fix random test failures: don't start test seek sequence until appends have been processed. Test only. DONTBUILD 2014-09-15 16:16:54 +12:00
Phil Ringnalda
a3e70e9ba0 Backed out 2 changesets (bug 1065855) for failing their freshly-landed test
CLOSED TREE

Backed out changeset 2605dfc0996d (bug 1065855)
Backed out changeset 8a945498a0e4 (bug 1065855)
2014-09-11 21:55:13 -07:00
Chris Double
2f6512bfcb Bug 1065855 - Tests for MediaSource seekable range 2014-09-12 14:07:06 +12:00
Chris Double
23c6560371 Bug 1065855 - Ignore updating check when setting MediaSource Duration within a SourceBuffer append - r=kinetik 2014-09-12 14:07:02 +12:00
Matthew Gregan
0f85a12a74 Bug 1062666 - Add a debug-only dump method to MediaSource for debugging issues with appended data. r=cajbir 2014-09-12 10:47:06 +12:00
Matthew Gregan
a69549cef2 Backed out changeset b3f02eb02208 (bug 1062666) due to build bustage 2014-09-11 16:42:00 +12:00
Matthew Gregan
ccaaf32a87 Bug 1062666 - Add a debug-only dump method to MediaSource for debugging issues with appended data. 2014-09-09 17:58:18 +12:00
Anthony Jones
8333148a72 Bug 1061079 - Handle misaligned SourceBuffer appends for MP4; r=kinetik 2014-09-11 15:57:35 +12:00
Matthew Gregan
96aeda8fdc Bug 1064826 - Disable test_FrameSelection.html on OS X. 2014-09-10 18:25:50 +12:00
Matthew Gregan
9ffd4a6f81 Bug 1064570 - Run end of SourceBuffer update algorithms asynchronously per spec. r=cajbir 2014-09-09 10:29:41 +12:00
Matthew Gregan
55da0f3e5f Bug 1064160 - Move NotifyGotData calls to TrackBuffer so they are closer to the state being waited/notified on. r=cajbir
Rename NotifyGotData to slightly clearer NotifyTimeRangesChanged.  Move
WaitForData from MediaSourceDecoder's public API to MediaSourceReader's
private API and hoist the wait loop logic inside it.
2014-09-07 23:54:00 +12:00
Matthew Gregan
e7ed001eac Bug 1062664 - Don't update MediaSourceReader::mLast{Audio,Video}Time when seeking. r=cajbir
Any On{Audio,Video}Decoded callbacks triggered before we request a new
sample from a reader after seeking should not be used to compute the
last sample time because they originate from the reader we're switching
away from and cause us to switch back to it after seeking.
2014-09-08 16:55:20 +12:00
Matthew Gregan
6146b675d7 Bug 1062664 - Make Switch{Audio,Video}Reader return true only on an actual reader change (i.e. selecting the current reader is not a switch). r=cajbir
Remove the ok check from MSR::Seek now that Switch{Audio,Video}Reader
may return false; return to relying on the ContainsTime assert.
2014-09-08 16:54:52 +12:00
Matthew Gregan
f971f97ec4 Bug 1062664 - Select newest decoder for a given TrackBuffer. r=cajbir 2014-09-08 12:13:50 +12:00
Matthew Gregan
16aad26466 Bug 1062664 - Refactor reader switching. r=cajbir 2014-09-08 12:07:56 +12:00
Matthew Gregan
3845b6f0b5 Bug 1062664 - Frame selection test. r=cajbir 2014-09-05 18:20:23 +12:00
Matthew Gregan
5c88bf3ea3 Bug 1064118 - Drop MediaSourceReader sub-reader refs in a safer order. r=cajbir 2014-09-08 12:59:36 +12:00
Matthew Gregan
5d6dcd5866 Bug 931388 - Add crashtest for shutdown hang. 2014-09-08 13:38:52 +12:00
Matthew Gregan
f5a8655a03 Bug 1063354 - Refactor MSE tests, introduce mediasource.js shared functions. r=cajbir 2014-09-05 17:10:42 +12:00
Matthew Gregan
4335ec1e50 Bug 1062669 - Consider only SourceBuffers created before the first initialization segment is appended as essential for parent decoder initialization. r=cajbir 2014-09-05 12:04:54 +12:00
Matthew Gregan
8b2ba8781f Bug 1062733 - Keep track of all TrackBuffer decoders rather than only fully initialized ones. r=cajbir 2014-09-04 19:35:01 +12:00
Matthew Gregan
2903132a69 Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-09-04 13:57:06 +12:00
Ryan VanderMeulen
9a0cf4ca0c Backed out 3 changesets (bug 1059058) for mochitest-1 leaks.
Backed out changeset 3a343c27fc7a (bug 1059058)
Backed out changeset 8808324ba834 (bug 1059058)
Backed out changeset c8f0afffca59 (bug 1059058)
2014-09-03 13:55:55 -04:00
Matthew Gregan
5c6916c713 Bug 1059058 - Test bustage fix.
--HG--
extra : rebase_source : 8a9d1e62beaa3921884a70aae3f8fd23322fda68
2014-09-04 03:56:37 +12:00
Matthew Gregan
a35791b9d4 Bug 1059058 - Tweak mochitest to avoid timeout.
--HG--
extra : rebase_source : 04b6fdee34462c0098917ebf22db1675235f8915
2014-09-04 03:14:10 +12:00
Matthew Gregan
f0d67ef6b1 Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-08-28 20:18:01 +12:00
Carsten "Tomcat" Book
6d09ecb72d Backed out changeset f9ecc7e71689 (bug 1059058) for bustage on a CLOSED TREE 2014-09-03 16:14:25 +02:00