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

Unified Diff: media/filters/stream_parser_factory.cc

Issue 189123003: Remove deprecated media switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: media/filters/stream_parser_factory.cc
diff --git a/media/filters/stream_parser_factory.cc b/media/filters/stream_parser_factory.cc
index 83648f00463da899c8634dc118b1511404dc025b..407e305626fe26f54ced6b3e6f8c6c4400b6b1cd 100644
--- a/media/filters/stream_parser_factory.cc
+++ b/media/filters/stream_parser_factory.cc
@@ -268,11 +268,6 @@ static bool VerifyCodec(
return false;
}
#endif
- if (codec_info->tag == CodecInfo::HISTOGRAM_OPUS) {
- const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
- if (cmd_line->HasSwitch(switches::kDisableOpusPlayback))
- return false;
- }
if (audio_codecs)
audio_codecs->push_back(codec_info->tag);
return true;

Powered by Google App Engine
This is Rietveld 408576698