/* Get the minimum and maximum values for compression settings. */
if (1/*!(video->dev->quirks & UVC_QUIRK_PROBE_MINMAX)*/) {
ret = uvc_get_video_ctrl(video, &probe_min, 1, GET_MIN);
if (ret < 0)
goto done;
ret = uvc_get_video_ctrl(video, &probe_max, 1, GET_MAX);
if (ret < 0)
goto done;
probe->wCompQuality = probe_max.wCompQuality;
} |