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

Unified Diff: content/renderer/media/render_media_client.cc

Issue 2914273004: Add IsSupportedBitstreamAudioCodec() function in MediaClient. (Closed)
Patch Set: Created 3 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
Index: content/renderer/media/render_media_client.cc
diff --git a/content/renderer/media/render_media_client.cc b/content/renderer/media/render_media_client.cc
index c3d1467614c89a140699387255949f981c0312a0..79d44c4cf19f3bfb812200294df96b30590c418a 100644
--- a/content/renderer/media/render_media_client.cc
+++ b/content/renderer/media/render_media_client.cc
@@ -44,4 +44,8 @@ bool RenderMediaClient::IsSupportedVideoConfig(
return GetContentClient()->renderer()->IsSupportedVideoConfig(config);
}
+bool RenderMediaClient::IsSupportedBitstreamAudio(media::AudioCodec codec) {
+ return GetContentClient()->renderer()->IsSupportedBitstreamAudio(codec);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698