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

Unified Diff: media/base/key_systems_unittest.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: media/base/key_systems_unittest.cc
diff --git a/media/base/key_systems_unittest.cc b/media/base/key_systems_unittest.cc
index 596cc9bf1449ff717b1b42213d3c596eb00e1604..540e88c19810583b69916be38372de229190943f 100644
--- a/media/base/key_systems_unittest.cc
+++ b/media/base/key_systems_unittest.cc
@@ -183,6 +183,7 @@ class TestMediaClient : public MediaClient {
bool IsSupportedVideoConfig(media::VideoCodec codec,
media::VideoCodecProfile profile,
int level) final;
+ bool IsSupportedPassthroughAudio(media::AudioCodec codec) final;
// Helper function to test the case where IsKeySystemsUpdateNeeded() is true
// after AddSupportedKeySystems() is called.
@@ -239,6 +240,10 @@ bool TestMediaClient::IsSupportedVideoConfig(media::VideoCodec codec,
return true;
}
+bool TestMediaClient::IsSupportedPassthroughAudio(media::AudioCodec codec) {
+ return false;
+}
+
void TestMediaClient::SetKeySystemsUpdateNeeded() {
is_update_needed_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698