sys/v4l2/v4l2src_calls.c: Make sure the probed frame sizes are reversed in the result...
authorWilliam M. Brack <wbrack@mmm.com.hk>
Mon, 17 Mar 2008 19:50:58 +0000 (19:50 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 17 Mar 2008 19:50:58 +0000 (19:50 +0000)
commita6019fc0bf8854e2c062ebc69dee3e4f2c886115
tree846239b22b63c2d165c06273ef548abb77fd9073
parent110a0ea563d9825b1227fd0af8d7c7f37c8dab5e
sys/v4l2/v4l2src_calls.c: Make sure the probed frame sizes are reversed in the resulting caps also when using V4L2_FR...

Original commit message from CVS:
Patch by: William M. Brack <wbrack at mmm com hk>
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size),
(gst_v4l2src_probe_caps_for_format):
Make sure the probed frame sizes are reversed in the resulting
caps also when using V4L2_FRMSIZE_STEPWISE (so they end up
highest resolution first); also remove unused variable.
(Partly fixes #520092)
ChangeLog
sys/v4l2/v4l2src_calls.c