v4l2: no range for fixed framerates

Print fixed values correctly
This commit is contained in:
Wim Taymans 2017-05-12 12:57:28 +02:00
parent bf09421240
commit 05adcb31e5

View file

@ -792,6 +792,9 @@ have_framerate:
}
n_fractions++;
}
if (n_fractions <= 1) {
prop->body.flags &= ~(SPA_POD_PROP_RANGE_MASK | SPA_POD_PROP_FLAG_UNSET);
}
spa_pod_builder_pop (&b, &f[1]);
spa_pod_builder_pop (&b, &f[0]);