Commit Graph

96 Commits

Author SHA1 Message Date
Benoit Jacob
60d536773a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Matthew Gregan
23ab8b979f Bug 1005366 - Tighten up handling of SourceBuffer decoder resets. r=cajbir
--HG--
rename : content/media/test/crashtests/926665.html => content/media/mediasource/test/crashtests/926665.html
2014-05-08 14:22:34 +12:00
Matthew Gregan
808d66e431 Bug 1005366 - Minor tidy up of string use in content/media/mediasource. r=cajbir 2014-05-08 14:22:27 +12:00
Matthew Gregan
7765a533fc Bug 1002404 - Register subdecoders earlier to avoid missing initialization. r=cajbir 2014-04-28 23:07:00 +12:00
Matthew Gregan
bf1587c898 Bug 1002994 - Remove array of old decoders from SourceBuffer, just keep a reference to the current decoder. r=cajbir 2014-04-28 23:12:00 +12:00
Matthew Gregan
5d37b4d754 Bug 1002987 - Forward subdecoder frame stats to parent decoder. r=cajbir 2014-04-28 23:09:00 +12:00
Matthew Gregan
68673b84c7 Bug 1002320 - Switch video readers at the earliest possible point rather than the latest. r=cajbir 2014-04-27 22:11:00 +12:00
Matthew Gregan
8baaf89c87 Backout 07196a58650f (bug 1002320) so it can be relanded with a follow-up fix. 2014-04-29 18:52:18 +12:00
Matthew Gregan
0b88abbf1e Bug 1002320 - Switch video readers at the earliest possible point rather than the latest. r=cajbir 2014-04-27 22:11:00 +12:00
Matthew Gregan
45d85dcd01 Bug 946027 - Expose subdecoder's owner to avoid breaking DXVA decoding in MSE. r=cpearce 2014-04-27 17:36:00 +12:00
Matthew Gregan
6cd83695f8 Bug 1000180 - Disallow seeking SourceBufferResource to offsets that have been evicted from the input buffer. r=cajbir 2014-04-27 20:35:00 +12:00
Chris Double
12756cb1cc Bug 1002294 - Fix ContainsTime in SourceBuffer to allow for gaps in time ranges - r=kinetik
--HG--
extra : rebase_source : 6f872c3cd3757f57832cd0797338a1f93b4fa977
2014-04-28 14:39:50 +12:00
Chris Double
6653cf5c72 Bug 1002290 - Set MediaSource duration when read by MediaSourceReader - r=kinetik
--HG--
extra : rebase_source : 07ac1618cf17fd09b72b4fcf7d1fd2973f989999
2014-04-28 14:39:27 +12:00
Matthew Gregan
06f0cb473f Bug 881512 - Restrict MSE codec whitelist to WebM for now. r=cajbir 2014-04-23 21:25:00 +12:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Matthew Gregan
60ca814140 Bug 881512 - Use MediaTaskQueue to run MSE tasks rather than a per-MSE thread. r=cajbir 2014-04-25 22:42:00 +12:00
cajbir
62d3a81cef Bug 1000608 - Populate active source buffers and fix/rename ContainsTime - r=kinetik 2014-04-23 19:44:00 +12:00
cajbir
42e9fb6fde Bug 1000608 - Implement seeking on MediaSourceDecoder - r=kinetik 2014-04-23 19:46:00 +12:00
cajbir
a22aa76f5d Bug 1000608 - Allow querying source buffers to see if they contain data for a given time - r=kinetik 2014-04-23 19:45:00 +12:00
Matthew Gregan
b2ff9b3f80 Bug 881512 - Make sure any released decoders are destroyed on the main thread. r=cajbir 2014-04-24 00:44:00 +12:00
Matthew Gregan
e8952fcd85 Bug 881512 - Explicitly initialize ReadMetadata's aTags parameter to null. Also add some null deref tests. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
e8a2fb3b77 Bug 881512 - Fix bogus indexing of audio/video readers by ditching audio/video reader arrays and using the parent decoder directly. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
99fd9c18f5 Bug 881512 - Delay decoder initialization by indicating that we're waiting for subdecoders to be created. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
07984b60a6 Bug 881512 - Don't mix refcounting with auto ptr use. Rather than try to hang on to the reader, punch the appropriate holes through via the state machine class. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
6b7ea64b2a Bug 881512 - Use the base video and audio queues. Currently works by shifting media data from the sub-reader queues on each decode call. Future work could allow the sub-readers to use the base queues directly. r=cajbir 2014-04-22 01:33:00 +12:00
Matthew Gregan
929d14ff1a Bug 881512 - Don't pretend the entire resource is always completely cached. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
4d687d3504 Bug 881512 - Temp fix: don't call mParentDecoder functions while SBD runs off decode thread. Revert when SBD runs on state machine's task queue. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
dfeda585a8 Bug 881512 - Crude attempt at segment parser for WebM. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
2e36eb5c82 Bug 881512 - Switch video readers on EOF. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
6fd6c6f713 Bug 881512 - Start processing multiple decoders. r=cajbir 2014-04-22 01:30:00 +12:00
Matthew Gregan
2de00cd7ca Bug 881512 - Add hidden pref to ignore MIME type in AddSourceBuffer and IsTypeSupported. For experimental/debugging use only. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
2eece5c24d Bug 881512 - Hide MediaSourceResource implementation details from HTMLMediaElement. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
2cee6e38b1 Bug 881512 - Allow a SourceBuffer to own multiple subdecoders. Switch decoders on abort(). r=cajbir 2014-04-14 23:24:00 +12:00
Boris Zbarsky
79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Masayuki Nakano
930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Eric Rahm
b81b686c03 Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
Vaibhav Agarwal
64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Matthew Gregan
f79cc8e5b0 Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
81a3e1dcc1 Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
2dd9fc6e68 Bug 979096 - Rename PR_LOG uses to MSE_LOG in content/media/mediasource. r=cajbir 2014-03-05 16:35:46 +13:00
cajbir
d4f889268d Bug 976037 - Implement an eviction algorithm for media source extensions - r=kinetik
--HG--
extra : rebase_source : 9727384f364f88957db822905436c19c4943c019
2014-02-28 13:54:48 +13:00
Benjamin Bouvier
460c4df9b5 Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Chris Pearce
5f48ec60ad Bug 977314 - Serve all media mochitest files with 'Cache-Control: no-store' header, so Necko doesn't mess with our byte-range-request detection code. r=kinetik 2014-02-27 16:06:03 +13:00
Wes Kocher
a904a08270 Backed out changeset 3d8a39b9c13e (bug 976037) for media test failures 2014-02-26 15:38:48 -08:00