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

Issue 597473002: Change log level to show real errors in release mode (Closed)

Created:
6 years, 3 months ago by henryhsu
Modified:
6 years, 2 months ago
Reviewers:
wuchengli, Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

We can obtain useful logs in release mode and can debug faster in the future. BUG=415041 TEST=run VEA unittest and make sure LOG(ERROR) works well. Committed: https://crrev.com/b1f97630024706465759fb07a5308805b78a0c87 Cr-Commit-Position: refs/heads/master@{#297983}

Patch Set 1 #

Patch Set 2 : add vaapi also #

Total comments: 61

Patch Set 3 : address review comments #

Total comments: 12

Patch Set 4 : address Pawel's review comments #

Total comments: 3

Patch Set 5 : fix vaapi_wrapper.cc #

Patch Set 6 : rebase #

Total comments: 10

Patch Set 7 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -85 lines) Patch
M content/common/gpu/media/tegra_v4l2_video_device.cc View 1 2 3 4 5 6 6 chunks +7 lines, -5 lines 0 comments Download
M content/common/gpu/media/v4l2_image_processor.cc View 1 2 3 8 chunks +10 lines, -10 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 2 3 24 chunks +31 lines, -31 lines 0 comments Download
M content/common/gpu/media/v4l2_video_device.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/v4l2_video_encode_accelerator.cc View 1 2 3 4 5 6 12 chunks +15 lines, -15 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 7 chunks +7 lines, -7 lines 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 3 4 5 6 8 chunks +10 lines, -10 lines 0 comments Download
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (2 generated)
henryhsu
PTAL
6 years, 3 months ago (2014-09-23 05:47:56 UTC) #2
wuchengli
Add VDA and VEA to the title. Since this is not a simple search-and-replace, change ...
6 years, 3 months ago (2014-09-23 08:08:31 UTC) #3
wuchengli
BTW, Pawel should know better which are real errors and which are not. Some of ...
6 years, 3 months ago (2014-09-23 08:16:55 UTC) #4
henryhsu
Sorry, include rebase code. https://codereview.chromium.org/597473002/diff/20001/content/common/gpu/media/tegra_v4l2_video_device.cc File content/common/gpu/media/tegra_v4l2_video_device.cc (right): https://codereview.chromium.org/597473002/diff/20001/content/common/gpu/media/tegra_v4l2_video_device.cc#newcode58 content/common/gpu/media/tegra_v4l2_video_device.cc:58: LOG(WARNING) << "Failed to load ...
6 years, 3 months ago (2014-09-23 12:08:08 UTC) #5
Pawel Osciak
https://codereview.chromium.org/597473002/diff/40001/content/common/gpu/media/tegra_v4l2_video_device.cc File content/common/gpu/media/tegra_v4l2_video_device.cc (right): https://codereview.chromium.org/597473002/diff/40001/content/common/gpu/media/tegra_v4l2_video_device.cc#newcode188 content/common/gpu/media/tegra_v4l2_video_device.cc:188: return egl_image; Would be good to have a LOG(ERROR) ...
6 years, 2 months ago (2014-10-01 05:05:00 UTC) #6
Pawel Osciak
Oh and please go over VaapiWrapper too.
6 years, 2 months ago (2014-10-01 05:14:23 UTC) #7
henryhsu
all done. PTAL. https://codereview.chromium.org/597473002/diff/40001/content/common/gpu/media/tegra_v4l2_video_device.cc File content/common/gpu/media/tegra_v4l2_video_device.cc (right): https://codereview.chromium.org/597473002/diff/40001/content/common/gpu/media/tegra_v4l2_video_device.cc#newcode188 content/common/gpu/media/tegra_v4l2_video_device.cc:188: return egl_image; On 2014/10/01 05:05:00, Pawel ...
6 years, 2 months ago (2014-10-01 05:30:04 UTC) #8
Pawel Osciak
Please rebase. https://chromiumcodereview.appspot.com/597473002/diff/60001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://chromiumcodereview.appspot.com/597473002/diff/60001/content/common/gpu/media/vaapi_wrapper.cc#newcode201 content/common/gpu/media/vaapi_wrapper.cc:201: LOG(ERROR) << "Unsupported profile"; This is not ...
6 years, 2 months ago (2014-10-02 08:58:54 UTC) #9
henryhsu
all done. PTAL
6 years, 2 months ago (2014-10-02 09:12:47 UTC) #10
Pawel Osciak
Sorry, a few more additional thoughts. Otherwise lgtm, please feel free to CQ after fixing ...
6 years, 2 months ago (2014-10-03 00:07:39 UTC) #11
henryhsu
all done https://codereview.chromium.org/597473002/diff/100001/content/common/gpu/media/tegra_v4l2_video_device.cc File content/common/gpu/media/tegra_v4l2_video_device.cc (right): https://codereview.chromium.org/597473002/diff/100001/content/common/gpu/media/tegra_v4l2_video_device.cc#newcode58 content/common/gpu/media/tegra_v4l2_video_device.cc:58: LOG(ERROR) << "Failed to load libtegrav4l2.so "; ...
6 years, 2 months ago (2014-10-03 03:01:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597473002/120001
6 years, 2 months ago (2014-10-03 03:02:56 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 7f8302617c590665a43cd2cba091883108e5c40c
6 years, 2 months ago (2014-10-03 03:33:56 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-03 03:34:27 UTC) #16
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b1f97630024706465759fb07a5308805b78a0c87
Cr-Commit-Position: refs/heads/master@{#297983}

Powered by Google App Engine
This is Rietveld 408576698