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

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

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows needs some more headers, apaprently. Created 4 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
« no previous file with comments | « no previous file | media/base/decoder_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_interface_provider.cc
diff --git a/content/renderer/media/media_interface_provider.cc b/content/renderer/media/media_interface_provider.cc
index 84faca9bb32ac79928489d0f8b6b00f95f3d4aae..8e3968e2182dc0f0c44ab401a1b891c7e04c5d21 100644
--- a/content/renderer/media/media_interface_provider.cc
+++ b/content/renderer/media/media_interface_provider.cc
@@ -37,6 +37,9 @@ void MediaInterfaceProvider::GetInterface(const mojo::String& interface_name,
} else if (interface_name == media::mojom::AudioDecoder::Name_) {
GetMediaServiceFactory()->CreateAudioDecoder(
mojo::MakeRequest<media::mojom::AudioDecoder>(std::move(pipe)));
+ } else if (interface_name == media::mojom::VideoDecoder::Name_) {
+ GetMediaServiceFactory()->CreateVideoDecoder(
+ mojo::MakeRequest<media::mojom::VideoDecoder>(std::move(pipe)));
} else {
NOTREACHED();
}
« no previous file with comments | « no previous file | media/base/decoder_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698