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

Issue 11745012: Handle config change during pending reset correctly in FFmpegVideoDecoder. (Closed)

Created:
7 years, 11 months ago by xhwang
Modified:
7 years, 11 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Handle config change during pending reset correctly in FFmpegVideoDecoder. As per VideoDecoder API, "After this (Reset) call, the decoder is back to an initialized clean state", which means that the render should be able to call decoder->Read() again. To achieve this, the decoder should be initialized with the new config even if it's in a pending reset. BUG=168128 TEST=Added unittest to cover this. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175202

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments resolved #

Patch Set 3 : change init config to vp8 as h264 is not supported on all platforms #

Patch Set 4 : add more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -15 lines) Patch
M media/filters/ffmpeg_video_decoder.cc View 1 3 chunks +16 lines, -12 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 3 5 chunks +142 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
xhwang
PTAL!
7 years, 11 months ago (2013-01-03 16:01:36 UTC) #1
xhwang
I am waiting for feedback on this to continue updating DecryptingXXX. A quick comment about ...
7 years, 11 months ago (2013-01-03 16:11:41 UTC) #2
scherkus (not reviewing)
Backing up a bit... before the break we chatted about how to simplify handling pending ...
7 years, 11 months ago (2013-01-03 16:20:44 UTC) #3
xhwang
On 2013/01/03 16:20:44, scherkus wrote: > Backing up a bit... before the break we chatted ...
7 years, 11 months ago (2013-01-03 16:53:39 UTC) #4
scherkus (not reviewing)
OK -- so really this change is more about always respecting a config change whenever ...
7 years, 11 months ago (2013-01-03 17:30:26 UTC) #5
xhwang
On 2013/01/03 17:30:26, scherkus wrote: > OK -- so really this change is more about ...
7 years, 11 months ago (2013-01-03 17:44:24 UTC) #6
xhwang
CC'ed ddorwin for his information.
7 years, 11 months ago (2013-01-03 17:51:52 UTC) #7
acolwell GONE FROM CHROMIUM
In general the changes look good, but this raises a few questions for me. 1. ...
7 years, 11 months ago (2013-01-03 17:53:31 UTC) #8
xhwang
On 2013/01/03 17:53:31, acolwell wrote: > In general the changes look good, but this raises ...
7 years, 11 months ago (2013-01-04 01:25:56 UTC) #9
xhwang
https://codereview.chromium.org/11745012/diff/1/media/filters/ffmpeg_video_decoder.cc File media/filters/ffmpeg_video_decoder.cc (right): https://codereview.chromium.org/11745012/diff/1/media/filters/ffmpeg_video_decoder.cc#newcode239 media/filters/ffmpeg_video_decoder.cc:239: state_ = kDecodeFinished; On 2013/01/03 17:53:31, acolwell wrote: > ...
7 years, 11 months ago (2013-01-04 01:28:05 UTC) #10
acolwell GONE FROM CHROMIUM
LGTM
7 years, 11 months ago (2013-01-04 01:33:27 UTC) #11
scherkus (not reviewing)
lgtm
7 years, 11 months ago (2013-01-04 16:38:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11745012/2003
7 years, 11 months ago (2013-01-04 17:06:37 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) media_unittests
7 years, 11 months ago (2013-01-04 17:50:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11745012/9005
7 years, 11 months ago (2013-01-04 18:48:24 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-04 18:59:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11745012/9005
7 years, 11 months ago (2013-01-04 19:02:51 UTC) #17
commit-bot: I haz the power
7 years, 11 months ago (2013-01-04 21:51:53 UTC) #18
Message was sent while issue was closed.
Change committed as 175202

Powered by Google App Engine
This is Rietveld 408576698