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

Issue 2719153002: Patch constraints algorithm for device video-capture sources. (Closed)

Created:
3 years, 9 months ago by Guido Urdaneta
Modified:
3 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, imcheng+watch_chromium.org, feature-media-reviews_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, avayvod+watch_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, jasonroberts+watch_google.com, xjz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch constraints algorithm for device video-capture sources. The original algorithm did not correctly handle cases of contradicting advanced constraint sets for source settings that support a range of values (i.e., height, width and frame rate). This patch fixes this glitch, fixes two existing tests and adds new tests. Thanks hbos@ for noticing this glitch in a previous review. BUG=657733 some good progress Review-Url: https://codereview.chromium.org/2719153002 Cr-Commit-Position: refs/heads/master@{#453941} Committed: https://chromium.googlesource.com/chromium/src/+/1c4341272631c917395e82ff2cea99098b9eaded

Patch Set 1 #

Patch Set 2 : add extra tests for string and powerline frequency for improved coverage #

Total comments: 9

Patch Set 3 : address comments by hbos #

Total comments: 4

Patch Set 4 : improve comments based on hta's suggestions, fix bug and modify test to catch that bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+495 lines, -156 lines) Patch
M content/renderer/media/media_stream_constraints_util_video_device.cc View 1 2 3 14 chunks +189 lines, -112 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util_video_device_unittest.cc View 1 2 3 4 chunks +306 lines, -44 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 24 (15 generated)
Guido Urdaneta
Hi, PTAL
3 years, 9 months ago (2017-02-27 20:04:49 UTC) #2
hbos_chromium
https://codereview.chromium.org/2719153002/diff/40001/content/renderer/media/media_stream_constraints_util_video_device.cc File content/renderer/media/media_stream_constraints_util_video_device.cc (right): https://codereview.chromium.org/2719153002/diff/40001/content/renderer/media/media_stream_constraints_util_video_device.cc#newcode110 content/renderer/media/media_stream_constraints_util_video_device.cc:110: // that support a range of values (height, width ...
3 years, 9 months ago (2017-02-28 11:41:54 UTC) #12
Guido Urdaneta
https://codereview.chromium.org/2719153002/diff/40001/content/renderer/media/media_stream_constraints_util_video_device.cc File content/renderer/media/media_stream_constraints_util_video_device.cc (right): https://codereview.chromium.org/2719153002/diff/40001/content/renderer/media/media_stream_constraints_util_video_device.cc#newcode110 content/renderer/media/media_stream_constraints_util_video_device.cc:110: // that support a range of values (height, width ...
3 years, 9 months ago (2017-02-28 16:44:00 UTC) #14
hta - Chromium
lgtm Some suggestions on how to explain things better, including one which I think is ...
3 years, 9 months ago (2017-02-28 19:32:21 UTC) #15
Guido Urdaneta
Hi, PTAL.
3 years, 9 months ago (2017-03-01 11:29:43 UTC) #16
Guido Urdaneta
https://codereview.chromium.org/2719153002/diff/80001/content/renderer/media/media_stream_constraints_util_video_device.cc File content/renderer/media/media_stream_constraints_util_video_device.cc (right): https://codereview.chromium.org/2719153002/diff/80001/content/renderer/media/media_stream_constraints_util_video_device.cc#newcode617 content/renderer/media/media_stream_constraints_util_video_device.cc:617: // |candidate| and |constrained_format|. The returned value is the ...
3 years, 9 months ago (2017-03-01 11:32:42 UTC) #17
hbos_chromium
lgtm
3 years, 9 months ago (2017-03-01 14:53:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2719153002/100001
3 years, 9 months ago (2017-03-01 15:07:04 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 16:01:48 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/1c4341272631c917395e82ff2cea...

Powered by Google App Engine
This is Rietveld 408576698