# Add a capsfilter that we want to apply to our videotestsrc
self.videotestcaps = Gst.ElementFactory.make("capsfilter", "videotestcaps")
self.videotestcaps.set_property("caps",Gst.Caps.from_string("video/x-raw,width=640,height=480"))
self.pipeline.add(self.videotestcaps)
# Add a capsfilter that we want to apply to our videotestsrc
self.videotestcaps = Gst.ElementFactory.make("capsfilter", "videotestcaps")
self.videotestcaps.set_property("caps",Gst.Caps.from_string("video/x-raw,width=640,height=480"))
self.pipeline.add(self.videotestcaps)