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

Unified Diff: media/filters/stream_parser_factory.cc

Issue 294403002: Enable ADTS demuxing by default in Media Source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/base/run_all_unittests.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/stream_parser_factory.cc
diff --git a/media/filters/stream_parser_factory.cc b/media/filters/stream_parser_factory.cc
index 5a5603eb510095a676103a5b1ad01be77c78f14c..dd0e95aa82b4c3a69667f894d931aa8ec1600529 100644
--- a/media/filters/stream_parser_factory.cc
+++ b/media/filters/stream_parser_factory.cc
@@ -317,15 +317,6 @@ static bool CheckTypeAndCodecs(
const SupportedTypeInfo& type_info = kSupportedTypeInfo[i];
if (type == type_info.type) {
if (codecs.empty()) {
-#if defined(USE_PROPRIETARY_CODECS)
- if (type_info.codecs == kAudioADTSCodecs &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableADTSStreamParser)) {
- DVLOG(1) << "ADTSStreamParser is not enabled.";
- return false;
- }
-#endif
-
const CodecInfo* codec_info = type_info.codecs[0];
if (codec_info && !codec_info->pattern &&
VerifyCodec(codec_info, audio_codecs, video_codecs)) {
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698