mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
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.
This commit is contained in:
parent
d6825b358a
commit
721c97d438
4 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
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):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue