def _makeStreamBin(self, output_stream): video_bin = SourceFactory._makeStreamBin(self, output_stream) capsfilter = video_bin.get_by_name("videotestsrc-capsfilter") queue = video_bin.get_by_name("internal-queue") capsfilter.link_pads_full("src", queue, "sink", gst.PAD_LINK_CHECK_NOTHING) capsfilter = video_bin.get_by_name("capsfilter-proj-settings") target = capsfilter.get_pad("src") ghost = gst.GhostPad('src', target) video_bin.add_pad(ghost) return video_bin
def _makeStreamBin(self, output_stream): video_bin = SourceFactory._makeStreamBin(self, output_stream) capsfilter = video_bin.get_by_name("videotestsrc-capsfilter") queue = video_bin.get_by_name("internal-queue") capsfilter.link(queue) capsfilter = video_bin.get_by_name("capsfilter-proj-settings") target = capsfilter.get_pad("src") ghost = gst.GhostPad('src', target) video_bin.add_pad(ghost) return video_bin
def _makeStreamBin(self, output_stream): video_bin = SourceFactory._makeStreamBin(self, output_stream) capsfilter = video_bin.get_by_name("videotestsrc-capsfilter") queue = video_bin.get_by_name("internal-queue") capsfilter.link(queue) capsfilter = video_bin.get_by_name("capsfilter-proj-settings") target = capsfilter.get_pad("src") ghost = gst.GhostPad('src', target) video_bin.add_pad(ghost) return video_bin
def _makeStreamBin(self, output_stream): video_bin = SourceFactory._makeStreamBin(self, output_stream) capsfilter = video_bin.get_by_name("videotestsrc-capsfilter") queue = video_bin.get_by_name("internal-queue") capsfilter.link_pads_full("src", queue, "sink", gst.PAD_LINK_CHECK_NOTHING) capsfilter = video_bin.get_by_name("capsfilter-proj-settings") target = capsfilter.get_pad("src") ghost = gst.GhostPad('src', target) video_bin.add_pad(ghost) return video_bin