Chromium Code Reviews
DescriptionMSE: 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. #
Messages
Total messages: 20 (10 generated)
|
||||||||||||||||||||||||||||