gst-libs/gst/audio/: Add flushing mode to the ringbuffer so that it in all cases...
authorWim Taymans <wim.taymans@gmail.com>
Mon, 31 Oct 2005 10:30:41 +0000 (10:30 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 31 Oct 2005 10:30:41 +0000 (10:30 +0000)
commit09ca2ec93b534dc1415267a194f0f8b441342e78
tree98c4bc143bd461bb7c63481802d2bc71165e8949
parentc79b8321762ee8fe2231482a02e4ebaaa8fea4b7
gst-libs/gst/audio/: Add flushing mode to the ringbuffer so that it in all cases does not try to handle more audio. T...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_get_offset),
(gst_base_audio_sink_render):
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_open_device), (gst_ring_buffer_close_device),
(gst_ring_buffer_set_flushing), (gst_ring_buffer_start),
(gst_ring_buffer_pause_unlocked), (gst_ring_buffer_pause),
(gst_ring_buffer_stop), (wait_segment), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
* gst-libs/gst/audio/gstringbuffer.h:
Add flushing mode to the ringbuffer so that it in all cases does
not try to handle more audio. This makes sure it does not try to
block anymore when flushing and fixes a livelock.
ChangeLog
gst-libs/gst/audio/gstbaseaudiosink.c
gst-libs/gst/audio/gstringbuffer.c
gst-libs/gst/audio/gstringbuffer.h