| Index: media/video/video_decode_accelerator.cc
|
| diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc
|
| index 00ae88c1d1ca059e082f3be9744dae7aea84e98b..702d5be2887350390ef91b3dadbd591ee2d9085c 100644
|
| --- a/media/video/video_decode_accelerator.cc
|
| +++ b/media/video/video_decode_accelerator.cc
|
| @@ -39,13 +39,23 @@ bool VideoDecodeAccelerator::TryToSetupDecodeOnSeparateThread(
|
| const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) {
|
| // Implementations in the process that VDA runs in must override this.
|
| LOG(FATAL) << "This may only be called in the same process as VDA impl.";
|
| - return false; // not reached
|
| + return false;
|
| +}
|
| +
|
| +void VideoDecodeAccelerator::ImportBufferForPicture(
|
| + int32_t picture_buffer_id,
|
| + const std::vector<gfx::GpuMemoryBufferHandle>& gpu_memory_buffer_handles) {
|
| + NOTREACHED() << "Buffer import not supported.";
|
| }
|
|
|
| GLenum VideoDecodeAccelerator::GetSurfaceInternalFormat() const {
|
| return GL_RGBA;
|
| }
|
|
|
| +VideoPixelFormat VideoDecodeAccelerator::GetOutputFormat() const {
|
| + return PIXEL_FORMAT_ARGB;
|
| +}
|
| +
|
| VideoDecodeAccelerator::SupportedProfile::SupportedProfile()
|
| : profile(media::VIDEO_CODEC_PROFILE_UNKNOWN), encrypted_only(false) {}
|
|
|
|
|