Commit dcea1b2d authored by Committed by Tim-Philipp MüllerBrowse files
v4l2: sort formats in the right order so that non-emulated formats are prefered
The format list should be sorted from high ranks to low ranks. In the GSList sorting function this means the compare needs to return a positive value if format a has a lower rank than format b. Among other things this fixes v4l2src to prefer non-emulated formats to emulated formats when built against libv4l.
Showing with 2 additions and 2 deletions