mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
vadisplay: fix minor version check
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7169>
This commit is contained in:
parent
7502b1ef29
commit
2962097764
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