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

Issue 2231863004: Add "exact" constraint evaluation to video picker. (Closed)

Created:
4 years, 4 months ago by hta - Chromium
Modified:
4 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add "exact" constraint evaluation to video picker. This lets the code accept constraints like: video: { width: { exact: 1280 }} with the same meaning as video: { width: { min: 1280, max: 1280 }} BUG=620665 Committed: https://crrev.com/03114092446268d86e2f6986a5c69a4ef6c9b11e Cr-Commit-Position: refs/heads/master@{#411364}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Modify UpdateFormatForConstraint to consider cropping #

Patch Set 3 : Addressing Guido's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -7 lines) Patch
M content/renderer/media/media_stream_constraints_util.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util_unittest.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_source.cc View 1 2 4 chunks +26 lines, -5 lines 0 comments Download
M content/renderer/media/media_stream_video_source_unittest.cc View 2 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
hta - Chromium
Please take a look. This code will change with Guido's work on reworking constraint evaluation, ...
4 years, 4 months ago (2016-08-11 08:55:30 UTC) #5
Guido Urdaneta
https://codereview.chromium.org/2231863004/diff/1/content/renderer/media/media_stream_video_source.cc File content/renderer/media/media_stream_video_source.cc (right): https://codereview.chromium.org/2231863004/diff/1/content/renderer/media/media_stream_video_source.cc#newcode38 content/renderer/media/media_stream_video_source.cc:38: // nit: is this empty line with "//" intentional ...
4 years, 4 months ago (2016-08-11 09:25:01 UTC) #6
hta - Chromium
Addressed Guido's comments, and found one bug and fixed it. PTAL. https://codereview.chromium.org/2231863004/diff/1/content/renderer/media/media_stream_video_source.cc File content/renderer/media/media_stream_video_source.cc (right): ...
4 years, 4 months ago (2016-08-11 11:18:18 UTC) #9
Guido Urdaneta
lgtm
4 years, 4 months ago (2016-08-11 11:23:07 UTC) #10
tommi (sloooow) - chröme
lgtm
4 years, 4 months ago (2016-08-11 15:31:59 UTC) #11
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/2231863004/40001
4 years, 4 months ago (2016-08-11 15:32:44 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-11 17:15:01 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 17:16:53 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/03114092446268d86e2f6986a5c69a4ef6c9b11e
Cr-Commit-Position: refs/heads/master@{#411364}

Powered by Google App Engine
This is Rietveld 408576698