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

Issue 623363002: Send metadata change to renderer after decoder is drained (Closed)

Created:
6 years, 2 months ago by qinmin
Modified:
6 years, 2 months ago
Reviewers:
wolenetz
CC:
chromium-reviews, feature-media-reviews_chromium.org, avayvod+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Send metadata change to renderer after decoder is drained MediaSourcePlayer sends a metadata change to renderer whenever it receives a config change. However, the decoder might still be in the draining process when this happens. To fix this, we should wait for a OUTPUT_FORMAT_CHANGED status before sending out the IPC. BUG=381975 Committed: https://crrev.com/07cdc5cc953f92e8c494375faf5e408f3e04ead9 Cr-Commit-Position: refs/heads/master@{#299338}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : fix clang build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -51 lines) Patch
M media/base/android/audio_decoder_job.h View 1 2 chunks +1 line, -1 line 0 comments Download
M media/base/android/audio_decoder_job.cc View 2 chunks +11 lines, -11 lines 0 comments Download
M media/base/android/media_decoder_job.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M media/base/android/media_decoder_job.cc View 1 2 4 chunks +11 lines, -12 lines 0 comments Download
M media/base/android/media_source_player.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 6 chunks +37 lines, -2 lines 0 comments Download
M media/base/android/video_decoder_job.h View 1 2 chunks +10 lines, -5 lines 0 comments Download
M media/base/android/video_decoder_job.cc View 6 chunks +28 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
qinmin
PTAL
6 years, 2 months ago (2014-10-04 00:02:34 UTC) #3
wolenetz
On 2014/10/04 00:02:34, qinmin wrote: > PTAL Sorry for delay, this is on my list ...
6 years, 2 months ago (2014-10-08 00:59:44 UTC) #4
wolenetz
looking good, just a couple questions" https://codereview.chromium.org/623363002/diff/20001/media/base/android/media_decoder_job.cc File media/base/android/media_decoder_job.cc (right): https://codereview.chromium.org/623363002/diff/20001/media/base/android/media_decoder_job.cc#newcode350 media/base/android/media_decoder_job.cc:350: Is there a ...
6 years, 2 months ago (2014-10-08 19:41:33 UTC) #5
qinmin
https://codereview.chromium.org/623363002/diff/20001/media/base/android/media_decoder_job.cc File media/base/android/media_decoder_job.cc (right): https://codereview.chromium.org/623363002/diff/20001/media/base/android/media_decoder_job.cc#newcode350 media/base/android/media_decoder_job.cc:350: MEDIA_CODEC_OUTPUT_FORMAT_CHANGED is reported when decoder detects the output format ...
6 years, 2 months ago (2014-10-08 22:52:42 UTC) #6
wolenetz
lgtm. ship it! (once network outage is fixed...)
6 years, 2 months ago (2014-10-08 23:23:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/623363002/20001
6 years, 2 months ago (2014-10-08 23:32:23 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/20561)
6 years, 2 months ago (2014-10-09 02:43:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/623363002/40001
6 years, 2 months ago (2014-10-11 00:34:18 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/12039)
6 years, 2 months ago (2014-10-11 01:25:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/623363002/280001
6 years, 2 months ago (2014-10-13 17:01:21 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:280001)
6 years, 2 months ago (2014-10-13 19:09:46 UTC) #18
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 19:10:26 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/07cdc5cc953f92e8c494375faf5e408f3e04ead9
Cr-Commit-Position: refs/heads/master@{#299338}

Powered by Google App Engine
This is Rietveld 408576698