summaryrefslogtreecommitdiff
path: root/gst-libs/gst/adaptivedemux
diff options
context:
space:
mode:
authorJohn Chang <r97922153@gmail.com>2015-09-26 17:02:09 +0800
committerTim-Philipp Müller <tim@centricular.com>2015-09-29 14:43:07 +0100
commit40a63d27d86d3b1518946b60fdc2ed7fb3de2a7e (patch)
tree67c320e9db3fb437997f24ccfa35ee1d6801f833 /gst-libs/gst/adaptivedemux
parent54090176423f05faaf326efd421d2a996c75eb3e (diff)
downloadgstreamer-plugins-bad-40a63d27d86d3b1518946b60fdc2ed7fb3de2a7e.tar.gz
adaptivedemux: remove unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=755656
Diffstat (limited to 'gst-libs/gst/adaptivedemux')
-rw-r--r--gst-libs/gst/adaptivedemux/gstadaptivedemux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
index 9f74c658a..f3aabd313 100644
--- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
+++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
@@ -325,7 +325,6 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux,
GstAdaptiveDemuxClass * klass)
{
GstPadTemplate *pad_template;
- GstPad *pad;
GST_DEBUG_OBJECT (demux, "gst_adaptive_demux_init");
@@ -355,7 +354,7 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux,
gst_element_class_get_pad_template (GST_ELEMENT_CLASS (klass), "sink");
g_return_if_fail (pad_template != NULL);
- demux->sinkpad = pad = gst_pad_new_from_template (pad_template, "sink");
+ demux->sinkpad = gst_pad_new_from_template (pad_template, "sink");
gst_pad_set_event_function (demux->sinkpad,
GST_DEBUG_FUNCPTR (gst_adaptive_demux_sink_event));
gst_pad_set_chain_function (demux->sinkpad,