X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/blobdiff_plain/31364a7c2d54e35bd91303fbfb8008bb85efed9b..e539207b2dcd831dd5641bafa75d2a2942f844ce:/lagarde.py diff --git a/lagarde.py b/lagarde.py index ccbdbf1..c33b912 100755 --- a/lagarde.py +++ b/lagarde.py @@ -207,7 +207,6 @@ class WebRTCClient: self.pipe.add(capsfilter) self.pipe.add(flmux) self.pipe.add(sink) - self.pipe.sync_children_states() q_pad_sink = q.get_static_pad('sink') assert q_pad_sink @@ -228,6 +227,7 @@ class WebRTCClient: ok = flmux.link(sink) assert ok self.pipe.set_state(Gst.State.PLAYING) + self.pipe.sync_children_states() #print(dir(Gst.DebugGraphDetails)) #Gst.debug_bin_to_dot_data(element, Gst.DebugGraphDetails.ALL)