mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gst-libs/gst/audio/gstbaseaudiosrc.c: unparent instead of unref the ringbuffer.
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_get_time), (gst_base_audio_src_create), (gst_base_audio_src_change_state): unparent instead of unref the ringbuffer.
This commit is contained in:
parent
227474e464
commit
2df1088b3f
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-03-23 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||
(gst_base_audio_src_get_time), (gst_base_audio_src_create),
|
||||
(gst_base_audio_src_change_state):
|
||||
unparent instead of unref the ringbuffer.
|
||||
|
||||
2006-03-23 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||
|
|
|
@ -435,7 +435,7 @@ gst_base_audio_src_change_state (GstElement * element,
|
|||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||
gst_ring_buffer_close_device (src->ringbuffer);
|
||||
gst_object_unref (src->ringbuffer);
|
||||
gst_object_unparent (GST_OBJECT_CAST (src->ringbuffer));
|
||||
src->ringbuffer = NULL;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue