gstreamer/sys
Aurélien Zanelli c163250f0d v4l2object: probe all colorspace supported by device
A device can support more than one colorspace for a given image
dimension and pixel format. So we have to probe all the supported
colorspace and not only rely on the default one. Otherwise we could end
up with negotiation failure if the caps colorimetry field don't match
the v4l2 device default one even if the v4l2 could support such
colorimetry.

This patch enable probing if colorspace for both capture and output
device. It really makes sense for output device since the colorspace
shall be set by the application and a little less for capture device
which, at the moment, shall provide the colorspace; ie: the v4l2
specification seems to not take into account the fact that a capture
device could do colorspace conversion.

As a side effet, probing takes some times and so sligthly delay v4l2
initialization. Note that this patch only probe colorspace and not all
colorspace, matrix, transfer and range combination to avoid taking too
much time, especially with low-speed devices as full probing do 1782
ioctl.

https://bugzilla.gnome.org/show_bug.cgi?id=755937
2016-03-24 14:05:45 -04:00
..
directsound good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
oss good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
oss4 oss4: remove dead mixer code 2014-05-02 09:41:19 +01:00
osxaudio good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
osxvideo good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
sunaudio good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
v4l2 v4l2object: probe all colorspace supported by device 2016-03-24 14:05:45 -04:00
waveform good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
ximage good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
Makefile.am v4l2: Fix typo V4L_DIR intead of V4L2_DIR 2014-03-15 18:41:16 +01:00