mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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.
This commit is contained in:
parent
7407326abb
commit
fa7e7d29a2
3 changed files with 13 additions and 4 deletions
|
@ -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>
|
2008-10-30 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
/**
|
/**
|
||||||
* SECTION:element-identity
|
* 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.
|
* 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;
|
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
|
if (identity->single_segment
|
||||||
&& (GST_EVENT_TYPE (event) == GST_EVENT_NEWSEGMENT)) {
|
&& (GST_EVENT_TYPE (event) == GST_EVENT_NEWSEGMENT)) {
|
||||||
|
|
|
@ -283,13 +283,14 @@ gst_type_find_element_dispose (GObject * object)
|
||||||
{
|
{
|
||||||
GstTypeFindElement *typefind = GST_TYPE_FIND_ELEMENT (object);
|
GstTypeFindElement *typefind = GST_TYPE_FIND_ELEMENT (object);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
|
||||||
|
|
||||||
if (typefind->store) {
|
if (typefind->store) {
|
||||||
gst_buffer_unref (typefind->store);
|
gst_buffer_unref (typefind->store);
|
||||||
typefind->store = NULL;
|
typefind->store = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_type_find_element_set_property (GObject * object, guint prop_id,
|
gst_type_find_element_set_property (GObject * object, guint prop_id,
|
||||||
const GValue * value, GParamSpec * pspec)
|
const GValue * value, GParamSpec * pspec)
|
||||||
|
|
Loading…
Reference in a new issue