mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 13:38:48 +00:00
gst-libs/gst/audio/gstbaseaudiosrc.c: Fix audio sources, forgot to make the ringbuffer startable...
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): Fix audio sources, forgot to make the ringbuffer startable...
This commit is contained in:
parent
2df1088b3f
commit
4df07064b8
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
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):
|
||||
Fix audio sources, forgot to make the ringbuffer
|
||||
startable...
|
||||
|
||||
2006-03-23 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||
|
|
|
@ -417,6 +417,7 @@ gst_base_audio_src_change_state (GstElement * element,
|
|||
gst_ring_buffer_set_flushing (src->ringbuffer, FALSE);
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
||||
gst_ring_buffer_may_start (src->ringbuffer, TRUE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -426,6 +427,7 @@ gst_base_audio_src_change_state (GstElement * element,
|
|||
|
||||
switch (transition) {
|
||||
case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
|
||||
gst_ring_buffer_may_start (src->ringbuffer, FALSE);
|
||||
gst_ring_buffer_pause (src->ringbuffer);
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
|
|
Loading…
Reference in a new issue