Cleanup audio format

This commit is contained in:
Wim Taymans 2016-09-08 12:32:30 +02:00
parent b901c2c67d
commit a5f21576fa
6 changed files with 21 additions and 15 deletions

View file

@ -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;