mirror of
https://github.com/matthew1000/gstreamer-cheat-sheet.git
synced 2024-11-21 16:00:59 +00:00
update gst.init to use more recent version
This commit is contained in:
parent
7fb9d02b72
commit
8ac967d082
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ gi.require_version('Gst', '1.0')
|
|||
from gi.repository import GObject, Gst
|
||||
import os
|
||||
|
||||
Gst.init()
|
||||
Gst.init(None)
|
||||
mainloop = GObject.MainLoop()
|
||||
|
||||
pipeline = Gst.ElementFactory.make("playbin", "player")
|
||||
|
|
Loading…
Reference in a new issue