| 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 4a1ce0aece32637efa1632b0f796b2b383d41767..a29fe9aadc3b0012f4a26d81d9d54a8e34ddb9c8 100644
|
| --- a/media/base/android/sdk_media_codec_bridge.h
|
| +++ b/media/base/android/sdk_media_codec_bridge.h
|
| @@ -164,6 +164,10 @@ class MEDIA_EXPORT VideoCodecBridge : public SdkMediaCodecBridge {
|
| // the new size.
|
| bool IsAdaptivePlaybackSupported(int width, int height);
|
|
|
| + // Changes the output surface for the MediaCodec. May only be used on API
|
| + // level 23 and higher (Marshmallow).
|
| + void SetSurface(jobject surface);
|
| +
|
| // Test-only method to set the return value of IsAdaptivePlaybackSupported().
|
| // Without this function, the return value of that function will be device
|
| // dependent. If |adaptive_playback_supported| is equal to 0, the return value
|
|
|