v4l2deviceprovider: Don't do slow probes

This is problematic in the current design at it seriously slow down
startup of applications. As of now, no known application uses the
colorimetry and the interlace-modes for anything (the two fields that
won't be probed). So let's disable it, in the long term we'll try and
find a way to interact with the provider so applicaiton could opt-in
these slow probing methods for more advance configuration.
This commit is contained in:
Nicolas Dufresne 2017-12-22 10:21:28 -05:00
parent 80815c292a
commit 4632f33334

View file

@ -142,6 +142,7 @@ gst_v4l2_device_provider_probe_device (GstV4l2DeviceProvider * provider,
goto close;
type = GST_V4L2_DEVICE_TYPE_SOURCE;
v4l2obj->skip_try_fmt_probes = TRUE;
}
if (v4l2obj->device_caps &