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

Unified Diff: media/base/android/media_codec_bridge.h

Issue 23517002: MediaSourcePlayer implements IsTypeSupported(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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: media/base/android/media_codec_bridge.h
diff --git a/media/base/android/media_codec_bridge.h b/media/base/android/media_codec_bridge.h
index 3469b1804e7525fb423244162284c617169e7bee..2bbbd17a2b84a6d3a6940b2ca6b4f3753515a5f8 100644
--- a/media/base/android/media_codec_bridge.h
+++ b/media/base/android/media_codec_bridge.h
@@ -39,6 +39,9 @@ class MEDIA_EXPORT MediaCodecBridge {
// Returns true if MediaCodec is available on the device.
static bool IsAvailable();
+ // Returns if MediaCodecBridge can play |mime| type in |secure| mode.
ddorwin 2013/08/27 18:14:19 1) Is |mime| the correct name? 2) Who is converti
xhwang 2013/08/28 01:21:24 Current code uses AudioCodecToMimeType and VideoCo
ddorwin 2013/08/28 02:28:50 I think we should hide these platform-specific str
xhwang 2013/08/28 18:19:15 I agree that we should not expose this non-standar
+ static bool CanPlayType(const char* mime, bool secure);
ddorwin 2013/08/27 18:14:19 Why not use "const std::string&" ?
xhwang 2013/08/28 01:21:24 Done.
+
virtual ~MediaCodecBridge();
// Resets both input and output, all indices previously returned in calls to

Powered by Google App Engine
This is Rietveld 408576698