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

Unified Diff: media/mojo/services/media_type_converters.h

Issue 684963003: Add support for external video renderers in mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_config
Patch Set: More MSVC... Created 6 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
« no previous file with comments | « media/mojo/services/demuxer_stream_provider_shim.cc ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_type_converters.h
diff --git a/media/mojo/services/media_type_converters.h b/media/mojo/services/media_type_converters.h
index fba78dcc8d1dbbd7aecf2013a4af474ee6b65b11..9901865c63e491500d0815a91af63193980c5dd2 100644
--- a/media/mojo/services/media_type_converters.h
+++ b/media/mojo/services/media_type_converters.h
@@ -10,6 +10,7 @@
namespace media {
class AudioDecoderConfig;
+class VideoDecoderConfig;
class DecoderBuffer;
}
@@ -37,6 +38,15 @@ struct TypeConverter<media::AudioDecoderConfig, AudioDecoderConfigPtr> {
static media::AudioDecoderConfig Convert(const AudioDecoderConfigPtr& input);
};
+template <>
+struct TypeConverter<VideoDecoderConfigPtr, media::VideoDecoderConfig> {
+ static VideoDecoderConfigPtr Convert(const media::VideoDecoderConfig& input);
+};
+template <>
+struct TypeConverter<media::VideoDecoderConfig, VideoDecoderConfigPtr> {
+ static media::VideoDecoderConfig Convert(const VideoDecoderConfigPtr& input);
+};
+
} // namespace mojo
#endif // MEDIA_MOJO_SERVICES_MEDIA_TYPE_CONVERTERS_H_
« no previous file with comments | « media/mojo/services/demuxer_stream_provider_shim.cc ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698