gnomemm r1417 - in gstreamermm/trunk: . gstreamer/src



Author: jaalburqu
Date: Mon Mar 24 19:40:17 2008
New Revision: 1417
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1417&view=rev

Log:
2008-03-24  Josà Alburquerque  <jaalburqu svn gnome org>

	* gstreamer/src/bus.hg: Corrected class docs typo

	* gstreamer/src/caps.hg:
	* gstreamer/src/structure.hg: Renamed is_empty() and get_size() methods
	to empty() and size() (which is compatible with C++ STL names); Also
	renamed is_equal..() methods (in caps.hg) to equals..()

	* gstreamer/src/value.hg: Corrected class docs to have a short single
	line intro statement and then the explanation

Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/gstreamer/src/bus.hg
   gstreamermm/trunk/gstreamer/src/caps.hg
   gstreamermm/trunk/gstreamer/src/structure.hg
   gstreamermm/trunk/gstreamer/src/value.hg

Modified: gstreamermm/trunk/gstreamer/src/bus.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/bus.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/bus.hg	Mon Mar 24 19:40:17 2008
@@ -34,7 +34,7 @@
 
 //TODO: Correct C API reference in class docs below:
 
-/** GstBus â Asynchronous message bus subsystem.
+/** Bus â Asynchronous message bus subsystem.
  * The Bus is an object responsible for delivering Messages in a first-in
  * first-out way from the streaming threads to the application.
  *

Modified: gstreamermm/trunk/gstreamer/src/caps.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/caps.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/caps.hg	Mon Mar 24 19:40:17 2008
@@ -105,7 +105,7 @@
   const Structure* get_structure(guint idx) const;
 
   _WRAP_METHOD(void remove_structure(guint idx), gst_caps_remove_structure)
-  _WRAP_METHOD(guint get_size() const, gst_caps_get_size)
+  _WRAP_METHOD(guint size() const, gst_caps_get_size)
 
   /** Sets a fields in a simple Caps. A simple Caps is one that only has one
    * structure.
@@ -118,10 +118,10 @@
   _WRAP_METHOD(void set_simple_valist(char* field, const va_list& varargs), gst_caps_set_simple_valist)
 
   _WRAP_METHOD(bool is_any() const, gst_caps_is_any)
-  _WRAP_METHOD(bool is_empty() const, gst_caps_is_empty)
+  _WRAP_METHOD(bool empty() const, gst_caps_is_empty)
   _WRAP_METHOD(bool is_fixed() const, gst_caps_is_fixed)
-  _WRAP_METHOD(bool is_equal(const Glib::RefPtr<Caps>& other_caps) const, gst_caps_is_equal)
-  _WRAP_METHOD(bool is_equal_fixed(const Glib::RefPtr<Caps>& other_caps) const, gst_caps_is_equal_fixed)
+  _WRAP_METHOD(bool equals(const Glib::RefPtr<Caps>& other_caps) const, gst_caps_is_equal)
+  _WRAP_METHOD(bool equals_fixed(const Glib::RefPtr<Caps>& other_caps) const, gst_caps_is_equal_fixed)
   _WRAP_METHOD(bool is_always_compatible(const Glib::RefPtr<Caps>& other_caps) const, gst_caps_is_always_compatible)
   _WRAP_METHOD(bool is_subset(const Glib::RefPtr<Caps>& superset_caps) const, gst_caps_is_subset)
   _WRAP_METHOD(Glib::RefPtr<Caps> get_intersect(const Glib::RefPtr<Caps>& other_caps) const, gst_caps_intersect)

Modified: gstreamermm/trunk/gstreamer/src/structure.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/structure.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/structure.hg	Mon Mar 24 19:40:17 2008
@@ -102,7 +102,7 @@
 
   bool foreach(const SlotForeach& slot);
 
-  _WRAP_METHOD(int get_size() const, gst_structure_n_fields)
+  _WRAP_METHOD(int size() const, gst_structure_n_fields)
   _WRAP_METHOD(bool has_field(const Glib::ustring& fieldname) const, gst_structure_has_field)
   _WRAP_METHOD(bool has_field(const Glib::ustring& fieldname, GType type) const, gst_structure_has_field_typed)
 

Modified: gstreamermm/trunk/gstreamer/src/value.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/value.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/value.hg	Mon Mar 24 19:40:17 2008
@@ -27,12 +27,12 @@
 namespace Gst
 {
 
-/** Represents a 4 byte identifier (used in codecs) for use to store in
- * Structures of Caps as a value representing a property (see GStreamer
- * Application Development Manual section 8.2.2 and GstValue docs for
- * explanation).  When the value is set, it is transformed to a GStreamer GType
- * so retrieving the value is a bit different.  The class can be used in
- * setting and getting a Structure's field like so:
+/** Represents a 4 byte identifier (used in codecs).
+ * Fourcc is used to store a four byte identifier in Structures of Caps as a
+ * value representing a property (see GStreamer Application Development Manual
+ * section 8.2.2 and GstValue docs).  When the value is set, it is transformed
+ * to a GStreamer GType so retrieving the value is a bit different.  The class
+ * can be used in setting and getting a Structure's field like so:
  *
  * @code
  * Glib::Value<Gst::Fourcc> value;
@@ -93,12 +93,12 @@
   void get_ccs(guint32 fourcc);
 };
 
-/** Represents a fraction for use to store in Structures of Caps as a value
+/** Represents a fraction.
+ * Fraction is used to store a fraction in Structures of Caps as a value
  * representing a property (see GStreamer Application Development Manual
- * section 8.2.2 and GstValue docs for explanation).  When the value is set, it
- * is transformed to a GStreamer GType so retrieving the value is a bit
- * different.  The class can be used in setting and getting a Structure's field
- * like so:
+ * section 8.2.2 and GstValue docs).  When the value is set, it is transformed
+ * to a GStreamer GType so retrieving the value is a bit different.  The class
+ * can be used in setting and getting a Structure's field like so:
  *
  * @code
  * Glib::Value<Gst::Fraction> value;
@@ -139,12 +139,12 @@
   int denom;
 };
 
-/** Represents an integer range (min - max) for use to store in Structures of
- * Caps as a value representing a property (see GStreamer Application
- * Development Manual section 8.2.2 and GstValue docs for explanation).  When
- * the value is set, it is transformed to a GStreamer GType so retrieving the
- * value is a bit different.  The class can be used in setting and getting a
- * Structure's field like so:
+/** Represents an integer range (min - max).
+ * IntRange is used to store an integer range in Structures of Caps as a value
+ * representing a property (see GStreamer Application Development Manual
+ * section 8.2.2 and GstValue docs).  When the value is set, it is transformed
+ * to a GStreamer GType so retrieving the value is a bit different.  The class
+ * can be used in setting and getting a Structure's field like so:
  *
  * @code
  * Glib::Value<Gst::IntRange> value;
@@ -185,11 +185,12 @@
   int max;
 };
 
-/** Represents a double range (min - max) for use to store in Structures of
- * Caps as a value representing a property (see GStreamer Application
- * Development Manual section 8.2.2 and GstValue docs for explanation).  When
- * the value is set, it is transformed to a GStreamer GType so retrieving the
- * value is a bit different.  The class can be used in setting and getting a
+/** Represents a double range (min - max).
+ * DoubleRange is used to use to store a double precision floating point range
+ * in Structures of Caps as a value representing a property (see GStreamer
+ * Application Development Manual section 8.2.2 and GstValue docs).  When the
+ * value is set, it is transformed to a GStreamer GType so retrieving the value
+ * is a bit different.  The class can be used in setting and getting a
  * Structure's field like so:
  *
  * @code
@@ -231,12 +232,12 @@
   double max;
 };
 
-/** Represents a fractional range for use to store in Structures of Caps as a
+/** Represents a fractional range.
+ * FractionRange is used to store a fractional range in Structures of Caps as a
  * value representing a property (see GStreamer Application Development Manual
- * section 8.2.2 and GstValue docs for explanation).  When the value is set, it
- * is transformed to a GStreamer GType so retrieving the value is a bit
- * different.  The class can be used in setting and getting a Structure's field
- * like so:
+ * section 8.2.2 and GstValue docs).  When the value is set, it is transformed
+ * to a GStreamer GType so retrieving the value is a bit different.  The class
+ * can be used in setting and getting a Structure's field like so:
  *
  * @code
  * Glib::Value<Gst::FractionRange> value;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]