plugins/elements/gstidentity.c: Doc typo. Use return value of parent_class->event.
authorStefan Kost <ensonic@users.sourceforge.net>
Fri, 31 Oct 2008 08:53:27 +0000 (08:53 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 31 Oct 2008 08:53:27 +0000 (08:53 +0000)
Original commit message from CVS:
* plugins/elements/gstidentity.c:
Doc typo. Use return value of parent_class->event.
* plugins/elements/gsttypefindelement.c:
Chain up at the end for consistency.

ChangeLog
plugins/elements/gstidentity.c
plugins/elements/gsttypefindelement.c

index 35f450e..7f0a1e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-10-31  Stefan Kost  <ensonic@users.sf.net>
+
+       * plugins/elements/gstidentity.c:
+         Doc typo. Use return value of parent_class->event.
+  
+       * plugins/elements/gsttypefindelement.c:
+         Chain up at the end for consistency.
+  
 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
 
        * docs/Makefile.am:
index 5d62d82..98a54f6 100644 (file)
@@ -23,7 +23,7 @@
 /**
  * SECTION:element-identity
  *
- * Dummy element that passes incomming data through unmodified. I has some
+ * Dummy element that passes incomming data through unmodified. It has some
  * useful diagnostic functions, such as offset and timestamp checking.
  */
 
@@ -347,7 +347,7 @@ gst_identity_event (GstBaseTransform * trans, GstEvent * event)
     identity->prev_offset = identity->prev_offset_end = GST_BUFFER_OFFSET_NONE;
   }
 
-  GST_BASE_TRANSFORM_CLASS (parent_class)->event (trans, event);
+  ret = parent_class->event (trans, event);
 
   if (identity->single_segment
       && (GST_EVENT_TYPE (event) == GST_EVENT_NEWSEGMENT)) {
index b7af318..7824cab 100644 (file)
@@ -283,13 +283,14 @@ gst_type_find_element_dispose (GObject * object)
 {
   GstTypeFindElement *typefind = GST_TYPE_FIND_ELEMENT (object);
 
-  G_OBJECT_CLASS (parent_class)->dispose (object);
-
   if (typefind->store) {
     gst_buffer_unref (typefind->store);
     typefind->store = NULL;
   }
+
+  G_OBJECT_CLASS (parent_class)->dispose (object);
 }
+
 static void
 gst_type_find_element_set_property (GObject * object, guint prop_id,
     const GValue * value, GParamSpec * pspec)