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

Issue 898393002: media: Enable Opus support in Clank <video> and MSE (Closed)

Created:
5 years, 10 months ago by vignesh
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, cbentzel+watch_chromium.org, posciak+watch_chromium.org, avayvod+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org, fgalligan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Enable Opus support in Clank <video> and MSE Re-landing the CL reverted here: https://codereview.chromium.org/866573004 Opus audio codec is supported by the android platform starting from Lollipop. This CL enables canPlayType() support for Opus on Clank and MSE playback of Opus in Clank. This brings Opus feature parity with Desktop Chromium. BUG=318436 TBR=jschuh,rsleevi Committed: https://crrev.com/9cd3dd704879268a7291c9e668aa7bc56df6a1df Cr-Commit-Position: refs/heads/master@{#315132}

Patch Set 1 #

Patch Set 2 : fix canplaytype test failure #

Total comments: 5

Patch Set 3 : change if to switch in MediaCodecBridge.java #

Patch Set 4 : s/kOpusProbably/kOggOpusProbably/ #

Patch Set 5 : add default case to switch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -29 lines) Patch
M content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 6 chunks +17 lines, -12 lines 0 comments Download
M content/common/media/media_player_messages_android.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/android/media_source_delegate.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M media/base/android/audio_decoder_job.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/android/audio_decoder_job.cc View 2 chunks +4 lines, -1 line 0 comments Download
M media/base/android/demuxer_stream_player_params.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/android/demuxer_stream_player_params.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/android/java/src/org/chromium/media/MediaCodecBridge.java View 1 2 3 4 1 chunk +17 lines, -5 lines 0 comments Download
M media/base/android/media_codec_bridge.h View 2 chunks +3 lines, -1 line 0 comments Download
M media/base/android/media_codec_bridge.cc View 7 chunks +42 lines, -3 lines 0 comments Download
M media/base/android/media_codec_bridge_unittest.cc View 3 chunks +29 lines, -4 lines 0 comments Download
M media/filters/stream_parser_factory.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/mime_util.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (10 generated)
vignesh
PS1 contains the CL as it failed. PS2 is the fix. Matt/Dale, the only change ...
5 years, 10 months ago (2015-02-06 18:39:29 UTC) #2
wolenetz
You'll need l*tm from net/base OWNER and content/common/media/ IPC OWNER on this CL. Other original ...
5 years, 10 months ago (2015-02-06 18:58:25 UTC) #3
wolenetz
On 2015/02/06 18:58:25, wolenetz wrote: > You'll need l*tm from net/base OWNER and content/common/media/ IPC ...
5 years, 10 months ago (2015-02-06 18:59:35 UTC) #4
DaleCurtis
lgtm
5 years, 10 months ago (2015-02-06 19:06:13 UTC) #5
vignesh
Adding rsleevi@ for net/base OWNER Adding jschuh@ for content/common/media security review of IPC message file. ...
5 years, 10 months ago (2015-02-06 19:07:18 UTC) #7
vignesh
On 2015/02/06 18:59:35, wolenetz wrote: > On 2015/02/06 18:58:25, wolenetz wrote: > > You'll need ...
5 years, 10 months ago (2015-02-06 19:09:56 UTC) #8
qinmin
android changes lgtm % nit https://codereview.chromium.org/898393002/diff/20001/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java File media/base/android/java/src/org/chromium/media/MediaCodecBridge.java (left): https://codereview.chromium.org/898393002/diff/20001/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java#oldcode660 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java:660: if (index == 0) ...
5 years, 10 months ago (2015-02-06 19:11:09 UTC) #9
vignesh
https://codereview.chromium.org/898393002/diff/20001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/898393002/diff/20001/content/browser/media/media_canplaytype_browsertest.cc#newcode29 content/browser/media/media_canplaytype_browsertest.cc:29: // Android. (http://crbug.com/318436). On 2015/02/06 18:58:25, wolenetz wrote: > ...
5 years, 10 months ago (2015-02-06 19:18:26 UTC) #10
vignesh
https://codereview.chromium.org/898393002/diff/20001/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java File media/base/android/java/src/org/chromium/media/MediaCodecBridge.java (left): https://codereview.chromium.org/898393002/diff/20001/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java#oldcode660 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java:660: if (index == 0) { On 2015/02/06 19:11:09, qinmin ...
5 years, 10 months ago (2015-02-06 19:34:41 UTC) #12
wolenetz
lgtm % rename kOpusProbably to kOggOpusProbably https://codereview.chromium.org/898393002/diff/20001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/898393002/diff/20001/content/browser/media/media_canplaytype_browsertest.cc#newcode29 content/browser/media/media_canplaytype_browsertest.cc:29: // Android. (http://crbug.com/318436). ...
5 years, 10 months ago (2015-02-06 19:57:53 UTC) #13
vignesh
On 2015/02/06 19:57:53, wolenetz wrote: > lgtm % rename kOpusProbably to kOggOpusProbably > > https://codereview.chromium.org/898393002/diff/20001/content/browser/media/media_canplaytype_browsertest.cc ...
5 years, 10 months ago (2015-02-06 20:14:16 UTC) #15
vignesh
TBR'ing rsleevi@ and jschuh@ since they lgtm'ed the original CL and nothing has changed here ...
5 years, 10 months ago (2015-02-06 20:18:16 UTC) #16
Ryan Sleevi
//net LGTM
5 years, 10 months ago (2015-02-06 20:18:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/898393002/60001
5 years, 10 months ago (2015-02-06 20:19:11 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/44920)
5 years, 10 months ago (2015-02-06 21:18:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/898393002/80001
5 years, 10 months ago (2015-02-06 21:27:54 UTC) #24
jschuh
Sorry, what's the direction of the IPC here (e.g. renderer -> browser) and what happens ...
5 years, 10 months ago (2015-02-06 22:27:20 UTC) #26
vignesh
On 2015/02/06 22:27:20, jschuh wrote: > Sorry, what's the direction of the IPC here (e.g. ...
5 years, 10 months ago (2015-02-06 22:32:58 UTC) #27
jschuh
On 2015/02/06 22:32:58, vignesh wrote: > On 2015/02/06 22:27:20, jschuh wrote: > > Sorry, what's ...
5 years, 10 months ago (2015-02-06 22:35:23 UTC) #28
qinmin
On 2015/02/06 22:35:23, jschuh wrote: > On 2015/02/06 22:32:58, vignesh wrote: > > On 2015/02/06 ...
5 years, 10 months ago (2015-02-06 22:48:22 UTC) #29
jschuh
Okay, is there ever a legitimate reason to pass negative values to the browser? As ...
5 years, 10 months ago (2015-02-06 22:55:39 UTC) #30
vignesh
On 2015/02/06 22:55:39, jschuh wrote: > Okay, is there ever a legitimate reason to pass ...
5 years, 10 months ago (2015-02-06 22:59:08 UTC) #31
jschuh
Sorry, I have no idea how I missed that on my previous pass. ipc security ...
5 years, 10 months ago (2015-02-06 23:18:15 UTC) #32
vignesh
On 2015/02/06 23:18:15, jschuh wrote: > Sorry, I have no idea how I missed that ...
5 years, 10 months ago (2015-02-06 23:19:11 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/898393002/80001
5 years, 10 months ago (2015-02-06 23:19:26 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-06 23:21:25 UTC) #36
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 23:22:33 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9cd3dd704879268a7291c9e668aa7bc56df6a1df
Cr-Commit-Position: refs/heads/master@{#315132}

Powered by Google App Engine
This is Rietveld 408576698