| Index: content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc b/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| index 57550a336ea2aaac1399c11f3874f1d8f5f9e911..8c3a3b0e66054f0aea2ab2d8f92c8f62c9547fda 100644
|
| --- a/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| @@ -1667,14 +1667,14 @@ void V4L2SliceVideoDecodeAccelerator::ImportBufferForPicture(
|
| DCHECK(child_task_runner_->BelongsToCurrentThread());
|
|
|
| auto passed_dmabuf_fds(base::WrapUnique(new std::vector<base::ScopedFD>()));
|
| +#if defined(USE_OZONE)
|
| for (const auto& handle : gpu_memory_buffer_handles) {
|
| int fd = -1;
|
| -#if defined(USE_OZONE)
|
| fd = handle.native_pixmap_handle.fd.fd;
|
| -#endif
|
| DCHECK_NE(fd, -1);
|
| passed_dmabuf_fds->push_back(base::ScopedFD(fd));
|
| }
|
| +#endif
|
|
|
| if (output_mode_ != Config::OutputMode::IMPORT) {
|
| LOGF(ERROR) << "Cannot import in non-import mode";
|
|
|