Chromium Code Reviews| Index: media/base/android/sdk_media_codec_bridge.h |
| diff --git a/media/base/android/sdk_media_codec_bridge.h b/media/base/android/sdk_media_codec_bridge.h |
| index b729eab67770f35ae83203d94212b5ac74067f8b..63c939d8f768d95b8e667dc64fe9d27c3ca14eba 100644 |
| --- a/media/base/android/sdk_media_codec_bridge.h |
| +++ b/media/base/android/sdk_media_codec_bridge.h |
| @@ -162,10 +162,13 @@ class MEDIA_EXPORT VideoCodecBridge : public SdkMediaCodecBridge { |
| // Create, start, and return a VideoCodecBridge decoder or NULL on failure. |
| static VideoCodecBridge* CreateDecoder( |
| const VideoCodec& codec, // e.g. media::kCodecVP8 |
| - bool is_secure, |
| - const gfx::Size& size, // Output frame size. |
| - jobject surface, // Output surface, optional. |
| - jobject media_crypto); // MediaCrypto object, optional. |
| + bool is_secure, // Will be used with encrypted content. |
| + const gfx::Size& size, // Output frame size. |
| + jobject surface, // Output surface, optional. |
| + jobject media_crypto, // MediaCrypto object, optional. |
| + bool allow_adaptive_playback = |
| + true); // Should adaptive playback be allowed if |
| + // supported. |
|
qinmin
2016/02/23 23:29:22
nit: this fits into the previous line.
DaleCurtis
2016/02/23 23:31:28
Done.
|
| // Create, start, and return a VideoCodecBridge encoder or NULL on failure. |
| static VideoCodecBridge* CreateEncoder( |