Commit e4e012f1 authored by jbriance's avatar jbriance Committed by Commit bot

V4L2VDA: Typo fix

Fix typo in TryToSetupDecodeOnSeparateThread method to set
decode_client_ properly in V4L2VideoDecodeAccelerator and
V4L2SliceVideoDecodeAccelerator classes.

BUG=

Review-Url: https://codereview.chromium.org/2044033002
Cr-Commit-Position: refs/heads/master@{#398268}
parent afa20771
...@@ -2791,7 +2791,7 @@ void V4L2SliceVideoDecodeAccelerator::PictureCleared() { ...@@ -2791,7 +2791,7 @@ void V4L2SliceVideoDecodeAccelerator::PictureCleared() {
bool V4L2SliceVideoDecodeAccelerator::TryToSetupDecodeOnSeparateThread( bool V4L2SliceVideoDecodeAccelerator::TryToSetupDecodeOnSeparateThread(
const base::WeakPtr<Client>& decode_client, const base::WeakPtr<Client>& decode_client,
const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) { const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) {
decode_client_ = decode_client_; decode_client_ = decode_client;
decode_task_runner_ = decode_task_runner; decode_task_runner_ = decode_task_runner;
return true; return true;
} }
......
...@@ -514,7 +514,7 @@ void V4L2VideoDecodeAccelerator::Destroy() { ...@@ -514,7 +514,7 @@ void V4L2VideoDecodeAccelerator::Destroy() {
bool V4L2VideoDecodeAccelerator::TryToSetupDecodeOnSeparateThread( bool V4L2VideoDecodeAccelerator::TryToSetupDecodeOnSeparateThread(
const base::WeakPtr<Client>& decode_client, const base::WeakPtr<Client>& decode_client,
const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) { const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) {
decode_client_ = decode_client_; decode_client_ = decode_client;
decode_task_runner_ = decode_task_runner; decode_task_runner_ = decode_task_runner;
return true; return true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment