summaryrefslogtreecommitdiffstats
path: root/gst/icydemux/gsticydemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/icydemux/gsticydemux.c')
-rw-r--r--gst/icydemux/gsticydemux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/icydemux/gsticydemux.c b/gst/icydemux/gsticydemux.c
index 234f3f80..d857e2ca 100644
--- a/gst/icydemux/gsticydemux.c
+++ b/gst/icydemux/gsticydemux.c
@@ -234,8 +234,6 @@ gst_icydemux_dispose (GObject * object)
static gboolean
gst_icydemux_add_srcpad (GstICYDemux * icydemux, GstCaps * new_caps)
{
- GstPad *srcpad = NULL;
-
if (icydemux->src_caps == NULL ||
!gst_caps_is_equal (new_caps, icydemux->src_caps)) {
gst_caps_replace (&(icydemux->src_caps), new_caps);
@@ -251,7 +249,7 @@ gst_icydemux_add_srcpad (GstICYDemux * icydemux, GstCaps * new_caps)
}
if (icydemux->srcpad == NULL) {
- srcpad = icydemux->srcpad =
+ icydemux->srcpad =
gst_pad_new_from_template (gst_element_class_get_pad_template
(GST_ELEMENT_GET_CLASS (icydemux), "src"), "src");
g_return_val_if_fail (icydemux->srcpad != NULL, FALSE);