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

Issue 1839763005: MSE: Protect better against reaching HAVE_METADATA too early (Closed)

Created:
4 years, 8 months ago by wolenetz
Modified:
4 years, 8 months ago
Reviewers:
chcunningham
CC:
chromium-reviews, 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

MSE: Protect better against reaching HAVE_METADATA too early Adds a counter of expected ChunkDemuxer::OnSourceInitDone() calls and uses it to gate when to transition to INITIALIZED. Reduces fragility and improves readability. This corresponds to the first part of fixing bug 597447. Refactoring to enforce StreamParsers' InitCB happens after one or more ConfigCB, and occurs at most once per parser, is in a later CL (https://codereview.chromium.org/1843823003/). BUG=597447 Committed: https://crrev.com/fe1e90eeacdc473325519df9c556d1cffa5db3a0 Cr-Commit-Position: refs/heads/master@{#384085}

Patch Set 1 #

Patch Set 2 : Rebased onto https://codereview.chromium.org/1826583003/. Ready for final review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M media/filters/chunk_demuxer.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 3 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
wolenetz
PTAL
4 years, 8 months ago (2016-03-29 20:37:35 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839763005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839763005/1
4 years, 8 months ago (2016-03-29 20:47:03 UTC) #5
wolenetz
On 2016/03/29 20:37:35, wolenetz wrote: > PTAL (Note, this will likely need to be rebased ...
4 years, 8 months ago (2016-03-29 21:38:25 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 23:18:32 UTC) #8
wolenetz
ping (rebase is completed in PS2, now that https://codereview.chromium.org/1826583003/ has landed.)
4 years, 8 months ago (2016-03-30 18:07:17 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839763005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839763005/20001
4 years, 8 months ago (2016-03-30 18:07:43 UTC) #12
chcunningham
lgtm
4 years, 8 months ago (2016-03-30 20:30:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839763005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839763005/20001
4 years, 8 months ago (2016-03-30 20:36:17 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-30 20:47:46 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 20:48:50 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fe1e90eeacdc473325519df9c556d1cffa5db3a0
Cr-Commit-Position: refs/heads/master@{#384085}

Powered by Google App Engine
This is Rietveld 408576698