ruby-****@sourc*****
ruby-****@sourc*****
2011年 9月 28日 (水) 07:09:16 JST
------------------------- REMOTE_ADDR = 83.6.97.85 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gst-pads-elem ------------------------- @@ -55,7 +55,7 @@ The following piece of code can be used to get a pad from the tee element. After the pad has been requested, it can be used to link another element to it. element = Gst::ElementFactory.make("tee") - pad = element.request_pad("src%d") + pad = element.get_request_pad("src%d") puts "new pad: " + pad.name The Gst::Element#request_pad method can be used to get a pad from the element based on the name_template of the padtemplate.