DescriptionFix input frames being dropped when the h.264 DXVA decoder detects a configuration change.
The patch to detect a mid stream configuration change and reinitialize the decoder introduced a bug while
processing stream changes, where in input frames coming in for decoding while processing the configuration change
were dropped causing the video to jitter or not display correctly.
Fix is to not drop the input frames when we are processing a configuration change and instead add the input frames
to the pending input list which is processed after the configuration change is completed. To detect a configuration
change, we enter a new state kConfigChange which then resets back to kNormal after initialization.
BUG=594266
Committed: https://crrev.com/c14bd2e1f69db8316fac39eb8e71b9103f0dd223
Cr-Commit-Position: refs/heads/master@{#382475}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 8 (3 generated)
|