ruby-****@sourc*****
ruby-****@sourc*****
2005年 3月 5日 (土) 07:34:38 JST
------------------------- REMOTE_ADDR = 82.239.64.142 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = http://ruby-gnome2.sourceforge.jp/cgi-bin/hiki/hiki.cgi?Gst%3A%3ACaps ------------------------- @@ -25,6 +25,11 @@ * caps: another Gst::Caps. * Returns: whether self is compatible with the given caps. +--- any=(state) + Sets whether the caps should be compatible with any media format. + * state: true or false. + * Returns: the given parameter 'state'. + --- any? This method returns whether the caps represents any media format. * Returns: whether the caps represents any media format. @@ -36,7 +41,12 @@ --- append_structure(structure) Append the given structure to self. - * structure: the Gst::Structure to append. + * structure: the Hash object to append. * Returns: self. --- chained?? @@ -67,7 +72,12 @@ Finds the structure in the caps that has the given index, and returns it. * index: the index of a structure. - * Returns: a Gst::Structure corresponding to index, or nil if not found. + * Returns: a Hash object corresponding to index, or nil if not found. --- intersect(caps) Creates a new Gst::Caps that contains all the formats that are @@ -85,7 +90,12 @@ structures are given, the caps will be empty. If you want a caps that is compatible with any media format, just create an empty caps, then call Gst::Caps#set_any. - * structures: a list of Gst::Structure objects. + * structures: a list of Hash objects. * Returns: a newly allocated Gst::Caps object. --- normalize