Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_read):
If we are reading too slowly, jump forward in the ringbuffer
instead of blocking.
+2005-11-23 Wim Taymans <wim@fluendo.com>
+
+ * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_read):
+ If we are reading too slowly, jump forward in the ringbuffer
+ instead of blocking.
+
2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
* ext/libvisual/visual.c: (gst_visual_src_setcaps), (get_buffer),
if (diff > 0 && diff < segtotal)
break;
+ /* flush if diff has grown bigger than ringbuffer */
+ if (diff >= segtotal) {
+ gst_ring_buffer_clear_all (buf);
+ buf->segdone = readseg;
+ }
+
/* else we need to wait for the segment to become readable. */
if (!wait_segment (buf))
goto not_started;