[Bug 792435] v4l2src selecting suboptimal colorspace

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 11 22:51:18 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=792435

--- Comment #4 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Created attachment 366689
  --> https://bugzilla.gnome.org/attachment.cgi?id=366689&action=edit
v4l2src: Maintain downstream caps order

The g_list_insert_sorted() will behave like prepend when the compare
function returns 0. In our case, we want to maintain the order hence
append. This fixes this issue and improve the sorting algorithm to make
a 10x10 prefered over 10x200 with a preference of 10x8 (and similar
cases which was badly handled). This fixes generally fixes issue were a
sub-optimal format / size is picked.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list