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)