commit | 5b1b67eb48f73096e173ae60e32ea27ebbb6d519 | [log] [tgz] |
---|---|---|
author | Chris Cunningham <chcunningham@chromium.org> | Sat Mar 23 03:24:41 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Mar 23 03:24:41 2019 |
tree | b937a217c328d490949395a8c62048f49ebb02b9 | |
parent | 9f2930b4833e145f68a86d01ac8333c3ad3b5b7a [diff] |
Refactor (simplify) creation of VideoDecodeStatsReporter VideoDecodeStatsReporter has a few constant properties set during construction (profile, natural_size, and soon, CdmConfig data). This CL moves from a model of observing changes internally to instead making them immutable. Destruction of the stats reporter will tear down the Mojo pipe and finalize stats it may have recorded. This simplifies the logic a great deal. Eventually fps will also be detected externally and passed in this way. Bug: 907909 Change-Id: If0b48d03fad9cad6427dfac4e8e3b5f54bf7e32a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1536612 Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Reviewed-by: Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#643656}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .