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

Issue 14522002: Handle decoding of vorbis files better on Android (Closed)

Created:
7 years, 8 months ago by Raymond Toy (Google)
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Handle decoding of vorbis files better on Android BUG=227144 Send the data size to MediaCodec so we can get the duration length for ogg/vorbis files correctly instead of returning a huge number. With this information, we no longer need the is_vorbis flag since the duration is now correct, so we remove that code as well. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198029

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -59 lines) Patch
M content/browser/renderer_host/render_message_filter.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/view_messages.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/webkitplatformsupport_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java View 1 2 4 chunks +14 lines, -15 lines 0 comments Download
M media/base/android/webaudio_media_codec_bridge.h View 1 4 chunks +8 lines, -4 lines 0 comments Download
M media/base/android/webaudio_media_codec_bridge.cc View 1 2 3 4 chunks +23 lines, -22 lines 0 comments Download
A media/base/android/webaudio_media_codec_info.h View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M webkit/media/android/audio_decoder_android.cc View 1 2 3 chunks +9 lines, -9 lines 0 comments Download
M webkit/media/audio_decoder.h View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Raymond Toy (Google)
Adding reviewers Please review. palmer@: security review bulach@: MediaCodec changes dalecurtis@: C++ side of media/base/android ...
7 years, 8 months ago (2013-04-26 22:37:50 UTC) #1
aelias_OOO_until_Jul13
content/browser/renderer_host lgtm
7 years, 8 months ago (2013-04-26 22:47:38 UTC) #2
palmer
IPC security LGTM, with request for sanity check in the ultimate callee. (Part of the ...
7 years, 8 months ago (2013-04-26 22:53:31 UTC) #3
brettw
webkit lgtm
7 years, 8 months ago (2013-04-27 05:13:47 UTC) #4
bulach
lgtm (with palmer's insightful comments, thanks for pointing that out!) and tiny nits: https://codereview.chromium.org/14522002/diff/23/media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java File ...
7 years, 7 months ago (2013-04-29 13:16:25 UTC) #5
DaleCurtis
https://codereview.chromium.org/14522002/diff/12001/media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java File media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java (right): https://codereview.chromium.org/14522002/diff/12001/media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java#newcode78 media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java:78: // (multi-year) duration value even for short files. Tell ...
7 years, 7 months ago (2013-04-30 17:44:16 UTC) #6
Raymond Toy (Google)
https://codereview.chromium.org/14522002/diff/12001/media/base/android/webaudio_media_codec_bridge.cc File media/base/android/webaudio_media_codec_bridge.cc (right): https://codereview.chromium.org/14522002/diff/12001/media/base/android/webaudio_media_codec_bridge.cc#newcode84 media/base/android/webaudio_media_codec_bridge.cc:84: unsigned long info[3] = {static_cast<unsigned long>(channel_count), On 2013/04/30 17:44:17, ...
7 years, 7 months ago (2013-04-30 17:57:49 UTC) #7
Raymond Toy (Google)
https://codereview.chromium.org/14522002/diff/12001/webkit/media/android/audio_decoder_android.cc File webkit/media/android/audio_decoder_android.cc (right): https://codereview.chromium.org/14522002/diff/12001/webkit/media/android/audio_decoder_android.cc#newcode134 webkit/media/android/audio_decoder_android.cc:134: unsigned long info[3]; On 2013/04/30 17:44:17, DaleCurtis wrote: > ...
7 years, 7 months ago (2013-04-30 19:53:15 UTC) #8
DaleCurtis
lgtm % nits. https://codereview.chromium.org/14522002/diff/26001/media/base/android/webaudio_media_codec_bridge.cc File media/base/android/webaudio_media_codec_bridge.cc (right): https://codereview.chromium.org/14522002/diff/26001/media/base/android/webaudio_media_codec_bridge.cc#newcode82 media/base/android/webaudio_media_codec_bridge.cc:82: struct WebAudioMediaCodecInfo info = Formatting should ...
7 years, 7 months ago (2013-04-30 23:26:14 UTC) #9
Raymond Toy (Google)
Thanks, everyone, for the review.
7 years, 7 months ago (2013-05-01 17:06:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtoy@google.com/14522002/35001
7 years, 7 months ago (2013-05-01 17:08:00 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=710
7 years, 7 months ago (2013-05-01 17:29:44 UTC) #12
Raymond Toy (Google)
+jamesr: Please review webkit/glue/webkitplatform_impl.cc
7 years, 7 months ago (2013-05-01 17:39:43 UTC) #13
jamesr
lgtm
7 years, 7 months ago (2013-05-02 18:53:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtoy@google.com/14522002/35001
7 years, 7 months ago (2013-05-02 18:54:33 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=142920
7 years, 7 months ago (2013-05-02 21:54:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtoy@google.com/14522002/35001
7 years, 7 months ago (2013-05-02 22:06:27 UTC) #17
commit-bot: I haz the power
7 years, 7 months ago (2013-05-03 01:58:13 UTC) #18
Message was sent while issue was closed.
Change committed as 198029

Powered by Google App Engine
This is Rietveld 408576698