Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Andreas Pehrson 53d52cde4e Bug 1172394 - Refactor how DecodedStream is set up. r=padenot
This patch removes the responsibility of js-facing MediaStreamTracks from the
MediaDecoder stack, and moves the machinery for setting up DecodedStream to
higher order functions like state mirroring and watchables.

OutputStreamManager is completely gone, since it was designed to manage
MediaStreamTracks across multiple output streams for a single decoder,
on main thread. HTMLMediaElement took over its task in the previous patch.

The MediaDecoderStateMachine now has three control points for capturing:
- mOutputCaptured, which, if true, will capture all decoded data into
  mOutputTracks. If this is set, but mOutputTracks is empty, we are still
  waiting for tracks, and DecodedStream will not play any data. When tracks are
  set, a new DecodedStream is created that will play data through
  SourceMediaTracks piped into mOutputTracks.
- mOutputTracks, which is the set of tracks data is captured into, for
  forwarding to all the output tracks the media element is managing. This set of
  tracks is managed by the MediaDecoder owner, and must contain one audio track
  if the decoder is decoding audio, and one video track if the decoder is
  decoding video. It may be empty since output can be captured before metadata
  is loaded, or playback has ended.
- mOutputPrincipal, which is the principal of the decoded data. All data sent
  into SourceMediaTracks is tagged with this principal.

Differential Revision: https://phabricator.services.mozilla.com/D52042

--HG--
extra : moz-landing-system : lando
2019-11-13 08:55:39 +00:00
.cargo Bug 1594995 - Part 3: Vendor newly added rust dependencies, r=keeler 2019-11-13 11:52:46 +00:00
.vscode Bug 1594520 - Use full path to mach in .vscode/tasks.json on Windows r=jya 2019-11-12 12:54:18 +00:00
accessible Bug 1576946 - Rewrite and remove tests relying on display: -moz-stack;. r=mats 2019-11-12 19:50:06 +00:00
browser Bug 1497909 - Properly remove preview when pdf is disabled. r=Gijs 2019-11-13 17:16:41 +00:00
build Bug 1595633 - Enable 'pointer-overflow' UBSan check. r=froydnj 2019-11-12 16:29:37 +00:00
caps Bug 1592701 - Remove usage of GetURI in nsGlobalWindowInner r=ckerschb 2019-11-07 13:42:37 +00:00
chrome Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
config Bug 1595805 - Disable LTO on macosx fuzzy builds r=froydnj 2019-11-12 16:41:23 +00:00
devtools Bug 1543156 - Wait for the addon manager to start in DevTools addons xpcshell tests r=ochameau 2019-11-13 12:29:08 +00:00
docshell Bug 1558408 - fix fixup of host port URLs with querystrings or refs without forward slashes, r=valentin 2019-11-13 18:07:40 +00:00
dom Bug 1172394 - Refactor how DecodedStream is set up. r=padenot 2019-11-13 08:55:39 +00:00
editor Bug 1591417: part 4) Adapt InsertTextIntoTextNodeWithTransaction to pass adjusted range to TopLevelEditSubActionDataRef.DidInsertText. r=masayuki 2019-11-13 09:16:06 +00:00
extensions Bug 1594584 - Marionette test for autoconfig. r=whimboo,kmag 2019-11-12 18:18:49 +00:00
gfx Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE. 2019-11-13 21:38:23 +02:00
gradle/wrapper
hal Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
image Bug 1591932 - Enable Sniffing on No Mime+ XCTO nosniff r=ckerschb 2019-11-13 12:12:34 +00:00
intl Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE. 2019-11-13 21:38:23 +02:00
ipc Bug 1589809 - [macOS] Use OS_ACTIVITY_MODE=disable for child processes r=spohl 2019-11-09 00:27:48 +00:00
js Bug 1593736 - Rename ArgType_Double to ArgType_Float64. r=lth 2019-11-13 14:43:56 +00:00
layout Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak 2019-11-13 16:36:09 +00:00
media Bug 1562642 - add missing license in media/webrtc/signaling/src/sdp/ r=drno 2019-11-11 21:42:41 +00:00
memory Bug 1539133 - Explicitly say not being able to mmap is likely OOM. r=decoder,glandium 2019-11-12 00:04:46 +00:00
mfbt Bug 1590907 - Remove obsolete macro MOZ_HAVE_BITSCAN64. r=froydnj 2019-11-12 21:59:25 +00:00
mobile Bug 1595831 - use StaticPrefs for dom.ipc prefs for ContentParent and the hang monitor code, r=kmag 2019-11-12 21:30:11 +00:00
modules Backed out changeset 09a0252278f8 (bug 1594004) for bc failures at browser_about_cache.js. CLOSED TREE 2019-11-13 17:02:20 +02:00
mozglue Backed out changeset 70738ac7ba9b (bug 1595482) for xpcshell failures on test_responsiveness.js . CLOSED TREE 2019-11-13 18:28:31 +02:00
netwerk Bug 1594995 - Part 1: Update neqo dependencies to specify a rev instead of a version, and run ./mach vendor rust on a clean central tip, r=heycam 2019-11-13 11:52:15 +00:00
nsprpub Bug 1591887 - NSPR_4_24_BETA1. r=jcj 2019-10-28 18:35:18 +00:00
other-licenses Bug 1578489 - New Windows installer icon. r=agashlin 2019-09-23 22:00:43 +00:00
parser Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk 2019-11-08 12:17:57 +00:00
python Bug 1562642 - add missing license in python/l10n/convert_xul_to_fluent r=zbraniecki 2019-11-11 22:45:02 +00:00
remote Bug 1595528 - [remote] Add local Chromium folder to ignore list. r=remote-protocol-reviewers,maja_zf 2019-11-12 21:19:11 +00:00
security Bug 1594995 - Part 5: Use a safe-mode database for test_cert_storage_preexisting.js, r=keeler 2019-11-13 18:52:37 +00:00
services Bug 1594929 - Remove invalidateCertificate from FxAccountsKeys.jsm. r=rfkelly 2019-11-12 04:05:28 +00:00
servo Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE. 2019-11-13 21:38:23 +02:00
startupcache Bug 1587112 - Make asserts in StartupCache::LoadArchive explicit r=njn 2019-10-22 03:15:18 +00:00
storage Bug 1576593 - P2 - Change the way for tunneling quota information to SQLite; r=janv 2019-10-25 12:02:10 +00:00
taskcluster Bug 1594330 - Fix GeckoProfile callback action r=jmaher 2019-11-13 15:57:27 +00:00
testing Bug 1593942 - Provide browser name and version being tested in perfherder data. r=perftest-reviewers,stephendonner 2019-11-11 18:43:58 +00:00
third_party Bug 1594995 - Part 3: Vendor newly added rust dependencies, r=keeler 2019-11-13 11:52:46 +00:00
toolkit Bug 1590622 - Prefer a domain match over a scheme match when deduping logins. r=sfoster 2019-11-13 18:53:33 +00:00
tools Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE. 2019-11-13 21:38:23 +02:00
uriloader Bug 1589895 - Add default JavaScript MIME type for .mjs used for ES modules. r=bzbarsky 2019-11-13 19:12:02 +00:00
view Bug 1576946 - Rewrite and remove tests relying on display: -moz-stack;. r=mats 2019-11-12 19:50:06 +00:00
widget Backed out 4 changesets (bug 1594950) for turning bug 1405083 into permafail. 2019-11-13 06:44:24 +02:00
xpcom Bug 1595750 - Add MakeBackInserter function to create a back-inserting output iterator for nsTArray. r=froydnj 2019-11-13 09:06:42 +00:00
xpfe/appshell Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug 2019-11-05 17:56:28 +00:00
.arcconfig
.clang-format
.clang-format-ignore Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE. 2019-11-13 21:38:23 +02:00
.cron.yml Bug 1590150 - Turn off ESR60 cron jobs. r=tomprince 2019-10-22 21:21:49 +00:00
.eslintignore Bug 1589333 - Enable ESLint for all of devtools/client/shared/ (manual changes). r=Standard8,jdescottes 2019-11-04 18:05:14 +00:00
.eslintrc.js Bug 1592141, rename .xul test files in toolkit/ to .xhtml r=mossop 2019-11-11 19:14:34 +00:00
.flake8 Bug 1583353 - [manifestparser] Support manifests in the 'pathprefix' filter, r=egao 2019-11-08 18:58:09 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1595528 - [remote] Add local Chromium folder to ignore list. r=remote-protocol-reviewers,maja_zf 2019-11-12 21:19:11 +00:00
.hgtags No bug - Tagging mozilla-central d42c22627c8dee9e9286fd5d7bbc3d02afbfad44 with FIREFOX_NIGHTLY_71_END a=release DONTBUILD CLOSED TREE 2019-10-21 17:57:42 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1589706: [firefox-ci] Use AWS Provider-based decision worker; r=Callek 2019-10-24 00:54:12 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
Cargo.lock Bug 1594995 - Part 3: Vendor newly added rust dependencies, r=keeler 2019-11-13 11:52:46 +00:00
Cargo.toml Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE. 2019-11-13 21:38:23 +02:00
client.mk
client.py Bug 1559975 - fix python2 and python3 linter errors for client.py r=ahal 2019-09-11 21:06:34 +00:00
CLOBBER Bug 1583269 - Part 5: Updating ICU requires a clobber. r=jwalden 2019-10-19 01:40:06 +00:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1592855 - run mach vendor python with python3 r=ahal 2019-11-05 15:29:44 +00:00
Makefile.in Bug 1540276: Migrate authenticode signing to autograph r=Callek,mshal 2019-09-30 13:57:32 +00:00
moz.build
moz.configure Backed out changeset ed90ca2fb5a8 (bug 1585370) for toolchain bustages. CLOSED TREE 2019-10-12 06:29:06 +03:00
mozilla-config.h.in
old-configure.in Bug 1593474 - Require NSPR 4.23 in old-configure.in r=kaie 2019-11-04 23:41:44 +00:00
package-lock.json
package.json
README.txt
settings.gradle Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
substitute-local-geckoview.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.