forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MediaCapabilities - sanitize DB data
UKM shows that 0.0025621 % of reports have a weird quirk where dropped frames exceed decoded frames by 1. I've been unable to determine the cause of the off-by-one, but we don't want to simply throw out the data because this is a very strong signal the machine can't keep up. Instead, this CL just caps all frame counts to the total number of decoded frames. Additionally, 0.385807851 % of records in the DB appear to be corrupted. This causes our proto's double fields to contain crazy high values, triggering exceptions (crashes) in floating point math. This CL will discard any DB data that is obviously corrupt. This is tied to the above fix because we can now consider dropped > decoded to reliably be DB corruption. Bug: 796885,982009 Change-Id: Id7d0adb509d7e20b3b61453e7407c8efff9feb86 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717403 Reviewed-by: Frank Liberato <liberato@chromium.org> Reviewed-by: Steven Holte <holte@chromium.org> Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Auto-Submit: Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#681187}
- Loading branch information
1 parent
89eb64a
commit b75411b
Showing
6 changed files
with
242 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.