diff options
author | ddorwin <ddorwin@chromium.org> | 2016-03-02 21:06:29 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-03 05:07:51 +0000 |
commit | f1f20728a18fff332af52c0e60726a8b34510ba6 (patch) | |
tree | f4c5b710675a1a3787b404cd2a31a7d7b7532067 /media/base/media.h | |
parent | fee5771921b6f93f36a3b102c30b3711db8b7b5b (diff) | |
download | chromium_src-f1f20728a18fff332af52c0e60726a8b34510ba6.zip chromium_src-f1f20728a18fff332af52c0e60726a8b34510ba6.tar.gz chromium_src-f1f20728a18fff332af52c0e60726a8b34510ba6.tar.bz2 |
EME on Android: Improve accuracy of Key System availability.
Implemented per https://crbug.com/582618#c7.
BUG=559236,582618
Review URL: https://codereview.chromium.org/1747073003
Cr-Commit-Position: refs/heads/master@{#378959}
Diffstat (limited to 'media/base/media.h')
-rw-r--r-- | media/base/media.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media/base/media.h b/media/base/media.h index 65a7a69..b6cccc4 100644 --- a/media/base/media.h +++ b/media/base/media.h @@ -46,6 +46,12 @@ MEDIA_EXPORT bool IsUnifiedMediaPipelineEnabled(); // 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 +// (e.g. MediaCodec) and not full-featured players (e.g. MediaPlayer). +MEDIA_EXPORT bool ArePlatformDecodersAvailable(); #endif } // namespace media |