# Add a videotestsrc element, set it to pattern "ball" and some other properties
self.ball = Gst.ElementFactory.make("videotestsrc", "ball")
self.ball.set_property("pattern", "ball")
# Add a videotestsrc element, set it to pattern "ball" and some other properties
self.ball = Gst.ElementFactory.make("videotestsrc", "ball")
self.ball.set_property("pattern", "ball")