Add basic playbin to gstreamer backend
This commit is contained in:
parent
562c9ae0f3
commit
cc8fbeef87
@ -19,3 +19,10 @@ class GStreamerPlaybackController(BasePlaybackController):
|
||||
|
||||
def __init__(self, backend):
|
||||
super(GStreamerPlaybackController, self).__init__(backend)
|
||||
|
||||
bin = gst.element_factory_make("playbin", "player")
|
||||
sink = gst.element_factory_make("fakesink", "fakesink")
|
||||
|
||||
bin.set_property("video-sink", sink)
|
||||
|
||||
self.bin = bin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user