[gstreamer-bugs] [Bug 584913] New: Some elements have redundant api, e.g. GstBaseSink
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Jun 5 04:58:42 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=584913
GStreamer | gst-sharp | Ver: git
Summary: Some elements have redundant api, e.g. GstBaseSink
Product: GStreamer
Version: git
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-sharp
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: mkbosmans at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Some elements, like Gst.Base.BaseSink have multiple ways of setting/getting
properties.
For example there is the Qos property and the IsQosEnabled and SetQosEnabled
methods. I propose to remove the methods and keep the property by adding the
following lines to Gstreamer.metadata:
+ <attr
path="/api/namespace/object[@cname='GstBaseSink']/method[@cname='gst_base_sink_is_qos_enabled']"
name="hidden">1</attr>
+ <attr
path="/api/namespace/object[@cname='GstBaseSink']/method[@cname='gst_base_sink_set_qos_enabled']"
name="hidden">1</attr>
Somewhat similarly, on Gst.Base.BaseSrc there is a writeonly Live property and
a readonly IsLive property. I propose to merge them with the following addition
to Gstreamer.metadata:
+ <attr
path="/api/namespace/object[@cname='GstBaseSrc']/method[@name='IsLive']"
name="name">GetLive</attr>
If you agree with these proposals, I can make a patch for all similar cases in
gstreamer-sharp.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=584913.
More information about the Gstreamer-bugs
mailing list