Did I find the right examples for you? yes no

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

src/f/l/flumotion-HEAD/flumotion/component/producers/playlist/singledecodebin.py   flumotion(Download)
        if self.uri and gst.uri_is_valid(self.uri):
            self.urisrc = gst.element_make_from_uri(gst.URI_SRC, uri, "urisrc")
            self.log("created urisrc %s / %r" % (self.urisrc.get_name(),
                                                 self.urisrc))
            self.add(self.urisrc)
    def _controlDynamicElement(self, element):
        self.log("element:%s" % element.get_name())
        self._dynamics.append(element)
        element.connect("pad-added", self._dynamicPadAddedCb)
        element.connect("no-more-pads", self._dynamicNoMorePadsCb)
                    dynamic = True
            else:
                self.log("Template %s is a request pad, ignoring" % (
                    pad.name_template))
 
                                                    caps.to_string()))
        if caps.is_empty():
            self.log("unknown type")
            return
        if caps.is_any():
            self.log("type is not know yet, waiting")

src/f/l/flumotion-HEAD/flumotion/component/producers/playlist/smartscale.py   flumotion(Download)
    def _sinkSetCaps(self, unused_pad, caps):
        self.log("caps:%s" % caps.to_string())
        (self.widthin,
         self.heightin,
         self.parin,
    def _srcSetCaps(self, unused_pad, caps):
        self.log("caps:%s" % caps.to_string())
        (self.widthout,
         self.heightout,
         self.parout,
    def _sinkPadCapsNotifyCb(self, pad, unused_prop):
        caps = pad.get_negotiated_caps()
        self.log("caps:%r" % caps)
        (self.widthin,
         self.heightin,
    def _srcPadCapsNotifyCb(self, pad, unused_prop):
        caps = pad.get_negotiated_caps()
        self.log("caps:%r" % caps)
        (self.widthout,
         self.heightout,
            return
 
        self.log("incoming width/height/PAR/DAR : %d/%d/%r/%r" % (
            self.widthin, self.heightin,
            self.parin, self.darin))