diff --git a/ChangeLog b/ChangeLog index c76f2d0dea..da3f752a48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-24 Tim-Philipp Müller + + * libs/gst/base/gstdataqueue.c: + Eliminate tabs and trailing comma in enum list; fix some typos. + 2007-05-24 Wim Taymans * tests/check/gst/gstbin.c: (GST_START_TEST): diff --git a/libs/gst/base/gstdataqueue.c b/libs/gst/base/gstdataqueue.c index a9683ec056..5c009d4610 100644 --- a/libs/gst/base/gstdataqueue.c +++ b/libs/gst/base/gstdataqueue.c @@ -23,9 +23,9 @@ * SECTION:gstdataqueue * @short_description: Threadsafe queueing object * - * #GstDataQueue is an object that handles threadsafe queueing of object. It - * also provides size-related functionnality. This object should be used for - * any #GstElement that wishes to provide some sort of queueing functionnality. + * #GstDataQueue is an object that handles threadsafe queueing of objects. It + * also provides size-related functionality. This object should be used for + * any #GstElement that wishes to provide some sort of queueing functionality. */ #include @@ -49,43 +49,43 @@ enum ARG_0, ARG_CUR_LEVEL_VISIBLE, ARG_CUR_LEVEL_BYTES, - ARG_CUR_LEVEL_TIME, - /* FILL ME */ + ARG_CUR_LEVEL_TIME + /* FILL ME */ }; #define GST_DATA_QUEUE_MUTEX_LOCK(q) G_STMT_START { \ - GST_CAT_LOG (data_queue_dataflow, \ + GST_CAT_LOG (data_queue_dataflow, \ "locking qlock from thread %p", \ g_thread_self ()); \ g_mutex_lock (q->qlock); \ - GST_CAT_LOG (data_queue_dataflow, \ + GST_CAT_LOG (data_queue_dataflow, \ "locked qlock from thread %p", \ g_thread_self ()); \ } G_STMT_END -#define GST_DATA_QUEUE_MUTEX_LOCK_CHECK(q, label) G_STMT_START { \ - GST_DATA_QUEUE_MUTEX_LOCK (q); \ - if (q->flushing) \ - goto label; \ +#define GST_DATA_QUEUE_MUTEX_LOCK_CHECK(q, label) G_STMT_START { \ + GST_DATA_QUEUE_MUTEX_LOCK (q); \ + if (q->flushing) \ + goto label; \ } G_STMT_END #define GST_DATA_QUEUE_MUTEX_UNLOCK(q) G_STMT_START { \ - GST_CAT_LOG (data_queue_dataflow, \ + GST_CAT_LOG (data_queue_dataflow, \ "unlocking qlock from thread %p", \ g_thread_self ()); \ g_mutex_unlock (q->qlock); \ } G_STMT_END -#define STATUS(q, msg) \ - GST_CAT_LOG (data_queue_dataflow, \ - "queue:%p " msg ": %u visible items, %u " \ - "bytes, %"G_GUINT64_FORMAT \ - " ns, %u elements", \ - queue, \ - q->cur_level.visible, \ - q->cur_level.bytes, \ - q->cur_level.time, \ - q->queue->length) +#define STATUS(q, msg) \ + GST_CAT_LOG (data_queue_dataflow, \ + "queue:%p " msg ": %u visible items, %u " \ + "bytes, %"G_GUINT64_FORMAT \ + " ns, %u elements", \ + queue, \ + q->cur_level.visible, \ + q->cur_level.bytes, \ + q->cur_level.time, \ + q->queue->length) static void gst_data_queue_base_init (GstDataQueueClass * klass); static void gst_data_queue_class_init (GstDataQueueClass * klass);