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

Issue 2110463003: Remove pending demuxer read state, prefer flag, it's not stable. (Closed)

Created:
4 years, 5 months ago by DaleCurtis
Modified:
4 years, 5 months ago
Reviewers:
watk, tguilbert
CC:
chromium-reviews, feature-media-reviews_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

Remove pending demuxer read state, prefer flag, it's not stable. The pending demuxer read state is overwritten in too many cases to be reliable, instead always use the flag instead of trying to have it both ways. The main issue this fixes is where there are parallel decodes and a demuxer read outstanding, one decode completes with an error, and the new decoder is initialized before the demuxer read completes. Previously this would stomp the pending read state and we'd try to issue a new demuxer read when the decoder initialization completed, blowing up the demuxer in the process. BUG=597605 TEST=new unittest Committed: https://crrev.com/5d162a60859414d5ab14fd2a1b234cc1dd6afda7 Cr-Commit-Position: refs/heads/master@{#402667}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use expect. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -17 lines) Patch
M media/filters/decoder_stream.h View 2 chunks +2 lines, -3 lines 0 comments Download
M media/filters/decoder_stream.cc View 4 chunks +9 lines, -14 lines 0 comments Download
M media/filters/video_frame_stream_unittest.cc View 1 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
DaleCurtis
4 years, 5 months ago (2016-06-28 23:10:59 UTC) #2
DaleCurtis
4 years, 5 months ago (2016-06-28 23:12:06 UTC) #4
tguilbert
Looks good % one nit. I am not officially allowed to concat LG and TM ...
4 years, 5 months ago (2016-06-28 23:33:29 UTC) #5
watk
lgtm
4 years, 5 months ago (2016-06-28 23:55:57 UTC) #6
DaleCurtis
tguilbert@ practice makes perfect, so feel free to stamp :) https://codereview.chromium.org/2110463003/diff/1/media/filters/video_frame_stream_unittest.cc File media/filters/video_frame_stream_unittest.cc (right): https://codereview.chromium.org/2110463003/diff/1/media/filters/video_frame_stream_unittest.cc#newcode838 ...
4 years, 5 months ago (2016-06-29 00:03:27 UTC) #7
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/2110463003/20001
4 years, 5 months ago (2016-06-29 00:05:47 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-29 02:21:37 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 02:24:04 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5d162a60859414d5ab14fd2a1b234cc1dd6afda7
Cr-Commit-Position: refs/heads/master@{#402667}

Powered by Google App Engine
This is Rietveld 408576698