summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/multipart/multipartmux.c6
-rw-r--r--gst/videofilter/gstvideobalance.c3
-rw-r--r--gst/videomixer/videomixer.c6
3 files changed, 5 insertions, 10 deletions
diff --git a/gst/multipart/multipartmux.c b/gst/multipart/multipartmux.c
index fa5e7d46..095b25fd 100644
--- a/gst/multipart/multipartmux.c
+++ b/gst/multipart/multipartmux.c
@@ -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 *
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c
index 6d75abdb..66e45d12 100644
--- a/gst/videofilter/gstvideobalance.c
+++ b/gst/videofilter/gstvideobalance.c
@@ -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")) {
diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c
index 685cd25e..6cf4b17e 100644
--- a/gst/videomixer/videomixer.c
+++ b/gst/videomixer/videomixer.c
@@ -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