adaptivedemux: remove unused variable

https://bugzilla.gnome.org/show_bug.cgi?id=755656
This commit is contained in:
John Chang 2015-09-26 17:02:09 +08:00 committed by Tim-Philipp Müller
parent 5409017642
commit 40a63d27d8

View file

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