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

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

Issue 2503233003: Add enumerations for compressed (E)AC3 sample format (Closed)
Patch Set: Fix proto Created 4 years, 1 month 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/android/media_codec_util.cc ('k') | media/base/audio_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/sdk_media_codec_bridge.cc
diff --git a/media/base/android/sdk_media_codec_bridge.cc b/media/base/android/sdk_media_codec_bridge.cc
index 2fff742831806dd40812a023f1eba69d1081930c..092e7ccf4e5766c7327719cf1efa187a2ac29cea 100644
--- a/media/base/android/sdk_media_codec_bridge.cc
+++ b/media/base/android/sdk_media_codec_bridge.cc
@@ -60,6 +60,10 @@ static const std::string AudioCodecToAndroidMimeType(const AudioCodec& codec) {
return "audio/opus";
case kCodecAAC:
return "audio/mp4a-latm";
+ case kCodecAC3:
+ return "audio/ac3";
+ case kCodecEAC3:
+ return "audio/eac3";
default:
return std::string();
}
« no previous file with comments | « media/base/android/media_codec_util.cc ('k') | media/base/audio_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698