Did I find the right examples for you? yes no

All Samples(16)  |  Call(16)  |  Derive(0)  |  Import(0)

src/f/l/flumotion-HEAD/flumotion/component/producers/playlist/singledecodebin.py   flumotion(Download)
        input. Returns empty list if none are compatible
        """
        self.debug("caps:%s" % caps.to_string())
        res = []
        for factory in self._factories:
                        res.append(factory)
                        break
        self.debug("returning %r" % res)
        return res
 
 
        if dynamic:
            self.debug("%s is a dynamic element" % element.get_name())
            self._controlDynamicElement(element)
 
        Returns the element that was successfully linked to the pad.
        """
        self.debug("source:%s, pad:%s , factories:%r" % (source.get_name(),
                                                         pad.get_name(),
                                                         factories))
        If no compatible elements could be found, the search will stop.
        """
        self.debug("element:%s, pad:%s, caps:%s" % (element.get_name(),
                                                    pad.get_name(),
                                                    caps.to_string()))

src/f/l/flumotion-HEAD/flumotion/component/effects/deinterlace/deinterlace.py   flumotion(Download)
            return True
        else:
            self.debug("Input is%sinterlaced" %
                (interlaced and " " or " not "))
            self._interlaced = interlaced
            self._deinterlacer.link(self._videorate)
            reactor.callFromThread(self._sinkPeerPad.set_blocked, False)
            self.debug("%s has been replaced succesfully" %
                self.deinterlacerName)
            self.deinterlacerName = deinterlacerName
 
        # We might be called from the streaming thread
        self.debug("Replacing %s deinterlacer with %s:%s" %
            if self.deinterlacerName == GST_DEINTERLACER \
                and not self._passthrough:
                self.debug("Changed method to %s" % method)
                self._deinterlacer.set_property("method", method)
            return

src/f/l/flumotion-HEAD/flumotion/component/producers/playlist/smartscale.py   flumotion(Download)
        # set properties on elements
        self.debug(
            "About to set left/right/top/bottom : %d/%d/%d/%d" % (
            -left, -right, -top, -bottom))
        self.videobox.props.left = -left
        self.videobox.props.right = -right
        self.videobox.props.top = -top
        self.videobox.props.bottom = -bottom
        self.debug("Settings filter caps %s" % caps.to_string())
        self.debug("Settings filter caps %s" % caps.to_string())
        self.capsfilter.props.caps = caps
        self.debug("done")
 
gobject.type_register(SmartVideoScale)

src/z/s/zspykee-HEAD/zspykee/zspykee/gstreamer.py   zspykee(Download)
                self._password, self)
            reactor.connectTCP(self._hostname, self._port, self.cf)
            self.debug("connecting to spykee robot at %s:%d with %s:%s" % (self._hostname, self._port, self._username, self._password))
 
            pass
    def isDocked(self, docked):
        self.debug("Connection succeeded: docked - %d" % (docked,))
        if docked:
            self.cf.currentProtocol.undock()
        self.cf.currentProtocol.setSoundVolume(85)