New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 647081 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 582293



Sign in to add a comment

With AVDA errors when decoding single frame videos are not reported to WMPI

Project Member Reported by w...@chromium.org, Sep 14 2016

Issue description

What happens:
GVD AVDA->Decode() followed by AVDA->Flush().
AVDA calls NotifyEndOfBitstreamBuffer() which causes GVD to call the decode cb with OK. 
AVDA calls GVD::NotifyError(). GVD sets state_ = error, but doesn't complete the decode cb for the EOS buffer.
As a result the error is never propagated to DecoderStream.

GVD should propagate the error by running the EOS decode cb with an error if NotifyError() is called while a flush is ongoing. And AVDA shouldn't call NotifyFlushDone() if it's in an error state, because that will clear the flush decode cb which we will need to propagate the error. 
 

Comment 1 by w...@chromium.org, Sep 14 2016

Blocking: 582293
Project Member

Comment 2 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/99d991f6f7c0f480c0a5d8b2165daebe01cd25d5

commit 99d991f6f7c0f480c0a5d8b2165daebe01cd25d5
Author: watk <watk@chromium.org>
Date: Thu Sep 15 22:04:35 2016

GpuVideoDecoder now propagates errors during Flush()

Previously it was possible for GVD to be processing a Flush() but not
have no outstanding bitstream buffers in the VDA when it received a
NotifyError(). For example, when decoding single frame videos. In that
case it went into the error state but never propagated the error. Now,
if an error is received while in the flushing state, the error is
propagated by calling the decode cb corresponding to the EOS buffer.

BUG= 647081 
TEST=manually verified that AVDA decode errors now propagate to WMPI

Review-Url: https://codereview.chromium.org/2344703003
Cr-Commit-Position: refs/heads/master@{#419001}

[modify] https://crrev.com/99d991f6f7c0f480c0a5d8b2165daebe01cd25d5/media/filters/gpu_video_decoder.cc

Comment 3 by w...@chromium.org, Oct 7 2016

Status: Fixed (was: Started)

Sign in to add a comment