From: gregor herrmann Date: Thu, 9 Jul 2020 18:20:38 +0000 (+0200) Subject: use xvimagesink (some X11 video sink) instead of the presumably simpler autovideosink X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/commitdiff_plain/e1fb5f2effdef0e50d03ab317b15eadfb1ac54cf?ds=sidebyside;hp=08c82709e268e2638f8e73294627d0ff1e5fa807 use xvimagesink (some X11 video sink) instead of the presumably simpler autovideosink the latter fails if XDG_RUNTIME_DIR is not set. (in the end we want a different sink anyway, this is just for debugging) --- diff --git a/lagarde.py b/lagarde.py index 29cb085..1b08355 100755 --- a/lagarde.py +++ b/lagarde.py @@ -72,7 +72,8 @@ class Lagarde: if name.startswith('video'): q = Gst.ElementFactory.make('queue') conv = Gst.ElementFactory.make('videoconvert') - sink = Gst.ElementFactory.make('autovideosink') + # sink = Gst.ElementFactory.make('autovideosink') # needs XDG_RUNTIME_DIR + sink = Gst.ElementFactory.make('xvimagesink') self.pipe.add(q) self.pipe.add(conv) self.pipe.add(sink)