16 lines
354 B
Python
Executable File
16 lines
354 B
Python
Executable File
# perform gstreamer imports (python3 style)
|
|
import gi
|
|
gi.require_version('Gst','1.0')
|
|
|
|
from gi.repository import GObject
|
|
from gi.repository import Gst
|
|
|
|
# now perform once-per-module initializations
|
|
GObject.threads_init()
|
|
Gst.init(None)
|
|
|
|
from . resources import Resources
|
|
|
|
# set Resources to use resources from this package
|
|
Resources.SetPackage(__name__)
|