mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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>
|
||||
|
||||
* 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);
|
||||
sink->provided_clock = NULL;
|
||||
|
||||
if (sink->ringbuffer)
|
||||
gst_object_unref (sink->ringbuffer);
|
||||
sink->ringbuffer = NULL;
|
||||
if (sink->ringbuffer) {
|
||||
gst_object_unparent (GST_OBJECT_CAST (sink->ringbuffer));
|
||||
sink->ringbuffer = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue