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

Issue 1144543005: media: Update MediaCodecBridge to use the new log. (Closed)

Created:
5 years, 7 months ago by xhwang
Modified:
5 years, 7 months ago
Reviewers:
qinmin, dgn
CC:
avayvod+watch_chromium.org, chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, posciak+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@m_sdk
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Update MediaCodecBridge to use the new log. BUG=472152 Committed: https://crrev.com/fb06a495c5877601435366f37cb639642e851e84 Cr-Commit-Position: refs/heads/master@{#330240}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M media/base/android/java/src/org/chromium/media/MediaCodecBridge.java View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 10 (3 generated)
xhwang
One line change. PTAL. See bug for background.
5 years, 7 months ago (2015-05-15 20:52:28 UTC) #2
qinmin
lgtm
5 years, 7 months ago (2015-05-15 23:47:45 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1144543005/1
5 years, 7 months ago (2015-05-15 23:55:42 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-05-16 00:02:42 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/fb06a495c5877601435366f37cb639642e851e84 Cr-Commit-Position: refs/heads/master@{#330240}
5 years, 7 months ago (2015-05-18 11:29:33 UTC) #7
dgn
Thanks for the help! I made a few comments that could be useful for the ...
5 years, 7 months ago (2015-05-18 14:16:57 UTC) #9
xhwang
5 years, 7 months ago (2015-05-18 16:32:08 UTC) #10
Message was sent while issue was closed.
On 2015/05/18 14:16:57, dgn wrote:
> Thanks for the help! 
> I made a few comments that could be useful for the next similar patches.
> Ideally, migrating the logger should be done over the whole package, and would
> enable controlling logs for that whole package via commands like `adb shell
> setprop "log.tag.cr.Media" VERBOSE`
> 
> (see
>
https://chromium.googlesource.com/chromium/src/+/master/base/android/java/src...)
> 
>
https://codereview.chromium.org/1144543005/diff/1/media/base/android/java/src...
> File media/base/android/java/src/org/chromium/media/MediaCodecBridge.java
> (right):
> 
>
https://codereview.chromium.org/1144543005/diff/1/media/base/android/java/src...
> media/base/android/java/src/org/chromium/media/MediaCodecBridge.java:35:
private
> static final String TAG = "MediaCodecBridge";
> The tag should look like "cr.Media"
> 
>
https://codereview.chromium.org/1144543005/diff/1/media/base/android/java/src...
> media/base/android/java/src/org/chromium/media/MediaCodecBridge.java:232:
> Log.w(TAG, "getDefaultCodecName: Failed to create MediaCodec: "
> String formatting can be used:
> 
> Log.w(TAG, "getDefaultCodecName: Failed to create MediaCodec: %s, direction:
> %d", mime, direction, e);

Thanks for the info! I filed http://crbug.com/489318 to track this work.

Powered by Google App Engine
This is Rietveld 408576698