Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1070)

Issue 836093002: V4L2VDA: Fix format initialization order. (Closed)

Created:
5 years, 11 months ago by Pawel Osciak
Modified:
5 years, 11 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

V4L2VDA: Fix format initialization order. The correct order of initialization is to set up both input and output formats before starting streaming, as the device may have limitations on supported output formats. Supported output formats may depend on the input format, so we set input format first and then query available output formats for it. Moreover, since format cannot be changed after buffers are requested for a queue, we need to de facto set both formats up before allocation. BUG=430638 TEST=video playback on affected platforms Committed: https://crrev.com/c5c56aed4d336726d6059dcb0a40101459d3703a Cr-Commit-Position: refs/heads/master@{#310259}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -30 lines) Patch
M content/common/gpu/media/v4l2_video_decode_accelerator.h View 1 chunk +2 lines, -3 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 6 chunks +41 lines, -27 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Pawel Osciak
ptal
5 years, 11 months ago (2015-01-06 05:16:30 UTC) #2
wuchengli
https://codereview.chromium.org/836093002/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.cc File content/common/gpu/media/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/836093002/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.cc#newcode284 content/common/gpu/media/v4l2_video_decode_accelerator.cc:284: if (!CreateInputBuffers()) Why this is moved here? https://codereview.chromium.org/836093002/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.cc#newcode1077 content/common/gpu/media/v4l2_video_decode_accelerator.cc:1077: ...
5 years, 11 months ago (2015-01-06 08:45:16 UTC) #3
Pawel Osciak
https://codereview.chromium.org/836093002/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.cc File content/common/gpu/media/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/836093002/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.cc#newcode284 content/common/gpu/media/v4l2_video_decode_accelerator.cc:284: if (!CreateInputBuffers()) On 2015/01/06 08:45:16, wuchengli wrote: > Why ...
5 years, 11 months ago (2015-01-06 13:23:06 UTC) #4
Pawel Osciak
xhwang@: ptal. Thanks.
5 years, 11 months ago (2015-01-06 13:23:49 UTC) #6
Pawel Osciak
On 2015/01/06 13:23:49, Pawel Osciak wrote: > xhwang@: ptal. Thanks. Uh oh, you are not ...
5 years, 11 months ago (2015-01-06 13:24:29 UTC) #7
Pawel Osciak
scherkus@: ptal. Thanks.
5 years, 11 months ago (2015-01-06 13:25:00 UTC) #9
wuchengli
LGTM
5 years, 11 months ago (2015-01-06 13:55:26 UTC) #10
scherkus (not reviewing)
lgtm
5 years, 11 months ago (2015-01-06 22:22:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/836093002/20001
5 years, 11 months ago (2015-01-07 08:55:28 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-07 09:37:43 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 09:38:39 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c5c56aed4d336726d6059dcb0a40101459d3703a
Cr-Commit-Position: refs/heads/master@{#310259}

Powered by Google App Engine
This is Rietveld 408576698