[Bug 775702] v4l2object: Don't set empty interlace-mode list

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 6 12:17:06 UTC 2016


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

--- Comment #1 from Arun Raghavan <arun at arunraghavan.net> ---
Created attachment 341474
  --> https://bugzilla.gnome.org/attachment.cgi?id=341474&action=edit
v4l2object: Don't set empty interlace-mode list

If for some reason we fail to probe formats (all try_fmt calls fail, for
example), this is not a critical error, but we end up with an empty list
of interlace modes. This causes all subsequent negotiation to fail.

This patch fixes interlace-mode setting to be skipped if we failed to
detect any.

-- 
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