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

Issue 2276663003: Fix DCHECK in MojoRendererService::SetPlaybackRate (Closed)

Created:
4 years, 4 months ago by halliwell
Modified:
4 years, 4 months ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, alokp+watch_chromium.org, darin (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix DCHECK in MojoRendererService::SetPlaybackRate When MojoRendererService::OnError is called (e.g. for a decoder error), state_ becomes STATE_ERROR, but the media player next pauses playback, calling SetPlaybackRate(0), and hitting this DCHECK. BUG= Committed: https://crrev.com/0a535e9650355d14f383917aa85890f308f8f404 Cr-Commit-Position: refs/heads/master@{#414183}

Patch Set 1 #

Patch Set 2 : Add unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M media/mojo/clients/mojo_renderer_unittest.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
halliwell
4 years, 4 months ago (2016-08-24 16:57:56 UTC) #3
xhwang
Thanks!!! The change looks good. Is it possible to add a unittest for this? See ...
4 years, 4 months ago (2016-08-24 17:08:14 UTC) #4
halliwell
On 2016/08/24 17:08:14, xhwang (slow) wrote: > Thanks!!! > > The change looks good. Is ...
4 years, 4 months ago (2016-08-24 20:54:12 UTC) #5
xhwang
Thanks! LGTM
4 years, 4 months ago (2016-08-24 21:11:52 UTC) #6
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/2276663003/20001
4 years, 4 months ago (2016-08-24 21:14:22 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-24 22:52:19 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 22:53:35 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0a535e9650355d14f383917aa85890f308f8f404
Cr-Commit-Position: refs/heads/master@{#414183}

Powered by Google App Engine
This is Rietveld 408576698