gst1: require_version('Gst', '1.0') before use
This commit is contained in:
parent
20b1c21b0b
commit
fc54a17b44
@ -7,6 +7,8 @@ import sys
|
||||
import textwrap
|
||||
|
||||
try:
|
||||
import gi
|
||||
gi.require_version('Gst', '1.0')
|
||||
from gi.repository import GObject, Gst
|
||||
except ImportError:
|
||||
print(textwrap.dedent("""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user