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

Unified Diff: chromecast/media/base/media_codec_support.h

Issue 2156193003: [Chromecast] Add a custom CastMediaClient for Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codecs
Patch Set: rebase 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: chromecast/media/base/media_codec_support.h
diff --git a/chromecast/media/base/media_codec_support.h b/chromecast/media/base/media_codec_support.h
index 1971ddd034e118ce9ed5e636e6c2d03bd5e5659c..5b8428ee26859ef16f63eeec558700afb062a1bb 100644
--- a/chromecast/media/base/media_codec_support.h
+++ b/chromecast/media/base/media_codec_support.h
@@ -8,7 +8,9 @@
#include <string>
#include "base/callback.h"
+#include "chromecast/public/media/decoder_config.h"
#include "media/base/mime_util.h"
+#include "media/base/video_codecs.h"
// TODO(slan|servolk): remove when this definition exists in //media.
namespace media {
@@ -22,6 +24,9 @@ namespace media {
// representation of the codec id conforming to RFC 6381) is supported or not.
::media::IsCodecSupportedCB GetIsCodecSupportedOnChromecastCB();
+VideoCodec ToCastVideoCodec(const ::media::VideoCodec codec);
+VideoProfile ToCastVideoProfile(const ::media::VideoCodecProfile profile);
+
} // namespace media
} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698