mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
queue2: remove var only used for debug statement
This commit is contained in:
parent
9b424b1570
commit
41e00e58e7
1 changed files with 2 additions and 3 deletions
|
@ -2062,11 +2062,10 @@ gst_queue2_is_filled (GstQueue2 * queue)
|
||||||
/* if using a ring buffer we're filled if all ring buffer space is used
|
/* if using a ring buffer we're filled if all ring buffer space is used
|
||||||
* _by the current range_ */
|
* _by the current range_ */
|
||||||
if (QUEUE_IS_USING_RING_BUFFER (queue)) {
|
if (QUEUE_IS_USING_RING_BUFFER (queue)) {
|
||||||
guint max_bytes = queue->max_level.bytes;
|
|
||||||
guint64 rb_size = queue->ring_buffer_max_size;
|
guint64 rb_size = queue->ring_buffer_max_size;
|
||||||
GST_DEBUG_OBJECT (queue,
|
GST_DEBUG_OBJECT (queue,
|
||||||
"max bytes %u, rb size %" G_GUINT64_FORMAT ", cur bytes %u", max_bytes,
|
"max bytes %u, rb size %" G_GUINT64_FORMAT ", cur bytes %u",
|
||||||
rb_size, queue->cur_level.bytes);
|
queue->max_level.bytes, rb_size, queue->cur_level.bytes);
|
||||||
return CHECK_FILLED (bytes, rb_size);
|
return CHECK_FILLED (bytes, rb_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue