Commit 919029d9 authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/playback/gstqueue2.c: Fix compilation.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_get_range):
Fix compilation.
parent 658fbf50
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 ...@@ -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 ...@@ -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); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment