summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorrileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 13:08:00 +0000
committerrileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 13:08:00 +0000
commit956d9ef3e58d85771c18620a1fdf1ca54e16c150 (patch)
tree82437279f1f44e27f8f7136d1494794d28a0616b /content
parentd6ec84afaa637fb057ad1cbf5a7c03b02b6a456c (diff)
downloadchromium_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 'content')
-rw-r--r--content/common/gpu/media/gpu_video_encode_accelerator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.cc b/content/common/gpu/media/gpu_video_encode_accelerator.cc
index 4beacb0..1739beb 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.cc
@@ -26,7 +26,7 @@ GpuVideoEncodeAccelerator::GpuVideoEncodeAccelerator(GpuChannel* gpu_channel,
: weak_this_factory_(this),
channel_(gpu_channel),
route_id_(route_id),
- input_format_(media::VideoFrame::INVALID),
+ input_format_(media::VideoFrame::UNKNOWN),
output_buffer_size_(0) {}
GpuVideoEncodeAccelerator::~GpuVideoEncodeAccelerator() {