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

Issue 2151183002: Skip posting DecodeTask of resolution changing while resetting (Closed)

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

Description

Skip posting DecodeTask of resolution changing while resetting The resolution changing event may happen while resetting (|kState_| is kResetting) or flushing (kFlushing). In this case we do not change state and post DecodeTask, otherwise |kState_| will be no more kResetting/kFlushing and FinishReset()/FinishFlush() will not been done. And the stream will still be resumed in FinishReset(). BUG=b/29930597 TEST=Loop run the following items to make sure resolution change smoothly while resetting and flushing. 1. xts google.exoplayer 2. cts AdaptivePlaybackTest#testH264_XXXXX 3. autotest video_VideoSeek.h264 and video_VideoSeek.h264.switchres Committed: https://crrev.com/fc45691f210ec5fa198a00e3c1a170a76470020c Cr-Commit-Position: refs/heads/master@{#406784}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Skip posting DecodeTask of resolution changing while resetting #

Total comments: 2

Patch Set 3 : Enable VP9 decoding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/gpu/arc_gpu_video_decode_accelerator.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/gpu/arc_video_accelerator.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Owen Lin
lgtm. The bug is targeted to M53. We should merge it asap or remove the ...
4 years, 5 months ago (2016-07-19 06:21:48 UTC) #3
Pawel Osciak
https://chromiumcodereview.appspot.com/2151183002/diff/1/media/gpu/vaapi_video_decode_accelerator.cc File media/gpu/vaapi_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/2151183002/diff/1/media/gpu/vaapi_video_decode_accelerator.cc#newcode802 media/gpu/vaapi_video_decode_accelerator.cc:802: // change state and post DeocdeTask(). The stream will ...
4 years, 5 months ago (2016-07-19 07:26:09 UTC) #4
johnylin1
https://chromiumcodereview.appspot.com/2151183002/diff/1/media/gpu/vaapi_video_decode_accelerator.cc File media/gpu/vaapi_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/2151183002/diff/1/media/gpu/vaapi_video_decode_accelerator.cc#newcode804 media/gpu/vaapi_video_decode_accelerator.cc:804: if (state_ != kResetting) { On 2016/07/19 07:26:08, Pawel ...
4 years, 5 months ago (2016-07-19 08:04:41 UTC) #5
johnylin1
https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc File media/gpu/vaapi_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc#newcode816 media/gpu/vaapi_video_decode_accelerator.cc:816: if (state_ != kResetting && state_ != kFlushing) { ...
4 years, 5 months ago (2016-07-20 02:50:43 UTC) #6
Owen Lin
On 2016/07/20 02:50:43, johnylin1 wrote: > https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc > File media/gpu/vaapi_video_decode_accelerator.cc (right): > > https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc#newcode816 > ...
4 years, 5 months ago (2016-07-20 03:19:21 UTC) #7
Pawel Osciak
https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc File media/gpu/vaapi_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc#newcode816 media/gpu/vaapi_video_decode_accelerator.cc:816: if (state_ != kResetting && state_ != kFlushing) { ...
4 years, 5 months ago (2016-07-20 04:28:35 UTC) #8
johnylin1
On 2016/07/20 04:28:35, Pawel Osciak wrote: > https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc > File media/gpu/vaapi_video_decode_accelerator.cc (right): > > https://chromiumcodereview.appspot.com/2151183002/diff/20001/media/gpu/vaapi_video_decode_accelerator.cc#newcode816 ...
4 years, 5 months ago (2016-07-21 03:12:07 UTC) #9
Pawel Osciak
lgtm
4 years, 5 months ago (2016-07-21 04:37:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151183002/20001
4 years, 5 months ago (2016-07-21 06:21:16 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-21 06:24:29 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 06:25:49 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fc45691f210ec5fa198a00e3c1a170a76470020c
Cr-Commit-Position: refs/heads/master@{#406784}

Powered by Google App Engine
This is Rietveld 408576698