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..d1841e3b942d05836a6f79be2a4f8396f5b6c4f3 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). |
+ bool 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 |