mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
deviceproviderfactory: fix empty class check
This commit is contained in:
parent
f7d2624044
commit
8697997e33
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ gst_device_provider_factory_has_classesv (GstDeviceProviderFactory * factory,
|
|||
const gchar *found;
|
||||
guint len;
|
||||
|
||||
if (classes[0] == '\0')
|
||||
if (classes[0][0] == '\0')
|
||||
continue;
|
||||
|
||||
found = strstr (klass, classes[0]);
|
||||
|
|
Loading…
Reference in a new issue