commit | 72aaef796a92aac5aac80f315845215f0deebc64 | [log] [tgz] |
---|---|---|
author | mcasas <mcasas@chromium.org> | Wed Mar 18 15:43:14 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Mar 18 15:44:15 2015 |
tree | 942a0efd8529d5dbcec519a9f5308fb07f158451 | |
parent | 3e8d98b6e21fa696a4cb85a59cb0023a83f1e991 [diff] |
FileVideoCaptureDevice: better error mgmt if !File.IsValid() Apparently on Windows platforms there's a small but nonzero crash rate due to CHECK(file.IsValid()) in FileVideoCaptureDevice::OpenFileForRead(). Do not CHECK() there, instead let the callers deal with the problem, so that there is no crash either (capture won't work of course). BUG=466408 Review URL: https://codereview.chromium.org/1017633004 Cr-Commit-Position: refs/heads/master@{#321139}