From be7cbd4c21c72d758e9d8b006712872cc1a09765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 23 Sep 2011 16:39:46 +0100 Subject: [PATCH] souphttpsink: don't create unused second sink pad object The base class will create the sink pad. --- ext/soup/gstsouphttpsink.c | 4 ---- ext/soup/gstsouphttpsink.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/ext/soup/gstsouphttpsink.c b/ext/soup/gstsouphttpsink.c index 2de51d867f..ff525c624c 100644 --- a/ext/soup/gstsouphttpsink.c +++ b/ext/soup/gstsouphttpsink.c @@ -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 (); diff --git a/ext/soup/gstsouphttpsink.h b/ext/soup/gstsouphttpsink.h index f78272946e..0cf98d0a01 100644 --- a/ext/soup/gstsouphttpsink.h +++ b/ext/soup/gstsouphttpsink.h @@ -38,8 +38,6 @@ struct _GstSoupHttpSink { GstBaseSink base_souphttpsink; - GstPad *sinkpad; - GMutex *mutex; GCond *cond; GMainContext *context;