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

Unified Diff: media/filters/vpx_video_decoder.cc

Issue 16830004: media: Remove VP9 flag, and enable VP9 support by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit in generated_resources.grd Created 7 years, 6 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 | « media/filters/stream_parser_factory.cc ('k') | net/base/mime_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/vpx_video_decoder.cc
diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc
index 8f88d84f3328a9c2247e64d2ee74b3a10f42a871..949c10045db2a8563f2ca302036fa4c73dfcaa87 100644
--- a/media/filters/vpx_video_decoder.cc
+++ b/media/filters/vpx_video_decoder.cc
@@ -123,10 +123,8 @@ bool VpxVideoDecoder::ConfigureDecoder() {
const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
bool can_handle = false;
- if (cmd_line->HasSwitch(switches::kEnableVp9Playback) &&
- config.codec() == kCodecVP9) {
+ if (config.codec() == kCodecVP9)
can_handle = true;
- }
if (cmd_line->HasSwitch(switches::kEnableVp8AlphaPlayback) &&
config.codec() == kCodecVP8 && config.format() == VideoFrame::YV12A) {
can_handle = true;
« no previous file with comments | « media/filters/stream_parser_factory.cc ('k') | net/base/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698