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

Issue 50433007: Allow simultaneous audio and video config change (Closed)

Created:
7 years, 1 month ago by wolenetz
Modified:
7 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Allow simultaneous audio and video config change When completing prefetch for multiple streams, if more than one stream has |kConfigChanged| next, then the calls to DecodeMoreAudio() and DecodeMoreVideo() need to allow possibility that |CONFIG_CHANGE_EVENT_PENDING| is already set by the other stream. Also includes a new unit test for this scenario. R=qinmin@chromium.org,acolwell@chromium.org,xhwang@chromium.org BUG=314170 TEST=All media_unittests pass on Android with MediaCodecBridge available. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232920

Patch Set 1 #

Patch Set 2 : Allow simultaneous config change only in OnPrefetchDone(), add unit test #

Total comments: 2

Patch Set 3 : Address acolwell's comment from PS2 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -2 lines) Patch
M media/base/android/media_source_player.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/media_source_player.cc View 1 2 2 chunks +19 lines, -1 line 3 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
wolenetz
PTAL @ PS1, mostly for approach: qinmin@: OWNERS review. xhwang@: Does the bug still repro ...
7 years, 1 month ago (2013-11-01 21:46:20 UTC) #1
xhwang
I tried this patch and the test ( MediaSourceTest.ConfigChangeVideo) is passing. Thanks for the quick ...
7 years, 1 month ago (2013-11-01 23:56:37 UTC) #2
acolwell GONE FROM CHROMIUM
I believe this approach will work as long as the code reading from the demuxer ...
7 years, 1 month ago (2013-11-02 00:19:07 UTC) #3
wolenetz
On 2013/11/02 00:19:07, acolwell wrote: > I believe this approach will work as long as ...
7 years, 1 month ago (2013-11-02 01:16:38 UTC) #4
wolenetz
PTAL @ PS2. All previous comments are addressed, including narrowed allowance for exactly when a ...
7 years, 1 month ago (2013-11-02 03:21:18 UTC) #5
wolenetz
On 2013/11/02 03:21:18, wolenetz wrote: > PTAL @ PS2. All previous comments are addressed, including ...
7 years, 1 month ago (2013-11-02 03:25:31 UTC) #6
wolenetz
On 2013/11/02 03:25:31, wolenetz wrote: > On 2013/11/02 03:21:18, wolenetz wrote: > > PTAL @ ...
7 years, 1 month ago (2013-11-02 03:56:47 UTC) #7
wolenetz
ping :) (PS2 is awaiting CR) Thanks!
7 years, 1 month ago (2013-11-04 18:38:26 UTC) #8
acolwell GONE FROM CHROMIUM
lgtm % comment https://codereview.chromium.org/50433007/diff/90001/media/base/android/media_source_player.cc File media/base/android/media_source_player.cc (right): https://codereview.chromium.org/50433007/diff/90001/media/base/android/media_source_player.cc#newcode630 media/base/android/media_source_player.cc:630: if (video_change_already_pending) { I don't think ...
7 years, 1 month ago (2013-11-04 18:42:07 UTC) #9
wolenetz
Thank you, acolwell@. qinmin@ and xhwang@, please CR PS3. https://codereview.chromium.org/50433007/diff/90001/media/base/android/media_source_player.cc File media/base/android/media_source_player.cc (right): https://codereview.chromium.org/50433007/diff/90001/media/base/android/media_source_player.cc#newcode630 media/base/android/media_source_player.cc:630: ...
7 years, 1 month ago (2013-11-04 19:30:24 UTC) #10
qinmin
lgtm
7 years, 1 month ago (2013-11-04 19:53:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/50433007/240001
7 years, 1 month ago (2013-11-04 20:13:01 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-04 21:14:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/50433007/240001
7 years, 1 month ago (2013-11-04 21:36:21 UTC) #14
xhwang
lgtm % one tiny nit https://codereview.chromium.org/50433007/diff/240001/media/base/android/media_source_player.cc File media/base/android/media_source_player.cc (right): https://codereview.chromium.org/50433007/diff/240001/media/base/android/media_source_player.cc#newcode664 media/base/android/media_source_player.cc:664: DCHECK(reconfig_video_decoder_); hmm, isn't this ...
7 years, 1 month ago (2013-11-04 21:55:47 UTC) #15
wolenetz
Thank you, xhwang. Please let me know if I'm misunderstanding your nit in my response: ...
7 years, 1 month ago (2013-11-04 22:00:55 UTC) #16
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-05 00:42:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/50433007/240001
7 years, 1 month ago (2013-11-05 00:55:32 UTC) #18
xhwang1
https://codereview.chromium.org/50433007/diff/240001/media/base/android/media_source_player.cc File media/base/android/media_source_player.cc (right): https://codereview.chromium.org/50433007/diff/240001/media/base/android/media_source_player.cc#newcode664 media/base/android/media_source_player.cc:664: DCHECK(reconfig_video_decoder_); On 2013/11/04 22:00:55, wolenetz wrote: > On 2013/11/04 ...
7 years, 1 month ago (2013-11-05 02:30:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/50433007/240001
7 years, 1 month ago (2013-11-05 03:07:13 UTC) #20
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-05 05:32:22 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/50433007/240001
7 years, 1 month ago (2013-11-05 05:39:38 UTC) #22
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 05:46:24 UTC) #23
Message was sent while issue was closed.
Change committed as 232920

Powered by Google App Engine
This is Rietveld 408576698