Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Chromecast] Avoid DCHECK for 0-area video frames
If video resolution is reported as width or height 0, the overlay codepath leads to a DCHECK in TextureMailbox. Since these video frames can't actually be visible onscreen, we can just take the backup path, which creates a black software frame instead. BUG=internal b/26736950 TEST=Ran the failing test mentioned in bug, verified that black frame path is taken and no DCHECK hit. Review URL: https://codereview.chromium.org/1623763002 Cr-Commit-Position: refs/heads/master@{#371273}
- Loading branch information