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

Unified Diff: chromecast/public/media_codec_support_shlib.h

Issue 2156193003: [Chromecast] Add a custom CastMediaClient for Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codecs
Patch Set: Move #define MEDIA_IMPLEMENTATION to .cc file 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
« no previous file with comments | « chromecast/public/media/decoder_config.h ('k') | chromecast/renderer/cast_content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/public/media_codec_support_shlib.h
diff --git a/chromecast/public/media_codec_support_shlib.h b/chromecast/public/media_codec_support_shlib.h
index 168ecd81f6c80a74a6ed8be333f8d00b076e4312..d442c50398b4eba0b427eaa95c774e8d88ae77fc 100644
--- a/chromecast/public/media_codec_support_shlib.h
+++ b/chromecast/public/media_codec_support_shlib.h
@@ -7,6 +7,7 @@
#include <string>
+#include "chromecast/public/media/decoder_config.h"
#include "chromecast_export.h"
namespace chromecast {
@@ -33,6 +34,13 @@ class CHROMECAST_EXPORT MediaCodecSupportShlib {
static CodecSupport IsSupported(const std::string& codec);
};
+class CHROMECAST_EXPORT MediaCapabilitiesShlib {
+ public:
+ static bool IsSupportedVideoConfig(VideoCodec codec,
+ VideoProfile profile,
+ int level);
+};
+
gfhuang 2016/07/26 21:48:58 this public API change is not safe for OEM Cast-on
servolk 2016/07/26 22:13:45 Yes, I guess we can mark it as '__attribute__((__w
} // namespace media
} // namespace chromecast
« no previous file with comments | « chromecast/public/media/decoder_config.h ('k') | chromecast/renderer/cast_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698