Index: content/common/gpu/media/android_copying_backing_strategy.h |
diff --git a/content/common/gpu/media/android_copying_backing_strategy.h b/content/common/gpu/media/android_copying_backing_strategy.h |
index 4cb1f622a5a30f1f2c46eddd1e17f6a8a4de9a75..d728b4876edfc0017097f14f20757f80c0d3e603 100644 |
--- a/content/common/gpu/media/android_copying_backing_strategy.h |
+++ b/content/common/gpu/media/android_copying_backing_strategy.h |
@@ -32,7 +32,6 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy |
// AndroidVideoDecodeAccelerator::BackingStrategy |
void Initialize(AVDAStateProvider*) override; |
void Cleanup(const AndroidVideoDecodeAccelerator::OutputBufferMap&) override; |
- uint32 GetNumPictureBuffers() const override; |
uint32 GetTextureTarget() const override; |
scoped_refptr<gfx::SurfaceTexture> CreateSurfaceTexture() override; |
void UseCodecBufferForPictureBuffer(int32 codec_buffer_index, |
@@ -41,6 +40,11 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy |
media::VideoCodecBridge*, |
const AndroidVideoDecodeAccelerator::OutputBufferMap&) override; |
+ static media::VideoDecodeAccelerator::Capabilities::Flags |
+ GetCapabilitiesFlags() { |
+ return media::VideoDecodeAccelerator::Capabilities::kNoFlags; |
+ } |
+ |
private: |
// Used for copy the texture from surface texture to picture buffers. |
scoped_ptr<gpu::CopyTextureCHROMIUMResourceManager> copier_; |