| 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 2d046465d4e1fe7a1a622c3fc0f9734aa0f7b1ee..da2348f497556b9b86cc715dc038552721c6de7d 100644
|
| --- a/media/base/android/media_codec_bridge.h
|
| +++ b/media/base/android/media_codec_bridge.h
|
| @@ -58,6 +58,9 @@ class MEDIA_EXPORT MediaCodecBridge {
|
| // Returns true if MediaCodec.setParameters() is available on the device.
|
| static bool SupportsSetParameters();
|
|
|
| + // Returns true if MediaCodec.getName() is available on the device.
|
| + static bool SupportsGetName();
|
| +
|
| // Returns whether MediaCodecBridge has a decoder that |is_secure| and can
|
| // decode |codec| type.
|
| static bool CanDecode(const std::string& codec, bool is_secure);
|
| @@ -74,6 +77,10 @@ class MEDIA_EXPORT MediaCodecBridge {
|
| // Get a list of supported codecs.
|
| static std::vector<CodecsInfo> GetCodecsInfo();
|
|
|
| + // Get default codec name for |mime_type|.
|
| + static std::string GetDefaultCodecName(const std::string& mime_type,
|
| + MediaCodecDirection direction);
|
| +
|
| virtual ~MediaCodecBridge();
|
|
|
| // Resets both input and output, all indices previously returned in calls to
|
|
|