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

Issue 544033002: Linux video capture: handle devices that don't enumerate any frame rates (Closed)

Created:
6 years, 3 months ago by magjed_chromium
Modified:
6 years, 3 months ago
Reviewers:
perkj_chrome, mcasas
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Linux video capture: handle devices that don't enumerate any frame rates BUG=412284 TEST=Check output from DVLOG(1) << device.name() << " " << supported_format.ToString() in VideoCaptureDeviceFactoryLinux::GetDeviceSupportedFormats. For a Kinect Camera, it will now list: Microsoft Kinect Camera resolution: 640x480, fps: 0.000000, pixel format: UYUY Committed: https://crrev.com/7c653cbed4467e77e9df90e076e9d837887c67a7 Cr-Commit-Position: refs/heads/master@{#293923}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 1

Patch Set 3 : forgot to set frame rate #

Total comments: 2

Patch Set 4 : changed type of frame_rate from int to float #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M media/video/capture/linux/video_capture_device_factory_linux.cc View 1 2 3 2 chunks +15 lines, -5 lines 0 comments Download
M media/video/capture/linux/video_capture_device_linux.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/linux/video_capture_device_linux.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
magjed_chromium
PTAL
6 years, 3 months ago (2014-09-05 07:31:30 UTC) #2
magjed_chromium
PTAL https://codereview.chromium.org/544033002/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc File media/video/capture/linux/video_capture_device_factory_linux.cc (right): https://codereview.chromium.org/544033002/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc#newcode185 media/video/capture/linux/video_capture_device_factory_linux.cc:185: for (std::list<float>::iterator it = frame_rates.begin(); C++11 range-based for ...
6 years, 3 months ago (2014-09-05 09:09:35 UTC) #3
perkj_chrome
code is ok but please file a bug and describe the problem such as the ...
6 years, 3 months ago (2014-09-05 12:04:58 UTC) #4
magjed_chromium
I have verified that AllocateAndStart do get 0.0 as frame rate. If minFrameRate is set ...
6 years, 3 months ago (2014-09-09 09:10:06 UTC) #5
perkj_chrome
lgtm
6 years, 3 months ago (2014-09-09 10:44:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/magjed@chromium.org/544033002/60001
6 years, 3 months ago (2014-09-09 11:09:13 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001) as cea5061f1b0df643b6a12ce20a185d44d0bb9d17
6 years, 3 months ago (2014-09-09 12:09:32 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:52:53 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7c653cbed4467e77e9df90e076e9d837887c67a7
Cr-Commit-Position: refs/heads/master@{#293923}

Powered by Google App Engine
This is Rietveld 408576698