mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
gst/playback/gstqueue2.c: Fix compilation.
Original commit message from CVS: * gst/playback/gstqueue2.c: (gst_queue_get_range): Fix compilation.
This commit is contained in:
parent
658fbf5039
commit
919029d9c5
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-06-07 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/playback/gstqueue2.c: (gst_queue_get_range):
|
||||||
|
Fix compilation.
|
||||||
|
|
||||||
2007-06-06 Wim Taymans <wim@fluendo.com>
|
2007-06-06 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
Patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>
|
Patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>
|
||||||
|
|
|
@ -208,7 +208,7 @@ struct _GstQueueClass
|
||||||
GST_CAT_LOG_OBJECT (queue_dataflow, queue, \
|
GST_CAT_LOG_OBJECT (queue_dataflow, queue, \
|
||||||
"(%s:%s) " msg ": %u of %u buffers, %u of %u " \
|
"(%s:%s) " msg ": %u of %u buffers, %u of %u " \
|
||||||
"bytes, %" G_GUINT64_FORMAT " of %" G_GUINT64_FORMAT \
|
"bytes, %" G_GUINT64_FORMAT " of %" G_GUINT64_FORMAT \
|
||||||
" ns, %u items", \
|
" ns, %"G_GUINT64_FORMAT" items", \
|
||||||
GST_DEBUG_PAD_NAME (pad), \
|
GST_DEBUG_PAD_NAME (pad), \
|
||||||
queue->cur_level.buffers, \
|
queue->cur_level.buffers, \
|
||||||
queue->max_level.buffers, \
|
queue->max_level.buffers, \
|
||||||
|
@ -216,9 +216,9 @@ struct _GstQueueClass
|
||||||
queue->max_level.bytes, \
|
queue->max_level.bytes, \
|
||||||
queue->cur_level.time, \
|
queue->cur_level.time, \
|
||||||
queue->max_level.time, \
|
queue->max_level.time, \
|
||||||
QUEUE_IS_USING_TEMP_FILE(queue) ? \
|
(guint64) (QUEUE_IS_USING_TEMP_FILE(queue) ? \
|
||||||
queue->writing_pos - queue->reading_pos : \
|
queue->writing_pos - queue->reading_pos : \
|
||||||
queue->queue->length)
|
queue->queue->length))
|
||||||
|
|
||||||
#define GST_QUEUE_MUTEX_LOCK(q) G_STMT_START { \
|
#define GST_QUEUE_MUTEX_LOCK(q) G_STMT_START { \
|
||||||
g_mutex_lock (q->qlock); \
|
g_mutex_lock (q->qlock); \
|
||||||
|
|
Loading…
Reference in a new issue