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

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: Mark MediaCapShlib::IsSupportedVideoConfig as weak symbol 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/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..1e01d1bb730743025e2ff5a40a00e2b2f31c3376 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"
gfhuang 2016/07/27 05:49:39 remove "chromecast/public" and use relative path,
servolk 2016/07/27 18:56:34 Done.
#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) __attribute__((__weak__));
+};
+
} // namespace media
} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698