diff --git a/gst-libs/gst/audio/gstaudioringbuffer.c b/gst-libs/gst/audio/gstaudioringbuffer.c index 9bcfb2bbe9..049416187f 100644 --- a/gst-libs/gst/audio/gstaudioringbuffer.c +++ b/gst-libs/gst/audio/gstaudioringbuffer.c @@ -685,6 +685,7 @@ gst_audio_ring_buffer_release (GstAudioRingBuffer * buf) goto release_failed; g_atomic_int_set (&buf->segdone, 0); + buf->segbase = 0; g_free (buf->empty_seg); buf->empty_seg = NULL; gst_caps_replace (&buf->spec.caps, NULL);