[gstreamer-bugs] [Bug 584913] Some elements have redundant api, e.g. GstBaseSink

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 8 07:06:11 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




------- Comment #2 from Maarten Bosmans  2009-06-08 14:06 UTC -------
Created an attachment (id=136147)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=136147&action=view)
Remove unnescessary properties from GstBase*

This patch changes the api as follows:

--- /tmp/gstreamer-sharp.old.dll.api    2009-06-08 16:04:56.703125000 +0200
+++ /tmp/gstreamer-sharp.dll.api        2009-06-08 16:04:58.875000000 +0200
@@ -182,6 +159,3 @@ public class BaseSink : Gst.Element {
        public bool Async {get;set;}
-       public bool AsyncEnabled {set;}
        public uint Blocksize {get;set;}
-       public bool IsAsyncEnabled {get;}
-       public bool IsQosEnabled {get;}
        public Gst.Buffer LastBuffer {get;}
@@ -191,3 +165,2 @@ public class BaseSink : Gst.Element {
        public bool Qos {get;set;}
-       public bool QosEnabled {set;}
        public ulong RenderDelay {get;set;}
@@ -226,4 +199,3 @@ public class BaseSrc : Gst.Element {
        public Gst.Format Format {set;}
-       public bool IsLive {get;}
-       public bool Live {set;}
+       public bool Live {get;set;}
        public int NumBuffers {get;set;}
@@ -261,9 +233,5 @@ public class BaseTransform : Gst.Element
        public bool GapAware {set;}
-       public bool InPlace {set;}
-       public bool IsInPlace {get;}
-       public bool IsPassthrough {get;}
-       public bool IsQosEnabled {get;}
-       public bool Passthrough {set;}
+       public bool InPlace {get;set;}
+       public bool Passthrough {get;set;}
        public bool Qos {get;set;}
-       public bool QosEnabled {set;}
 }


-- 
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