summaryrefslogtreecommitdiffstats
path: root/media/base/media.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/media.h')
-rw-r--r--media/base/media.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/media/base/media.h b/media/base/media.h
index ca5a8175..b6cccc4 100644
--- a/media/base/media.h
+++ b/media/base/media.h
@@ -41,6 +41,12 @@ MEDIA_EXPORT bool PlatformHasVp9Support();
// unified media pipeline is supported everywhere. http://crbug.com/580626.
MEDIA_EXPORT bool IsUnifiedMediaPipelineEnabled();
+// Similar to IsUnifiedMediaPipelineEnabled() but will also return true if
+// MediaCodec is not available (allowing the unified pipeline to take over for
+// cases where existing pipeline has no support). As above, codecs requiring
+// platform support may not be available.
+MEDIA_EXPORT bool IsUnifiedMediaPipelineEnabledForMse();
+
// Returns whether the platform decoders are available for use.
// This includes decoders being available on the platform and accessible, such
// as via the GPU process. Should only be used for actual decoders