mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
gst-libs/gst/audio/gstbaseaudiosrc.c: Fix the audiosrc base class again, we did not unflush.
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_change_state): Fix the audiosrc base class again, we did not unflush.
This commit is contained in:
parent
e76252cd21
commit
9edbf81fd2
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-11-17 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||||
|
(gst_base_audio_src_change_state):
|
||||||
|
Fix the audiosrc base class again, we did not unflush.
|
||||||
|
|
||||||
2005-11-17 Julien MOUTTE <julien@moutte.net>
|
2005-11-17 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
* examples/seeking/seek.c: (make_dv_pipeline),
|
* examples/seeking/seek.c: (make_dv_pipeline),
|
||||||
|
|
|
@ -396,6 +396,7 @@ gst_base_audio_src_change_state (GstElement * element,
|
||||||
src->next_sample = 0;
|
src->next_sample = 0;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||||
|
gst_ring_buffer_set_flushing (src->ringbuffer, FALSE);
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
||||||
break;
|
break;
|
||||||
|
@ -410,6 +411,7 @@ gst_base_audio_src_change_state (GstElement * element,
|
||||||
gst_ring_buffer_pause (src->ringbuffer);
|
gst_ring_buffer_pause (src->ringbuffer);
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||||
|
gst_ring_buffer_set_flushing (src->ringbuffer, TRUE);
|
||||||
gst_ring_buffer_release (src->ringbuffer);
|
gst_ring_buffer_release (src->ringbuffer);
|
||||||
src->next_sample = 0;
|
src->next_sample = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue