Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1841)

Unified Diff: cc/resources/video_resource_updater.cc

Issue 45053003: Add UMA metrics for ffmpeg color ranges. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add period to comment. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/video_decoder_config.cc » ('j') | media/base/video_frame.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/video_resource_updater.cc
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
index b819b38fbd04cdc1139426ec7bf1313406720724..2a83f647b43e226e953d53a50c404c753b5e8f5f 100644
--- a/cc/resources/video_resource_updater.cc
+++ b/cc/resources/video_resource_updater.cc
@@ -80,6 +80,7 @@ bool VideoResourceUpdater::VerifyFrame(
case media::VideoFrame::RGB32:
case media::VideoFrame::EMPTY:
case media::VideoFrame::I420:
+ case media::VideoFrame::FORMAT_HISTOGRAM_MAX:
break;
}
return false;
@@ -112,6 +113,7 @@ static gfx::Size SoftwarePlaneDimension(
#if defined(GOOGLE_TV)
case media::VideoFrame::HOLE:
#endif
+ case media::VideoFrame::FORMAT_HISTOGRAM_MAX:
NOTREACHED();
}
}
« no previous file with comments | « no previous file | media/base/video_decoder_config.cc » ('j') | media/base/video_frame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698