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

Issue 123213006: Make VideoDecoder use (kAborted, NULL) to signify an aborted decode, instead of (kOk, NULL). (Closed)

Created:
6 years, 11 months ago by rileya (GONE FROM CHROMIUM)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Make VideoDecoder use (kAborted, NULL) to signify an aborted decode, instead of (kOk, NULL). This makes it match its sibling, AudioDecoder. BUG=329379 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243163

Patch Set 1 #

Patch Set 2 : Handle aborted read status in VideoFrameStream. #

Total comments: 5

Patch Set 3 : Address comments #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Fix unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -15 lines) Patch
M media/base/video_decoder.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M media/filters/decrypting_video_decoder.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M media/filters/decrypting_video_decoder_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/filters/video_frame_stream.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M media/filters/video_renderer_impl_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M media/filters/vpx_video_decoder.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
rileya (GONE FROM CHROMIUM)
This is a small first step towards making the decoder interfaces match up better.
6 years, 11 months ago (2014-01-03 00:06:32 UTC) #1
DaleCurtis
lgtm
6 years, 11 months ago (2014-01-03 01:01:10 UTC) #2
xhwang
Thanks for taking this! In GpuVideoDecoder, we return EOS frame when reset() is called, which ...
6 years, 11 months ago (2014-01-03 01:05:57 UTC) #3
rileya (GONE FROM CHROMIUM)
Alright, I addressed most everything I think. I'll save the GpuVideoDecoder fix for another CL.
6 years, 11 months ago (2014-01-03 20:33:37 UTC) #4
xhwang
lgtm, thanks!
6 years, 11 months ago (2014-01-03 22:28:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/123213006/250001
6 years, 11 months ago (2014-01-06 18:24:55 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-06 20:57:43 UTC) #7
Message was sent while issue was closed.
Change committed as 243163

Powered by Google App Engine
This is Rietveld 408576698