From: Laurent S. <lau...@gm...> - 2005-09-13 19:49:31
|
Hi Paul & Masao, On 8/27/05, Masao Mutoh <mu...@hi...> wrote: > > GStreamer >=20 > I hope Laurent reply GStreamer's comments below. >=20 > > * Add alias '>>' to Gst::Pad#link for symmetry with Gst::Element#link. > > (This might pose a problem though, because it is not chainable.) Good idea. > > * Add alias [](pad) to Gst::Element#get_pad(pad) Not a good idea because Gst::Bin#[] already exists, and Gst::Bin inherits from Gst::Element. > > * Alias Gst::Bin#each_element to Gst::Bin#each. Good idea. > > * Add Gst::Element.to_s. I do not see any descriptive function in the GstElement API to use.=20 If we create such a method what should we return? > > * Gst::Caps#get_structure but no Gst::Caps#structure I do not see the point there. We already have Gst::Caps#get_structure. We can not replace it with Gst::Caps#structure because it takes a parameter, then it violates the naming rules. > > * Some inspects of Gst::Pads are shown as #<#<Class:0x.....>>. >=20 This is a bug :) Please report it with a sample piece of code, so I can fi= x it. Thanks for the feedback! I will implement that for the next release. Laurent |