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

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

Issue 2153643002: Make video codec support logic overridable via MediaClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move is_ambiguous flag handling back to StringToCodec Created 4 years, 5 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.h
diff --git a/content/renderer/media/render_media_client.h b/content/renderer/media/render_media_client.h
index 1d5d3457a129b44cad20698d327cb545d8a60b96..8f793d9652e9080edabdf9d3f7859d3bb69f1a27 100644
--- a/content/renderer/media/render_media_client.h
+++ b/content/renderer/media/render_media_client.h
@@ -32,6 +32,9 @@ class CONTENT_EXPORT RenderMediaClient : public media::MediaClient {
std::vector<std::unique_ptr<media::KeySystemProperties>>*
key_systems_properties) final;
void RecordRapporURL(const std::string& metric, const GURL& url) final;
+ bool IsSupportedVideoConfig(media::VideoCodec codec,
+ media::VideoCodecProfile profile,
+ int level) override;
void SetTickClockForTesting(std::unique_ptr<base::TickClock> tick_clock);
« no previous file with comments | « content/browser/media/media_canplaytype_browsertest.cc ('k') | content/renderer/media/render_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698