mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-16 20:36:06 +00:00
deviceproviderfactory: ignore empty classes
This commit is contained in:
parent
50cb645d1f
commit
c1bcf748cc
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ gst_device_provider_factory_has_classesv (GstDeviceProviderFactory * factory,
|
|||
const gchar *found;
|
||||
guint len;
|
||||
|
||||
if (classes[0] == NULL)
|
||||
if (classes[0][0] == '\0')
|
||||
continue;
|
||||
|
||||
found = strstr (klass, classes[0]);
|
||||
|
|
Loading…
Reference in a new issue