From fa7e7d29a2285351b32d7a77c5e9b8ae4c3608ac Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 31 Oct 2008 08:53:27 +0000 Subject: [PATCH] plugins/elements/gstidentity.c: Doc typo. Use return value of parent_class->event. 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 | 8 ++++++++ plugins/elements/gstidentity.c | 4 ++-- plugins/elements/gsttypefindelement.c | 5 +++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 35f450e..7f0a1e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-10-31 Stefan Kost + + * 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 * docs/Makefile.am: diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index 5d62d82..98a54f6 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -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)) { diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index b7af318..7824cab 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -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) -- 2.7.4