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

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

Issue 2783963002: Add IsSupportedAudioConfig in MediaClient (Closed)
Patch Set: CR feedback Created 3 years, 9 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 | « content/renderer/media/render_media_client.h ('k') | media/base/decode_capabilities.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d916fe2c59c84474110ccbe4090f725e3854e750..bc1855488ad48f655d0123c6e56363240a2e543d 100644
--- a/content/renderer/media/render_media_client.cc
+++ b/content/renderer/media/render_media_client.cc
@@ -93,6 +93,12 @@ void RenderMediaClient::RecordRapporURL(const std::string& metric,
GetContentClient()->renderer()->RecordRapporURL(metric, url);
}
+bool RenderMediaClient::IsSupportedAudioConfig(
+ const media::AudioConfig& config) {
+ // Render media client does not customize decoder support. Defer to media/.
+ return ::media::IsSupportedAudioConfig(config);
+}
+
bool RenderMediaClient::IsSupportedVideoConfig(
const media::VideoConfig& config) {
// Render media client does not customize decoder support. Defer to media/.
« no previous file with comments | « content/renderer/media/render_media_client.h ('k') | media/base/decode_capabilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698