mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
qcap: Fix reversed max_fps and min_fps.
The maximum FPS is the inverse of the minimum frame time, not the maximum frame time, and vice versa.
This commit is contained in:
parent
a19ceddeb0
commit
333a871549
1 changed files with 2 additions and 2 deletions
|
@ -528,8 +528,8 @@ static NTSTATUS v4l_device_create( void *args )
|
|||
else if (frmival.type == V4L2_FRMIVAL_TYPE_STEPWISE
|
||||
|| frmival.type == V4L2_FRMIVAL_TYPE_CONTINUOUS)
|
||||
{
|
||||
max_fps = frmival.stepwise.max.denominator / frmival.stepwise.max.numerator;
|
||||
min_fps = frmival.stepwise.min.denominator / frmival.stepwise.min.numerator;
|
||||
min_fps = frmival.stepwise.max.denominator / frmival.stepwise.max.numerator;
|
||||
max_fps = frmival.stepwise.min.denominator / frmival.stepwise.min.numerator;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue