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
This commit is contained in:
Benjamin Otte 2004-08-03 16:06:09 +00:00
parent aa33b98698
commit c5d29a1b39
8 changed files with 66 additions and 25 deletions

View file

@ -1,3 +1,29 @@
2004-08-03 Benjamin Otte <otte@gnome.org>
* 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
2004-08-03 Benjamin Otte <otte@gnome.org>
* examples/dynparams/filter.c: (ui_control_create):

View file

@ -247,18 +247,16 @@ static void
gst_multipart_mux_pad_link (GstPad * pad, GstPad * peer, gpointer data)
{
//GstMultipartMux *multipart_mux = GST_MULTIPART_MUX (data);
const gchar *padname = gst_pad_get_name (pad);
GST_DEBUG ("pad '%s' connected", padname);
GST_DEBUG ("pad '%s' connected", gst_pad_get_name (padname));
}
static void
gst_multipart_mux_pad_unlink (GstPad * pad, GstPad * peer, gpointer data)
{
//GstMultipartMux *multipart_mux = GST_MULTIPART_MUX (data);
const gchar *padname = gst_pad_get_name (pad);
GST_DEBUG ("pad '%s' unlinked", padname);
GST_DEBUG ("pad '%s' unlinked", gst_pad_get_name (pad));
}
static GstPad *

View file

@ -285,11 +285,10 @@ gst_videobalance_colorbalance_set_value (GstColorBalance * balance,
GstColorBalanceChannel * channel, gint value)
{
GstVideobalance *vb = GST_VIDEOBALANCE (balance);
GstVideofilter *vf = GST_VIDEOFILTER (vb);
g_return_if_fail (vb != NULL);
g_return_if_fail (GST_IS_VIDEOBALANCE (vb));
g_return_if_fail (GST_IS_VIDEOFILTER (vf));
g_return_if_fail (GST_IS_VIDEOFILTER (vb));
g_return_if_fail (channel->label != NULL);
if (!g_ascii_strcasecmp (channel->label, "HUE")) {

View file

@ -301,18 +301,16 @@ static void
gst_videomixer_pad_link (GstPad * pad, GstPad * peer, gpointer data)
{
//GstVideoMixer *videomixer = GST_VIDEO_MIXER (data);
const gchar *padname = gst_pad_get_name (pad);
GST_DEBUG ("pad '%s' connected", padname);
GST_DEBUG ("pad '%s' connected", gst_pad_get_name (pad));
}
static void
gst_videomixer_pad_unlink (GstPad * pad, GstPad * peer, gpointer data)
{
//GstVideoMixer *videomixer = GST_VIDEO_MIXER (data);
const gchar *padname = gst_pad_get_name (pad);
GST_DEBUG ("pad '%s' unlinked", padname);
GST_DEBUG ("pad '%s' unlinked", gst_pad_get_name (pad));
}
static void

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gst-plugins 0.8.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-06-22 16:47+0200\n"
"POT-Creation-Date: 2004-08-03 17:41+0200\n"
"PO-Revision-Date: 2004-08-03 15:40+0200\n"
"Last-Translator: Maxim V. Dziumanenko <mvd@mylinux.com.ua>\n"
"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
@ -37,12 +37,14 @@ msgstr "Не вдається відкрити пристрій компакт-
#: ext/gnomevfs/gstgnomevfssrc.c:1067 ext/gnomevfs/gstgnomevfssrc.c:1090
#, c-format
msgid "Could not open vfs file \"%s\" for reading."
msgstr "Не вдається відкрити файл віртуальної файлової системи \"%s\" для читання."
msgstr ""
"Не вдається відкрити файл віртуальної файлової системи \"%s\" для читання."
#: ext/gnomevfs/gstgnomevfssink.c:344
#, c-format
msgid "Could not open vfs file \"%s\" for writing: %s."
msgstr "Не вдається відкрити файл віртуальної файлової системи \"%s\" для запису: %s."
msgstr ""
"Не вдається відкрити файл віртуальної файлової системи \"%s\" для запису: %s."
#: ext/gnomevfs/gstgnomevfssink.c:351
msgid "No filename given"
@ -66,6 +68,20 @@ msgstr "Не вдається записати у файл \"%s\"."
msgid "No or invalid input audio, AVI stream will be corrupt."
msgstr "Відсутній або неправильний вхід звуку, AVI потік буде пошкоджений."
#: gst-libs/gst/play/play.c:110
#, c-format
msgid ""
"The %s element could not be found. This element is essential for playback. "
"Please install the right plug-in and verify that it works by running 'gst-"
"inspect %s'"
msgstr ""
#: gst-libs/gst/play/play.c:139
msgid ""
"No usable colorspace element could be found.\n"
"Please install one and restart."
msgstr ""
#: sys/dxr3/dxr3audiosink.c:298
#, c-format
msgid "Could not open audio device \"%s\" for writing."
@ -111,33 +127,36 @@ msgstr "Не вдається закрити відео пристрій \"%s\".
msgid "Could not write to device \"%s\"."
msgstr "Не вдається записати у пристрій \"%s\"."
#: sys/oss/gstosselement.c:723
#: sys/oss/gstosselement.c:725
#, c-format
msgid "OSS device \"%s\" is already in use by another program."
msgstr "OSS пристрій \"%s\" вже використовується іншою програмою."
#: sys/oss/gstosselement.c:730 sys/oss/gstosselement.c:734
#: sys/oss/gstosselement.c:732 sys/oss/gstosselement.c:736
#, c-format
msgid "Could not access device \"%s\", check its permissions."
msgstr "Не вдається отримати доступ до пристрою \"%s\", перевірте права доступу до нього."
msgstr ""
"Не вдається отримати доступ до пристрою \"%s\", перевірте права доступу до "
"нього."
#: sys/oss/gstosselement.c:741 sys/v4l/v4l_calls.c:167
#: sys/oss/gstosselement.c:743 sys/v4l/v4l_calls.c:167
#, c-format
msgid "Device \"%s\" does not exist."
msgstr "Пристрій \"%s\" не існує."
#: sys/oss/gstosselement.c:748
#: sys/oss/gstosselement.c:750
#, c-format
msgid "Could not open device \"%s\" for writing."
msgstr "Не вдається відкрити пристрій \"%s\" для запису."
#: sys/oss/gstosselement.c:752
#: sys/oss/gstosselement.c:754
#, c-format
msgid "Could not open device \"%s\" for reading."
msgstr "Не вдається відкрити пристрій \"%s\" для читання."
#: sys/oss/gstosselement.c:1129
msgid "Your oss device could not be probed correctly"
#: sys/oss/gstosselement.c:1131
#, fuzzy
msgid "Your OSS device could not be probed correctly"
msgstr "Ваш OSS пристрій неможливо коректно перевірити"
#: sys/oss/gstossmixer.c:98

View file

@ -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;

View file

@ -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)
{

View file

@ -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)
{