| Index: media/gpu/dxva_picture_buffer_win.cc
|
| diff --git a/media/gpu/dxva_picture_buffer_win.cc b/media/gpu/dxva_picture_buffer_win.cc
|
| index 44f27f950a43c5f2bf2da1c6493deae677d50fbf..bcaa177609d9c66acf3e8491c76dc14a0aba77b8 100644
|
| --- a/media/gpu/dxva_picture_buffer_win.cc
|
| +++ b/media/gpu/dxva_picture_buffer_win.cc
|
| @@ -370,6 +370,10 @@ bool PbufferPictureBuffer::CopySurfaceComplete(
|
| return true;
|
| }
|
|
|
| +bool PbufferPictureBuffer::AllowOverlay() const {
|
| + return false;
|
| +}
|
| +
|
| PbufferPictureBuffer::PbufferPictureBuffer(const PictureBuffer& buffer)
|
| : DXVAPictureBuffer(buffer),
|
| decoding_surface_(NULL),
|
| @@ -508,6 +512,10 @@ bool EGLStreamPictureBuffer::BindSampleToTexture(
|
| return true;
|
| }
|
|
|
| +bool EGLStreamPictureBuffer::AllowOverlay() const {
|
| + return true;
|
| +}
|
| +
|
| EGLStreamCopyPictureBuffer::EGLStreamCopyPictureBuffer(
|
| const PictureBuffer& buffer)
|
| : DXVAPictureBuffer(buffer), stream_(nullptr) {}
|
| @@ -671,4 +679,8 @@ bool EGLStreamCopyPictureBuffer::ReusePictureBuffer() {
|
| return true;
|
| }
|
|
|
| +bool EGLStreamCopyPictureBuffer::AllowOverlay() const {
|
| + return true;
|
| +}
|
| +
|
| } // namespace media
|
|
|