mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ringbuffer: add more debug
This commit is contained in:
parent
42fad5a166
commit
70f01fd797
1 changed files with 2 additions and 2 deletions
|
@ -1612,8 +1612,8 @@ default_commit (GstRingBuffer * buf, guint64 * sample,
|
|||
diff = writeseg - segdone;
|
||||
|
||||
GST_DEBUG
|
||||
("pointer at %d, write to %d-%d, diff %d, segtotal %d, segsize %d",
|
||||
segdone, writeseg, sampleoff, diff, segtotal, segsize);
|
||||
("pointer at %d, write to %d-%d, diff %d, segtotal %d, segsize %d, base %d",
|
||||
segdone, writeseg, sampleoff, diff, segtotal, segsize, buf->segbase);
|
||||
|
||||
/* segment too far ahead, writer too slow, we need to drop, hopefully UNLIKELY */
|
||||
if (G_UNLIKELY (diff < 0)) {
|
||||
|
|
Loading…
Reference in a new issue