summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-04-01 13:51:13 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-04-01 13:51:13 +0200
commit7173d4b1c237ff817dea7a60387b98828415ed3b (patch)
treefc028d12c17b4d63ed9970ab88f31656f9b8307c
parentdaa5b34d5f7f90041930e5fa18e82ee82f9eb74f (diff)
tagdemux: Remove unused variable
-rw-r--r--gst-libs/gst/tag/gsttagdemux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c
index 0840b3f51..fdc09b83c 100644
--- a/gst-libs/gst/tag/gsttagdemux.c
+++ b/gst-libs/gst/tag/gsttagdemux.c
@@ -314,8 +314,6 @@ gst_tag_demux_dispose (GObject * object)
static gboolean
gst_tag_demux_add_srcpad (GstTagDemux * tagdemux, GstCaps * new_caps)
{
- GstPad *srcpad = NULL;
-
if (tagdemux->priv->src_caps == NULL ||
!gst_caps_is_equal (new_caps, tagdemux->priv->src_caps)) {
@@ -332,7 +330,7 @@ gst_tag_demux_add_srcpad (GstTagDemux * tagdemux, GstCaps * new_caps)
}
if (tagdemux->priv->srcpad == NULL) {
- srcpad = tagdemux->priv->srcpad =
+ tagdemux->priv->srcpad =
gst_pad_new_from_template (gst_element_class_get_pad_template
(GST_ELEMENT_GET_CLASS (tagdemux), "src"), "src");
g_return_val_if_fail (tagdemux->priv->srcpad != NULL, FALSE);