mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
80815c292a
commit
4632f33334
1 changed files with 1 additions and 0 deletions
|
@ -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 &
|
||||
|
|
Loading…
Reference in a new issue