From 5fd8ee2ea4302a476852b4b7b471747b0f738d68 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 13 Jan 2006 16:45:50 +0000 Subject: [PATCH] gst-libs/gst/audio/mixerutils.c: actually save the element we create Original commit message from CVS: * gst-libs/gst/audio/mixerutils.c: (gst_audio_mixer_filter_do_filter): actually save the element we create --- ChangeLog | 6 ++++++ docs/libs/tmpl/gstcolorbalance.sgml | 9 --------- gst-libs/gst/audio/mixerutils.c | 4 ++-- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index b2441e4..062d104 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-13 Thomas Vander Stichele + + * gst-libs/gst/audio/mixerutils.c: + (gst_audio_mixer_filter_do_filter): + actually save the element we create + 2006-01-12 Tim-Philipp Müller * gst-libs/gst/cdda/gstcddabasesrc.c: diff --git a/docs/libs/tmpl/gstcolorbalance.sgml b/docs/libs/tmpl/gstcolorbalance.sgml index ccb0ae2..7ac9f04 100644 --- a/docs/libs/tmpl/gstcolorbalance.sgml +++ b/docs/libs/tmpl/gstcolorbalance.sgml @@ -23,15 +23,6 @@ interface for adjusting color balance settings - - - - - -@gstcolorbalance: the object which received the signal. -@arg1: -@arg2: - diff --git a/gst-libs/gst/audio/mixerutils.c b/gst-libs/gst/audio/mixerutils.c index 9ffc9ac..5524ce6 100644 --- a/gst-libs/gst/audio/mixerutils.c +++ b/gst-libs/gst/audio/mixerutils.c @@ -47,9 +47,9 @@ gst_audio_mixer_filter_do_filter (GstAudioMixerFilterFunc filter_func, *p_element = NULL; } - /* create new element for further probing if the old one */ + /* create new element for further probing if the old one was cleared */ if (*p_element == NULL) { - gst_element_factory_create (factory, NULL); + *p_element = gst_element_factory_create (factory, NULL); } } -- 2.7.4