sys/v4l2/v4l2src_calls.c: Check whether the device supports setting the framerate...
authorWilliam M. Brack <wbrack@mmm.com.hk>
Tue, 25 Mar 2008 12:33:09 +0000 (12:33 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 25 Mar 2008 12:33:09 +0000 (12:33 +0000)
commite605a94e4093e1304b153ab1baf3e5ccef7562e8
tree38a707e792e534fbc245850ab1fcb101fcf524e8
parent4271a5523d840a2eee8a51ede0cdc3f15a7b7694
sys/v4l2/v4l2src_calls.c: Check whether the device supports setting the framerate before trying to set it and then po...

Original commit message from CVS:
Based on patch by: William M. Brack <wbrack at mmm com hk>
* sys/v4l2/v4l2src_calls.c: (fractions_are_equal),
(gst_v4l2src_set_capture):
Check whether the device supports setting the framerate before
trying to set it and then posting a warning or error if it doesn't
work (#516649, #520092). Also compare fractions more correctly.
ChangeLog
sys/v4l2/v4l2src_calls.c