summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJosep Torre Valles <josep@fluendo.com>2006-10-09 09:32:29 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2006-10-09 09:32:29 +0000
commit2f32e21d72de4946f8f4bdeff0fabbc27f808019 (patch)
tree297820be4101fc51744eeef9c7d862ad3c93b78b /plugins
parent0ca5590961783291957ef6f57e58f5b3d9806e4f (diff)
common/m4/gst-error.m4: Disable warning of statement not reached on Forte.
Original commit message from CVS: 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org> Patch by: Josep Torre Valles <josep@fluendo.com> * common/m4/gst-error.m4: Disable warning of statement not reached on Forte. * gst/gstmessage.h: Fix warning on Forte (value doesn't fit on enumeration). * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked): Fix warning on Forte (value doesn't fit on enumeration). * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread): DEBUG macro says it takes minimum of 2 args and so Forte complains about the use with just 1 arg. * plugins/elements/gstfdsink.c: * plugins/elements/gstfdsrc.c: * plugins/elements/gstfilesink.c: * plugins/elements/gstfilesrc.c: Use correct return type for the uri handler implementations. All these fix warnings in Forte. Fixes bug #360860.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstfdsink.c2
-rw-r--r--plugins/elements/gstfdsrc.c2
-rw-r--r--plugins/elements/gstfilesink.c2
-rw-r--r--plugins/elements/gstfilesrc.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/elements/gstfdsink.c b/plugins/elements/gstfdsink.c
index 1a8e66073..e9f398e3c 100644
--- a/plugins/elements/gstfdsink.c
+++ b/plugins/elements/gstfdsink.c
@@ -510,7 +510,7 @@ gst_fd_sink_get_property (GObject * object, guint prop_id, GValue * value,
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_fd_sink_uri_get_type (void)
{
return GST_URI_SINK;
diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c
index 77c5bd2e4..d3fa65555 100644
--- a/plugins/elements/gstfdsrc.c
+++ b/plugins/elements/gstfdsrc.c
@@ -447,7 +447,7 @@ could_not_stat:
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_fd_src_uri_get_type (void)
{
return GST_URI_SRC;
diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c
index e7d9f751a..5637539fb 100644
--- a/plugins/elements/gstfilesink.c
+++ b/plugins/elements/gstfilesink.c
@@ -508,7 +508,7 @@ gst_file_sink_stop (GstBaseSink * basesink)
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_file_sink_uri_get_type (void)
{
return GST_URI_SINK;
diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c
index 5010175e0..f450f60cf 100644
--- a/plugins/elements/gstfilesrc.c
+++ b/plugins/elements/gstfilesrc.c
@@ -1028,7 +1028,7 @@ gst_file_src_stop (GstBaseSrc * basesrc)
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_file_src_uri_get_type (void)
{
return GST_URI_SRC;