validate: Fix warning when importing GstPbutils

PyGObject triggers warnings when importing modules without an explicit
version request.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4932>
This commit is contained in:
Alicia Boya García 2023-06-26 12:01:01 +02:00 committed by GStreamer Marge Bot
parent 53e48ce14d
commit e92dea5ce6

View file

@ -25,6 +25,7 @@ import tempfile
gi.require_version("Gst", "1.0")
gi.require_version("GES", "1.0")
gi.require_version("GstPbutils", "1.0")
from gi.repository import Gst # noqa
from gi.repository import GstPbutils # noqa