v4l2src: do not ignore the highest frame interval

https://bugzilla.gnome.org/show_bug.cgi?id=665387
This commit is contained in:
Vincent Penquerc'h 2011-12-02 12:07:24 +00:00
parent 2b0a001d0d
commit 687d6138d1

View file

@ -1664,7 +1664,7 @@ gst_v4l2_object_probe_caps_for_format_and_size (GstV4l2Object * v4l2object,
num, denom);
gst_value_set_fraction (&step, -num, denom);
while (gst_value_compare (&min, &max) <= 0) {
while (gst_value_compare (&min, &max) != GST_VALUE_GREATER_THAN) {
GValue rate = { 0, };
num = gst_value_get_fraction_numerator (&min);