Commit 721c97d4 authored by Andy Wingo Wingo's avatar Andy Wingo Wingo
Browse files

gst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_clear)

Original commit message from CVS:
2005-10-02  Andy Wingo  <wingo@pobox.com>

* gst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_clear)
(gst_ring_buffer_prepare_read):
* gst-libs/gst/audio/gstaudiosink.c (audioringbuffer_thread_func):
Demote to LOG.
parent d6825b35
2005-10-02 Andy Wingo <wingo@pobox.com>
* gst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_clear)
(gst_ring_buffer_prepare_read):
* gst-libs/gst/audio/gstaudiosink.c (audioringbuffer_thread_func):
Demote to LOG.
2005-09-29 Wim Taymans <wim@fluendo.com>
 
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer):
......
common @ 7d175466
Subproject commit e6246e87e86c75b2c9c00d0748f0cd2332295eaa
Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634
......@@ -174,7 +174,7 @@ audioringbuffer_thread_func (GstRingBuffer * buf)
left = len;
do {
written = writefunc (sink, readptr + written, left);
GST_DEBUG ("transfered %d bytes of %d from segment %d", written, left,
GST_LOG ("transfered %d bytes of %d from segment %d", written, left,
readseg);
if (written < 0 || written > left) {
GST_WARNING ("error writing data (reason: %s), skipping segment\n",
......
......@@ -1147,7 +1147,7 @@ gst_ring_buffer_prepare_read (GstRingBuffer * buf, gint * segment,
if (buf->callback)
buf->callback (buf, *readptr, *len, buf->cb_data);
GST_DEBUG ("prepare read from segment %d (real %d) @%p",
GST_LOG ("prepare read from segment %d (real %d) @%p",
*segment, segdone, *readptr);
return TRUE;
......@@ -1204,7 +1204,7 @@ gst_ring_buffer_clear (GstRingBuffer * buf, gint segment)
data = GST_BUFFER_DATA (buf->data);
data += (segment % buf->spec.segtotal) * buf->spec.segsize;
GST_DEBUG ("clear segment %d @%p", segment, data);
GST_LOG ("clear segment %d @%p", segment, data);
memcpy (data, buf->empty_seg, buf->spec.segsize);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment