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

Issue 1682483002: MediaRecorder: remove ASSERTS in bitrate clamping. (Closed)

Created:
4 years, 10 months ago by mcasas
Modified:
4 years, 10 months ago
Reviewers:
philipj_slow
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaRecorder: remove ASSERTS in bitrate clamping. Following up trailing comments in http://crrev.com/1652373004 BUG=585059, 575301, 548290 Committed: https://crrev.com/cad4c9e3b3c9e80bb189059373db528272bca96f Cr-Commit-Position: refs/heads/master@{#375741}

Patch Set 1 #

Total comments: 5

Patch Set 2 : removed =0 in MediaRecorderOptions, using has{,Video,Audio}BitsPerSecond() #

Total comments: 8

Patch Set 3 : philipj@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -30 lines) Patch
M third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-bitrates.html View 1 2 4 chunks +27 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp View 1 2 2 chunks +26 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
mcasas
Philip PTAL. https://codereview.chromium.org/1682483002/diff/1/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp File third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp (left): https://codereview.chromium.org/1682483002/diff/1/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp#oldcode101 third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp:101: if ((options.videoBitsPerSecond() > 0 || overallBps > ...
4 years, 10 months ago (2016-02-08 21:55:56 UTC) #2
philipj_slow
https://codereview.chromium.org/1682483002/diff/1/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp File third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp (left): https://codereview.chromium.org/1682483002/diff/1/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp#oldcode101 third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp:101: if ((options.videoBitsPerSecond() > 0 || overallBps > 0) && ...
4 years, 10 months ago (2016-02-09 06:31:22 UTC) #3
mcasas
PTAL https://codereview.chromium.org/1682483002/diff/1/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp File third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp (left): https://codereview.chromium.org/1682483002/diff/1/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp#oldcode101 third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp:101: if ((options.videoBitsPerSecond() > 0 || overallBps > 0) ...
4 years, 10 months ago (2016-02-12 02:11:38 UTC) #4
philipj_slow
lgtm % nits, sorry for the delay (I was OOO Thu-Fri last week) https://codereview.chromium.org/1682483002/diff/20001/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-bitrates.html File ...
4 years, 10 months ago (2016-02-15 04:12:28 UTC) #5
mcasas
https://codereview.chromium.org/1682483002/diff/20001/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-bitrates.html File third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-bitrates.html (right): https://codereview.chromium.org/1682483002/diff/20001/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-bitrates.html#newcode94 third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-bitrates.html:94: const kMaxInt32Value = (kMaxUint32Value / 2) - 1; On ...
4 years, 10 months ago (2016-02-17 00:20:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682483002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682483002/40001
4 years, 10 months ago (2016-02-17 00:46:45 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-17 01:32:06 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/cad4c9e3b3c9e80bb189059373db528272bca96f Cr-Commit-Position: refs/heads/master@{#375741}
4 years, 10 months ago (2016-02-17 01:33:14 UTC) #12
philipj_slow
4 years, 10 months ago (2016-02-17 02:11:01 UTC) #13
Message was sent while issue was closed.
Post-commit LGTM

Powered by Google App Engine
This is Rietveld 408576698