summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2004-08-03 16:06:09 +0000
committerBenjamin Otte <otte@gnome.org>2004-08-03 16:06:09 +0000
commitc5d29a1b39ace107ae66a76982d73ca7c326cf31 (patch)
treebec8a4ec82c8feec5fa45715b02fc48dcf44f5fe /sys
parentaa33b986980bee2354611e1df8a3f5380f2f6507 (diff)
compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
Original commit message from CVS: * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option): * ext/dvdnav/dvdnavsrc.c: (dvdnav_get_event_name), (dvdnavsrc_print_event): * ext/ogg/gstoggdemux.c: (_find_chain_process), (gst_ogg_print): * ext/ogg/gstoggmux.c: (gst_ogg_mux_pad_link), (gst_ogg_mux_pad_unlink): * gst/multipart/multipartmux.c: (gst_multipart_mux_pad_link), (gst_multipart_mux_pad_unlink): * gst/videofilter/gstvideobalance.c: (gst_videobalance_colorbalance_set_value): * gst/videomixer/videomixer.c: (gst_videomixer_pad_link), (gst_videomixer_pad_unlink): * po/uk.po: * sys/oss/gstossmixer.c: * sys/v4l/gstv4lcolorbalance.c: * sys/v4l/gstv4ltuner.c: * sys/v4l/v4lsrc_calls.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2tuner.c: compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
Diffstat (limited to 'sys')
-rw-r--r--sys/oss/gstossmixer.c3
-rw-r--r--sys/v4l2/gstv4l2colorbalance.c2
-rw-r--r--sys/v4l2/gstv4l2tuner.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/sys/oss/gstossmixer.c b/sys/oss/gstossmixer.c
index 0ee0ee10..b54268fb 100644
--- a/sys/oss/gstossmixer.c
+++ b/sys/oss/gstossmixer.c
@@ -264,7 +264,8 @@ gst_ossmixer_supported (GstImplementsInterface * iface, GType iface_type)
return (GST_OSSELEMENT (iface)->mixer_fd != -1);
}
-static gboolean
+/* unused with G_DISABLE_* */
+static G_GNUC_UNUSED gboolean
gst_ossmixer_contains_track (GstOssElement * oss, GstOssMixerTrack * osstrack)
{
const GList *item;
diff --git a/sys/v4l2/gstv4l2colorbalance.c b/sys/v4l2/gstv4l2colorbalance.c
index db53d7f9..9c2cfa2c 100644
--- a/sys/v4l2/gstv4l2colorbalance.c
+++ b/sys/v4l2/gstv4l2colorbalance.c
@@ -93,7 +93,7 @@ gst_v4l2_color_balance_interface_init (GstColorBalanceClass * klass)
klass->get_value = gst_v4l2_color_balance_get_value;
}
-static gboolean
+static G_GNUC_UNUSED gboolean
gst_v4l2_color_balance_contains_channel (GstV4l2Element * v4l2element,
GstV4l2ColorBalanceChannel * v4l2channel)
{
diff --git a/sys/v4l2/gstv4l2tuner.c b/sys/v4l2/gstv4l2tuner.c
index 79e3214b..353cbb1c 100644
--- a/sys/v4l2/gstv4l2tuner.c
+++ b/sys/v4l2/gstv4l2tuner.c
@@ -166,7 +166,7 @@ gst_v4l2_tuner_is_sink (GstV4l2Element * v4l2element)
return (dir == GST_PAD_SINK);
}
-static gboolean
+static G_GNUC_UNUSED gboolean
gst_v4l2_tuner_contains_channel (GstV4l2Element * v4l2element,
GstV4l2TunerChannel * v4l2channel)
{
@@ -229,7 +229,7 @@ gst_v4l2_tuner_get_channel (GstTuner * mixer)
return NULL;
}
-static gboolean
+static G_GNUC_UNUSED gboolean
gst_v4l2_tuner_contains_norm (GstV4l2Element * v4l2element,
GstV4l2TunerNorm * v4l2norm)
{