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

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: Drop the 'FORMAT_'. Just 'HISTOGRAM_MAX', it's cleaner. 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') | tools/metrics/histograms/histograms.xml » ('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..579450fb6b50753a8842dcff9b4349a4e1805bf5 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::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::HISTOGRAM_MAX:
NOTREACHED();
}
}
« no previous file with comments | « no previous file | media/base/video_decoder_config.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698