Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Issue 7308005: Update OVDA to handle error condition. (Closed)

Created:
9 years, 5 months ago by vjain
Modified:
9 years, 5 months ago
CC:
Alka, nwartikar
Visibility:
Public.

Description

Update OVDA to handle error condition. With this changes, OVDA will inform video client of any error that has occurred while decoding. This change handles 1) NotifyError() to client. 2) Avoid calling OMX_GetState if component handle is NULL. 3) Update client_state_ after state transistion. 4) Return error value. Tested=Emulated the error condition and verified that client receives the error notification. Bug=http://code.google.com/p/chromium/issues/detail?id=88432 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91513

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -36 lines) Patch
M content/common/gpu/media/omx_video_decode_accelerator.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.cc View 1 2 29 chunks +47 lines, -35 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
vjain
9 years, 5 months ago (2011-07-05 08:00:09 UTC) #1
Ami GONE FROM CHROMIUM
Thanks for kickstarting this. http://codereview.chromium.org/7308005/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): http://codereview.chromium.org/7308005/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode155 content/common/gpu/media/omx_video_decode_accelerator.cc:155: StopOnError(VIDEODECODERERROR_UNINITIALIZED); Most of the error ...
9 years, 5 months ago (2011-07-05 15:55:53 UTC) #2
vjain
http://codereview.chromium.org/7308005/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): http://codereview.chromium.org/7308005/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode155 content/common/gpu/media/omx_video_decode_accelerator.cc:155: StopOnError(VIDEODECODERERROR_UNINITIALIZED); I agree with you that error translation is ...
9 years, 5 months ago (2011-07-05 16:04:14 UTC) #3
vjain
Uploaded new patch with suggested changes. Please review
9 years, 5 months ago (2011-07-05 16:17:54 UTC) #4
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7308005/diff/4002/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): http://codereview.chromium.org/7308005/diff/4002/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode638 content/common/gpu/media/omx_video_decode_accelerator.cc:638: media::VideoDecodeAccelerator::Error error) { Indent 4 spaces from left margin. ...
9 years, 5 months ago (2011-07-05 16:27:36 UTC) #5
vjain
Uploaded patch set3, which take care of previous suggestions http://codereview.chromium.org/7308005/diff/4002/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): http://codereview.chromium.org/7308005/diff/4002/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode638 content/common/gpu/media/omx_video_decode_accelerator.cc:638: ...
9 years, 5 months ago (2011-07-05 16:33:57 UTC) #6
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 5 months ago (2011-07-05 16:38:51 UTC) #7
Ami GONE FROM CHROMIUM
LGTM (clicked "commit" checkbox before explicitly LGTM'ing, which apparently doesn't work; will re-click)
9 years, 5 months ago (2011-07-05 16:44:39 UTC) #8
commit-bot: I haz the power
9 years, 5 months ago (2011-07-05 17:31:56 UTC) #9
Change committed as 91513

Powered by Google App Engine
This is Rietveld 408576698