mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
vadisplay: fix minor version check
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7164>
This commit is contained in:
parent
3a2e8d2d19
commit
058ae85b22
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue