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

Unified Diff: media/base/android/demuxer_stream_player_params.cc

Issue 812643005: Re-add AC3/EAC3 audio demuxing support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: buildfix Created 4 years, 11 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/BUILD.gn ('k') | media/base/audio_decoder_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/demuxer_stream_player_params.cc
diff --git a/media/base/android/demuxer_stream_player_params.cc b/media/base/android/demuxer_stream_player_params.cc
index 24527116da262ee9834a4b2ac582001d98348908..3ce2a76fb1d800113c95346c1108744da5743b23 100644
--- a/media/base/android/demuxer_stream_player_params.cc
+++ b/media/base/android/demuxer_stream_player_params.cc
@@ -66,8 +66,10 @@ const char* AsString(AudioCodec codec) {
RETURN_STRING(kCodecPCM_S16BE);
RETURN_STRING(kCodecPCM_S24BE);
RETURN_STRING(kCodecOpus);
+ RETURN_STRING(kCodecEAC3);
RETURN_STRING(kCodecPCM_ALAW);
RETURN_STRING(kCodecALAC);
+ RETURN_STRING(kCodecAC3);
}
NOTREACHED();
return nullptr; // crash early
« no previous file with comments | « media/BUILD.gn ('k') | media/base/audio_decoder_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698