DescriptionRemove 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. #
Messages
Total messages: 13 (5 generated)
|