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

Issue 1964253002: Bug Fix: Rendering stuck due to thread issue of WebMediaPlayerMSCompositor (M51) (Closed)

Created:
4 years, 7 months ago by qiangchen
Modified:
4 years, 7 months ago
Reviewers:
emircan
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2704
Target Ref:
refs/pending/branch-heads/2704
Project:
chromium
Visibility:
Public.

Description

Bug Fix: Rendering stuck due to thread issue of WebMediaPlayerMSCompositor We observed this when rendering canvas captured frame with alpha channel. The underlying reason is that it would take a longer time to process a frame with alpha channel, and thus when PutCurrentFrame() is called, the |current_frame_| has already been changed, but we still mark |current_frame_used| to be true, which will make UpdateCurrentFrame() to return false, and thus chrome compositor will stop updating. This CL essentiall moves setting of |current_frame_used| back to GetCurrentFrame(). BUG=606890 Review-Url: https://codereview.chromium.org/1930003002 Cr-Commit-Position: refs/heads/master@{#390757} (cherry picked from commit d0a271c39cd8ba5292dd184acd6f7565d1f7348a) TBR=dalecurtis@chromium.org NOTRY=true NOPRESUBMIT=true

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -13 lines) Patch
M content/renderer/media/webmediaplayer_ms.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_compositor.h View 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_compositor.cc View 1 chunk +7 lines, -1 line 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 3 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
qiangchen
Emircan@: Can you lgtm this merge CL?
4 years, 7 months ago (2016-05-10 23:34:38 UTC) #3
emircan
lgtm
4 years, 7 months ago (2016-05-10 23:47:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964253002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964253002/1
4 years, 7 months ago (2016-05-10 23:49:17 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 23:51:10 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698