Commit d883f715 authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Commit Bot

media/gpu/v4l2svda: fix typo

We want to check for the newly created wrapped_frame here.

BUG=None
TEST=VDAtest passes on Kevin in debug mode.

Change-Id: Ibac097a0b335369a489b5aef360cf1463e8d0b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1975474
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: default avatarChih-Yu Huang <akahuang@chromium.org>
Reviewed-by: default avatarHirokazu Honda <hiroh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726733}
parent c11398ab
...@@ -2249,7 +2249,7 @@ bool V4L2SliceVideoDecodeAccelerator::ProcessFrame( ...@@ -2249,7 +2249,7 @@ bool V4L2SliceVideoDecodeAccelerator::ProcessFrame(
scoped_refptr<VideoFrame> wrapped_frame = VideoFrame::WrapVideoFrame( scoped_refptr<VideoFrame> wrapped_frame = VideoFrame::WrapVideoFrame(
output_frame, output_frame->format(), output_frame->visible_rect(), output_frame, output_frame->format(), output_frame->visible_rect(),
output_frame->coded_size()); output_frame->coded_size());
DCHECK(output_frame != nullptr); DCHECK(wrapped_frame);
image_processor_->Process( image_processor_->Process(
std::move(input_frame), std::move(wrapped_frame), std::move(input_frame), std::move(wrapped_frame),
......
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