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

Issue 2480753002: Fix video_loopback on Mac. (Closed)

Created:
4 years, 1 month ago by perkj_webrtc
Modified:
4 years ago
Reviewers:
stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, tterriberry_mozilla.com, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix video_loopback program to work on Mac. The VideoStreams created by the VideoStreamFactory must match the incoming video resolution from the camera. On mac, the camera is opened at hd but the configured streams contain only a VGA stream. This cl change the VideoStreamFactory to always set the highest layer to match the resolution of the incoming frame. BUG=none R=stefan@webrtc.org

Patch Set 1 #

Total comments: 2

Patch Set 2 : git cl format. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M webrtc/video/video_quality_test.cc View 1 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (3 generated)
perkj_webrtc
please
4 years, 1 month ago (2016-11-04 13:42:27 UTC) #1
stefan-webrtc
Shouldn't we scale the frame down to appropriate resolution? https://codereview.webrtc.org/2480753002/diff/1/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/2480753002/diff/1/webrtc/video/video_quality_test.cc#newcode105 webrtc/video/video_quality_test.cc:105: ...
4 years, 1 month ago (2016-11-09 18:19:29 UTC) #3
perkj_webrtc
ViEEncoder will send whatever resolution that is provided to it. That is the same way ...
4 years, 1 month ago (2016-11-10 12:03:54 UTC) #5
stefan-webrtc
On 2016/11/10 12:03:54, perkj_webrtc wrote: > ViEEncoder will send whatever resolution that is provided to ...
4 years, 1 month ago (2016-11-15 09:14:28 UTC) #6
mflodman
https://codereview.webrtc.org/2480753002/diff/20001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/2480753002/diff/20001/webrtc/video/video_quality_test.cc#newcode106 webrtc/video/video_quality_test.cc:106: return streams_; You need to return 'streams', not 'streams_'.
4 years ago (2016-12-15 14:33:35 UTC) #8
mflodman
4 years ago (2016-12-16 07:58:17 UTC) #9
Message was sent while issue was closed.
I patched and committed this in
https://crrev.com/d79f97b542a303ca8b7f9a95d5bda5c605d5c59d
so I closed this one.

I hope this was ok Per.

Powered by Google App Engine
This is Rietveld 408576698