[Bug 755656] remove zombie

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Sep 26 01:32:23 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755656

--- Comment #1 from John Chang <r97922153 at gmail.com> ---
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
index 9f74c65..f3aabd3 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,


I posted the diff here.
Also, BTW, does anyone give me a hand about how could I create a patch which is
visiable?
I am a newcomer & make the diff simply by "git diff > diff.patch" but it seems
to not visiable under Diff item...

Thanks

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list