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

Unified Diff: chromecast/media/cma/base/decoder_config_adapter.cc

Issue 2466463005: Support (E)AC3 passthrough
Patch Set: Improve CastMediaClient::IsSupportedPassthroughAudio() 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
Index: chromecast/media/cma/base/decoder_config_adapter.cc
diff --git a/chromecast/media/cma/base/decoder_config_adapter.cc b/chromecast/media/cma/base/decoder_config_adapter.cc
index 544154fd8c6bfe80a397e5660d1677ebe8102876..a91e0e792b8b7da3dc3b8ef3cad8ee3ba26817ea 100644
--- a/chromecast/media/cma/base/decoder_config_adapter.cc
+++ b/chromecast/media/cma/base/decoder_config_adapter.cc
@@ -61,6 +61,8 @@ SampleFormat ToSampleFormat(const ::media::SampleFormat sample_format) {
return kSampleFormatPlanarF32;
case ::media::kSampleFormatPlanarS32:
return kSampleFormatPlanarS32;
+ case ::media::kSampleFormatRaw:
+ return kUnknownSampleFormat;
}
NOTREACHED();
return kUnknownSampleFormat;

Powered by Google App Engine
This is Rietveld 408576698