diff options
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_drm.c b/gst-libs/gst/vaapi/gstvaapidisplay_drm.c index 25707544..ecc5a14f 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay_drm.c +++ b/gst-libs/gst/vaapi/gstvaapidisplay_drm.c @@ -111,7 +111,7 @@ get_default_device_path (GstVaapiDisplay * display) parent = udev_device_get_parent (device); for (i = 0; allowed_subsystems[i] != NULL; i++) - if (strcmp (udev_device_get_subsystem (parent), + if (g_strcmp0 (udev_device_get_subsystem (parent), allowed_subsystems[i]) == 0) break; |