Commit 646b4ae7 authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Commit Bot

media/gpu/v4l2vd: replace push_back() with emplace_back()

This makes clang-tidy happy.

BUG=None
TEST=Chromium builds for hana-kernelnext.

Change-Id: I386a88e33ebc3d10c6c570e281b26936180dc333
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2405345
Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Chih-Yu Huang <akahuang@chromium.org>
Reviewed-by: default avatarChih-Yu Huang <akahuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806146}
parent bb21fa7b
...@@ -298,7 +298,7 @@ bool V4L2VideoDecoder::SetupOutputFormat(const gfx::Size& size, ...@@ -298,7 +298,7 @@ bool V4L2VideoDecoder::SetupOutputFormat(const gfx::Size& size,
gfx::Size adjusted_size(format->fmt.pix_mp.width, gfx::Size adjusted_size(format->fmt.pix_mp.width,
format->fmt.pix_mp.height); format->fmt.pix_mp.height);
candidates.push_back(std::make_pair(*candidate, adjusted_size)); candidates.emplace_back(*candidate, adjusted_size);
} }
// Ask the pipeline to pick the output format. // Ask the pipeline to pick the output format.
......
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