Remove unused var in device info bits from video capture module for Linux
Bug: None Change-Id: Icea40fe58e7f65cd1eb311c456ce3cdc802f88a8 Reviewed-on: https://webrtc-review.googlesource.com/97421 Commit-Queue: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24700}
This commit is contained in:

committed by
Commit Bot

parent
8c68845090
commit
289e980708
1
AUTHORS
1
AUTHORS
@ -29,6 +29,7 @@ Jan Kalab <pitlicek@gmail.com>
|
||||
Jens Nielsen <jens.nielsen@berotec.se>
|
||||
Jiawei Ou <jiawei.ou@gmail.com>
|
||||
Jie Mao <maojie0924@gmail.com>
|
||||
Jose Antonio Olivera Ortega <josea.olivera@gmail.com>
|
||||
Luke Weber <luke.weber@gmail.com>
|
||||
Maksim Khobat <maksimkhobat@gmail.com>
|
||||
Mallikarjuna Rao V <vm.arjun@samsung.com>
|
||||
|
@ -226,7 +226,6 @@ int32_t DeviceInfoLinux::FillCapabilities(int fd) {
|
||||
{960, 720}, {1280, 720}, {1024, 768}, {1440, 1080},
|
||||
{1920, 1080}};
|
||||
|
||||
int index = 0;
|
||||
for (int fmts = 0; fmts < totalFmts; fmts++) {
|
||||
for (int i = 0; i < sizes; i++) {
|
||||
video_fmt.fmt.pix.pixelformat = videoFormats[fmts];
|
||||
@ -258,7 +257,6 @@ int32_t DeviceInfoLinux::FillCapabilities(int fd) {
|
||||
}
|
||||
|
||||
_captureCapabilities.push_back(cap);
|
||||
index++;
|
||||
RTC_LOG(LS_VERBOSE) << "Camera capability, width:" << cap.width
|
||||
<< " height:" << cap.height
|
||||
<< " type:" << static_cast<int32_t>(cap.videoType)
|
||||
|
Reference in New Issue
Block a user