mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 23:46:45 +00:00
gst-libs/gst/audio/gstbaseaudiosink.c: Since we _parent the ringbuffer, we also need to _unparent instead of a plain ...
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_dispose): Since we _parent the ringbuffer, we also need to _unparent instead of a plain _unref.
This commit is contained in:
parent
97a3b710df
commit
747d560fb5
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-03-22 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||||
|
(gst_base_audio_sink_dispose):
|
||||||
|
Since we _parent the ringbuffer, we also need to
|
||||||
|
_unparent instead of a plain _unref.
|
||||||
|
|
||||||
2006-03-22 Wim Taymans <wim@fluendo.com>
|
2006-03-22 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* tests/examples/seek/seek.c: (end_scrub), (do_seek), (seek_cb),
|
* tests/examples/seek/seek.c: (end_scrub), (do_seek), (seek_cb),
|
||||||
|
|
|
@ -166,9 +166,10 @@ gst_base_audio_sink_dispose (GObject * object)
|
||||||
gst_object_unref (sink->provided_clock);
|
gst_object_unref (sink->provided_clock);
|
||||||
sink->provided_clock = NULL;
|
sink->provided_clock = NULL;
|
||||||
|
|
||||||
if (sink->ringbuffer)
|
if (sink->ringbuffer) {
|
||||||
gst_object_unref (sink->ringbuffer);
|
gst_object_unparent (GST_OBJECT_CAST (sink->ringbuffer));
|
||||||
sink->ringbuffer = NULL;
|
sink->ringbuffer = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue