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

Issue 480023002: Mac Video Capture: Change an ErrorMessage to LogMessage (Closed)

Created:
6 years, 4 months ago by mcasas
Modified:
6 years, 4 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Mac Video Capture: Change an ErrorMessage to LogMessage A situation in which we're trying to stop capturing from a device that has never been initialised properly ends up in -sendErrorMessage:, but that in turn will trigger VideoCaptureController -> VideoCaptureHost -> MediaStreamManager, that would try to tear down the whole capture infrastructure, and that would end up in the same point that caused the -sendErrorMessage. In this case, Log instead of sending an Error. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290250

Patch Set 1 #

Total comments: 2

Patch Set 2 : tommi@s comments #

Total comments: 2

Patch Set 3 : tommi@s comments #

Total comments: 2

Patch Set 4 : grunell@ nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M media/video/capture/mac/video_capture_device_mac.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M media/video/capture/mac/video_capture_device_qtkit_mac.mm View 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
mcasas
grunell@: PTAL tommi@: OWNERS RS / PTAL.
6 years, 4 months ago (2014-08-18 09:44:03 UTC) #1
tommi (sloooow) - chröme
https://codereview.chromium.org/480023002/diff/1/media/video/capture/mac/video_capture_device_mac.h File media/video/capture/mac/video_capture_device_mac.h (right): https://codereview.chromium.org/480023002/diff/1/media/video/capture/mac/video_capture_device_mac.h#newcode77 media/video/capture/mac/video_capture_device_mac.h:77: void LogMessage(const std::string& message); This requires some documentation now ...
6 years, 4 months ago (2014-08-18 09:50:06 UTC) #2
Henrik Grunell
Is the bug number really correct? Does this send UMS stats?
6 years, 4 months ago (2014-08-18 09:52:00 UTC) #3
Henrik Grunell
On 2014/08/18 09:52:00, Henrik Grunell wrote: > Is the bug number really correct? Does this ...
6 years, 4 months ago (2014-08-18 09:52:08 UTC) #4
mcasas
tommi@ PTAL. Thought it would suffice to point to the place where the sendErrorMessage and ...
6 years, 4 months ago (2014-08-18 10:47:31 UTC) #5
tommi (sloooow) - chröme
https://codereview.chromium.org/480023002/diff/40001/media/video/capture/mac/video_capture_device_mac.h File media/video/capture/mac/video_capture_device_mac.h (right): https://codereview.chromium.org/480023002/diff/40001/media/video/capture/mac/video_capture_device_mac.h#newcode78 media/video/capture/mac/video_capture_device_mac.h:78: // Forwarder to VideoCaptureDevice::OnLog(). actually, this forwards to the ...
6 years, 4 months ago (2014-08-18 10:54:45 UTC) #6
mcasas
PTAL https://codereview.chromium.org/480023002/diff/40001/media/video/capture/mac/video_capture_device_mac.h File media/video/capture/mac/video_capture_device_mac.h (right): https://codereview.chromium.org/480023002/diff/40001/media/video/capture/mac/video_capture_device_mac.h#newcode78 media/video/capture/mac/video_capture_device_mac.h:78: // Forwarder to VideoCaptureDevice::OnLog(). On 2014/08/18 10:54:45, tommi ...
6 years, 4 months ago (2014-08-18 11:52:59 UTC) #7
tommi (sloooow) - chröme
lgtm
6 years, 4 months ago (2014-08-18 12:01:20 UTC) #8
Henrik Grunell
Please remove the BUG= line or file a bug. LGTM with nit fixed. https://codereview.chromium.org/480023002/diff/60001/media/video/capture/mac/video_capture_device_mac.h File ...
6 years, 4 months ago (2014-08-18 12:05:43 UTC) #9
mcasas
The CQ bit was checked by mcasas@chromium.org
6 years, 4 months ago (2014-08-18 12:26:33 UTC) #10
mcasas
https://codereview.chromium.org/480023002/diff/60001/media/video/capture/mac/video_capture_device_mac.h File media/video/capture/mac/video_capture_device_mac.h (right): https://codereview.chromium.org/480023002/diff/60001/media/video/capture/mac/video_capture_device_mac.h#newcode78 media/video/capture/mac/video_capture_device_mac.h:78: // Forwarder to VideoCaptureDevice::Client::OnLog(). On 2014/08/18 12:05:43, Henrik Grunell ...
6 years, 4 months ago (2014-08-18 12:26:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mcasas@chromium.org/480023002/80001
6 years, 4 months ago (2014-08-18 12:27:42 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-18 13:40:25 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 13:45:35 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (80001) as 290250

Powered by Google App Engine
This is Rietveld 408576698