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:
Wim Taymans 2007-06-07 09:11:27 +00:00
parent 658fbf5039
commit 919029d9c5
2 changed files with 8 additions and 3 deletions

View file

@ -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>
Patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>

View file

@ -208,7 +208,7 @@ struct _GstQueueClass
GST_CAT_LOG_OBJECT (queue_dataflow, queue, \
"(%s:%s) " msg ": %u of %u buffers, %u of %u " \
"bytes, %" G_GUINT64_FORMAT " of %" G_GUINT64_FORMAT \
" ns, %u items", \
" ns, %"G_GUINT64_FORMAT" items", \
GST_DEBUG_PAD_NAME (pad), \
queue->cur_level.buffers, \
queue->max_level.buffers, \
@ -216,9 +216,9 @@ struct _GstQueueClass
queue->max_level.bytes, \
queue->cur_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->queue->length)
queue->queue->length))
#define GST_QUEUE_MUTEX_LOCK(q) G_STMT_START { \
g_mutex_lock (q->qlock); \