Drop frames until first IDR in VTVDA.

This allows us to decode streams that incorrectly mark every frame
as a keyframe; we will drop frames until the first IDR and configure the
decoder then.

When this happens we log an error; it will show up in chrome://gpu (and
stderr).

This does mean that we are delaying decode failure (possibly indefinitely)
in that case.

(cherry picked from commit 8a2f5658c6301691342e302ea618c61cad5d220c)

BUG=229412,583638,583698,516039
TBR=dalecurtis@chromium.org

Review URL: https://codereview.chromium.org/1707843002 .

Cr-Commit-Position: refs/branch-heads/2623@{#432}
Cr-Branched-From: 92d77538a86529ca35f9220bd3cd512cbea1f086-refs/heads/master@{#369907}
2 files changed