| Index: content/common/gpu/media/v4l2_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/v4l2_video_decode_accelerator.cc b/content/common/gpu/media/v4l2_video_decode_accelerator.cc
|
| index 8beb04a653b3e7eb8b4e57da7dce861516304372..ef2d74c27f7149350aa7a03f93bc2a58dd288651 100644
|
| --- a/content/common/gpu/media/v4l2_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/v4l2_video_decode_accelerator.cc
|
| @@ -158,14 +158,14 @@
|
| EGLContext egl_context,
|
| const base::WeakPtr<Client>& io_client,
|
| const base::Callback<bool(void)>& make_context_current,
|
| - const scoped_refptr<V4L2Device>& device,
|
| + scoped_ptr<V4L2Device> device,
|
| const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy)
|
| : child_message_loop_proxy_(base::MessageLoopProxy::current()),
|
| io_message_loop_proxy_(io_message_loop_proxy),
|
| io_client_(io_client),
|
| decoder_thread_("V4L2DecoderThread"),
|
| decoder_state_(kUninitialized),
|
| - device_(device),
|
| + device_(device.Pass()),
|
| decoder_delay_bitstream_buffer_id_(-1),
|
| decoder_current_input_buffer_(-1),
|
| decoder_decode_buffer_tasks_scheduled_(0),
|
| @@ -1703,7 +1703,7 @@
|
| DCHECK(!output_streamon_);
|
|
|
| __u32 input_format_fourcc =
|
| - V4L2Device::VideoCodecProfileToV4L2PixFmt(video_profile_, false);
|
| + V4L2Device::VideoCodecProfileToV4L2PixFmt(video_profile_);
|
| if (!input_format_fourcc) {
|
| NOTREACHED();
|
| return false;
|
|
|