Add basic playbin to gstreamer backend

This commit is contained in:
Thomas Adamcik 2010-02-07 05:07:16 +01:00
parent 562c9ae0f3
commit cc8fbeef87

View File

@ -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