From 058ae85b2297466daefbc157b14c5beee9baf9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 12 Jul 2024 12:34:52 +0200 Subject: [PATCH] vadisplay: fix minor version check Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.c b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.c index 74a04c8035..e3f2f1174d 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.c @@ -480,7 +480,7 @@ gst_va_display_check_version (GstVaDisplay * self, guint major, guint minor) if (priv->driver_major < major) return FALSE; - if (priv->driver_minor < minor) + if (priv->driver_major == major && priv->driver_minor < minor) return FALSE; return TRUE;