From: Philipp Spitzer Date: Wed, 5 May 2021 21:05:06 +0000 (+0200) Subject: Now it works :-) X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/commitdiff_plain/e539207b2dcd831dd5641bafa75d2a2942f844ce?hp=31364a7c2d54e35bd91303fbfb8008bb85efed9b Now it works :-) --- 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)