mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Cleanup audio format
This commit is contained in:
parent
b901c2c67d
commit
a5f21576fa
6 changed files with 21 additions and 15 deletions
|
|
@ -682,6 +682,8 @@ have_framerate:
|
|||
fmt->ranges[i].val.value = &fmt->framerates[i];
|
||||
i++;
|
||||
state->frmival.index++;
|
||||
if (i == 16)
|
||||
break;
|
||||
} else if (state->frmival.type == V4L2_FRMIVAL_TYPE_CONTINUOUS ||
|
||||
state->frmival.type == V4L2_FRMIVAL_TYPE_STEPWISE) {
|
||||
fmt->framerates[0].num = state->frmival.stepwise.min.denominator;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue