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

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

Created:
4 years, 7 months ago by qiangchen
Modified:
4 years, 7 months ago
Reviewers:
emircan, DaleCurtis
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
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 Committed: https://crrev.com/d0a271c39cd8ba5292dd184acd6f7565d1f7348a Cr-Commit-Position: refs/heads/master@{#390757}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Function Rename #

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

Messages

Total messages: 15 (8 generated)
qiangchen
Can you take a look at this bug fix? Thanks.
4 years, 7 months ago (2016-04-28 16:53:04 UTC) #5
DaleCurtis
https://codereview.chromium.org/1930003002/diff/1/content/renderer/media/webmediaplayer_ms_compositor.h File content/renderer/media/webmediaplayer_ms_compositor.h (right): https://codereview.chromium.org/1930003002/diff/1/content/renderer/media/webmediaplayer_ms_compositor.h#newcode86 content/renderer/media/webmediaplayer_ms_compositor.h:86: scoped_refptr<media::VideoFrame> current_frame(); hacker_style() methods must be inline. Please give ...
4 years, 7 months ago (2016-04-28 17:51:37 UTC) #7
qiangchen
Done. https://codereview.chromium.org/1930003002/diff/1/content/renderer/media/webmediaplayer_ms_compositor.h File content/renderer/media/webmediaplayer_ms_compositor.h (right): https://codereview.chromium.org/1930003002/diff/1/content/renderer/media/webmediaplayer_ms_compositor.h#newcode86 content/renderer/media/webmediaplayer_ms_compositor.h:86: scoped_refptr<media::VideoFrame> current_frame(); On 2016/04/28 17:51:37, DaleCurtis wrote: > ...
4 years, 7 months ago (2016-04-28 21:02:40 UTC) #8
DaleCurtis
lgtm
4 years, 7 months ago (2016-04-28 21:05:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930003002/20001
4 years, 7 months ago (2016-04-29 20:12:21 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-29 21:02:47 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:28:56 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d0a271c39cd8ba5292dd184acd6f7565d1f7348a
Cr-Commit-Position: refs/heads/master@{#390757}

Powered by Google App Engine
This is Rietveld 408576698