souphttpsink: don't create unused second sink pad object
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 23 Sep 2011 15:39:46 +0000 (16:39 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 23 Sep 2011 15:39:46 +0000 (16:39 +0100)
The base class will create the sink pad.

ext/soup/gstsouphttpsink.c
ext/soup/gstsouphttpsink.h

index 2de51d8..ff525c6 100644 (file)
@@ -200,10 +200,6 @@ gst_soup_http_sink_init (GstSoupHttpSink * souphttpsink,
 {
   const char *proxy;
 
-  souphttpsink->sinkpad =
-      gst_pad_new_from_static_template (&gst_soup_http_sink_sink_template,
-      "sink");
-
   souphttpsink->mutex = g_mutex_new ();
   souphttpsink->cond = g_cond_new ();
 
index f782729..0cf98d0 100644 (file)
@@ -38,8 +38,6 @@ struct _GstSoupHttpSink
 {
   GstBaseSink base_souphttpsink;
 
-  GstPad *sinkpad;
-
   GMutex *mutex;
   GCond *cond;
   GMainContext *context;