Commit 04757dd2 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

Fix minor compilation warnings shown with Forte.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_continue_func):
* libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
Fix minor compilation warnings shown with Forte.
parent 306d8831
2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
* gst/gstbin.c: (gst_bin_continue_func):
* libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
Fix minor compilation warnings shown with Forte.
2007-09-17 Wim Taymans <wim.taymans@gmail.com> 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
   
* plugins/elements/gstqueue.c: (apply_buffer), * plugins/elements/gstqueue.c: (apply_buffer),
......
...@@ -2338,7 +2338,8 @@ static void ...@@ -2338,7 +2338,8 @@ static void
gst_bin_continue_func (BinContinueData * data) gst_bin_continue_func (BinContinueData * data)
{ {
GstBin *bin; GstBin *bin;
GstState current, next, pending, transition; GstState current, next, pending;
GstStateChange transition;
GstStateChangeReturn ret; GstStateChangeReturn ret;
bin = data->bin; bin = data->bin;
......
...@@ -1519,7 +1519,7 @@ gst_base_src_do_sync (GstBaseSrc * basesrc, GstBuffer * buffer) ...@@ -1519,7 +1519,7 @@ gst_base_src_do_sync (GstBaseSrc * basesrc, GstBuffer * buffer)
GstBaseSrcClass *bclass; GstBaseSrcClass *bclass;
GstClockTime base_time; GstClockTime base_time;
GstClock *clock; GstClock *clock;
GstClockTime now = -1, timestamp; GstClockTime now = GST_CLOCK_TIME_NONE, timestamp;
gboolean do_timestamp, first, pseudo_live; gboolean do_timestamp, first, pseudo_live;
bclass = GST_BASE_SRC_GET_CLASS (basesrc); bclass = GST_BASE_SRC_GET_CLASS (basesrc);
......
...@@ -313,7 +313,7 @@ gst_collect_pads_add_pad_full (GstCollectPads * pads, GstPad * pad, guint size, ...@@ -313,7 +313,7 @@ gst_collect_pads_add_pad_full (GstCollectPads * pads, GstPad * pad, guint size,
/* FIXME: Ugly hack as we can't add more fields to GstCollectData */ /* FIXME: Ugly hack as we can't add more fields to GstCollectData */
g_object_set_data (G_OBJECT (pad), "gst-collect-data-destroy-notify", g_object_set_data (G_OBJECT (pad), "gst-collect-data-destroy-notify",
destroy_notify); (void *) destroy_notify);
GST_COLLECT_PADS_PAD_LOCK (pads); GST_COLLECT_PADS_PAD_LOCK (pads);
GST_OBJECT_LOCK (pad); GST_OBJECT_LOCK (pad);
......
...@@ -705,7 +705,7 @@ gst_multi_queue_loop (GstPad * pad) ...@@ -705,7 +705,7 @@ gst_multi_queue_loop (GstPad * pad)
GstMultiQueue *mq; GstMultiQueue *mq;
GstMiniObject *object; GstMiniObject *object;
guint32 newid; guint32 newid;
guint32 oldid = -1; guint32 oldid = G_MAXUINT32;
GstFlowReturn result; GstFlowReturn result;
sq = (GstSingleQueue *) gst_pad_get_element_private (pad); sq = (GstSingleQueue *) gst_pad_get_element_private (pad);
......
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