diff options
author | rileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 13:08:00 +0000 |
---|---|---|
committer | rileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 13:08:00 +0000 |
commit | 956d9ef3e58d85771c18620a1fdf1ca54e16c150 (patch) | |
tree | 82437279f1f44e27f8f7136d1494794d28a0616b /cc | |
parent | d6ec84afaa637fb057ad1cbf5a7c03b02b6a456c (diff) | |
download | chromium_src-956d9ef3e58d85771c18620a1fdf1ca54e16c150.zip chromium_src-956d9ef3e58d85771c18620a1fdf1ca54e16c150.tar.gz chromium_src-956d9ef3e58d85771c18620a1fdf1ca54e16c150.tar.bz2 |
Replace VideoFrame::INVALID with UNKNOWN.
INVALID was misleading: the usage has more to do with the format being unknown at the time, rather than being invalid.
BUG=313827
TBR=danakj
Review URL: https://codereview.chromium.org/51343005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/resources/video_resource_updater.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc index b819b38..ebd23b1 100644 --- a/cc/resources/video_resource_updater.cc +++ b/cc/resources/video_resource_updater.cc @@ -76,7 +76,7 @@ bool VideoResourceUpdater::VerifyFrame( return true; // Unacceptable inputs. ¯\(°_o)/¯ - case media::VideoFrame::INVALID: + case media::VideoFrame::UNKNOWN: case media::VideoFrame::RGB32: case media::VideoFrame::EMPTY: case media::VideoFrame::I420: @@ -104,7 +104,7 @@ static gfx::Size SoftwarePlaneDimension( case media::VideoFrame::YV16: return gfx::ToFlooredSize(gfx::ScaleSize(coded_size, 0.5f, 1.f)); - case media::VideoFrame::INVALID: + case media::VideoFrame::UNKNOWN: case media::VideoFrame::RGB32: case media::VideoFrame::EMPTY: case media::VideoFrame::I420: |