[0.11] gst-plugins-bad: inter: remove (leaking) dead code

Tim Müller tpm at kemper.freedesktop.org
Thu Jan 12 16:19:13 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: a940c6a84d06d9b5fc5e346dbca11b57275679d6
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=a940c6a84d06d9b5fc5e346dbca11b57275679d6

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Thu Jan 12 16:45:39 2012 +0000

inter: remove (leaking) dead code

---

 gst/inter/gstinteraudiosink.c |    5 -----
 gst/inter/gstinteraudiosink.h |    2 --
 gst/inter/gstinteraudiosrc.c  |    4 ----
 gst/inter/gstinteraudiosrc.h  |    1 -
 gst/inter/gstintervideosink.c |    5 -----
 gst/inter/gstintervideosink.h |    2 --
 gst/inter/gstintervideosrc.c  |    5 -----
 gst/inter/gstintervideosrc.h  |    1 -
 8 files changed, 0 insertions(+), 25 deletions(-)

diff --git a/gst/inter/gstinteraudiosink.c b/gst/inter/gstinteraudiosink.c
index 3f65d32..a05248b 100644
--- a/gst/inter/gstinteraudiosink.c
+++ b/gst/inter/gstinteraudiosink.c
@@ -156,11 +156,6 @@ static void
 gst_inter_audio_sink_init (GstInterAudioSink * interaudiosink,
     GstInterAudioSinkClass * interaudiosink_class)
 {
-
-  interaudiosink->sinkpad =
-      gst_pad_new_from_static_template (&gst_inter_audio_sink_sink_template,
-      "sink");
-
   interaudiosink->surface = gst_inter_surface_get ("default");
 }
 
diff --git a/gst/inter/gstinteraudiosink.h b/gst/inter/gstinteraudiosink.h
index 53597e7..b0a3276 100644
--- a/gst/inter/gstinteraudiosink.h
+++ b/gst/inter/gstinteraudiosink.h
@@ -40,8 +40,6 @@ struct _GstInterAudioSink
 
   GstInterSurface *surface;
 
-  GstPad *sinkpad;
-
   int fps_n;
   int fps_d;
 };
diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c
index 4a959f9..1b98adc 100644
--- a/gst/inter/gstinteraudiosrc.c
+++ b/gst/inter/gstinteraudiosrc.c
@@ -166,10 +166,6 @@ gst_inter_audio_src_init (GstInterAudioSrc * interaudiosrc,
     GstInterAudioSrcClass * interaudiosrc_class)
 {
 
-  interaudiosrc->srcpad =
-      gst_pad_new_from_static_template (&gst_inter_audio_src_src_template,
-      "src");
-
   gst_base_src_set_live (GST_BASE_SRC (interaudiosrc), TRUE);
   gst_base_src_set_blocksize (GST_BASE_SRC (interaudiosrc), -1);
 
diff --git a/gst/inter/gstinteraudiosrc.h b/gst/inter/gstinteraudiosrc.h
index cac928f..958a1a5 100644
--- a/gst/inter/gstinteraudiosrc.h
+++ b/gst/inter/gstinteraudiosrc.h
@@ -38,7 +38,6 @@ struct _GstInterAudioSrc
 {
   GstBaseSrc base_interaudiosrc;
 
-  GstPad *srcpad;
   GstInterSurface *surface;
 
   guint64 n_samples;
diff --git a/gst/inter/gstintervideosink.c b/gst/inter/gstintervideosink.c
index cb0eea6..43349f9 100644
--- a/gst/inter/gstintervideosink.c
+++ b/gst/inter/gstintervideosink.c
@@ -150,11 +150,6 @@ static void
 gst_inter_video_sink_init (GstInterVideoSink * intervideosink,
     GstInterVideoSinkClass * intervideosink_class)
 {
-
-  intervideosink->sinkpad =
-      gst_pad_new_from_static_template (&gst_inter_video_sink_sink_template,
-      "sink");
-
   intervideosink->surface = gst_inter_surface_get ("default");
 }
 
diff --git a/gst/inter/gstintervideosink.h b/gst/inter/gstintervideosink.h
index 00bbd6e..5b02efe 100644
--- a/gst/inter/gstintervideosink.h
+++ b/gst/inter/gstintervideosink.h
@@ -40,8 +40,6 @@ struct _GstInterVideoSink
 
   GstInterSurface *surface;
 
-  GstPad *sinkpad;
-
   int fps_n;
   int fps_d;
 };
diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c
index 3a805c0..2f5dbba 100644
--- a/gst/inter/gstintervideosrc.c
+++ b/gst/inter/gstintervideosrc.c
@@ -163,11 +163,6 @@ static void
 gst_inter_video_src_init (GstInterVideoSrc * intervideosrc,
     GstInterVideoSrcClass * intervideosrc_class)
 {
-
-  intervideosrc->srcpad =
-      gst_pad_new_from_static_template (&gst_inter_video_src_src_template,
-      "src");
-
   gst_base_src_set_format (GST_BASE_SRC (intervideosrc), GST_FORMAT_TIME);
   gst_base_src_set_live (GST_BASE_SRC (intervideosrc), TRUE);
 
diff --git a/gst/inter/gstintervideosrc.h b/gst/inter/gstintervideosrc.h
index 909410a..e7a3cd0 100644
--- a/gst/inter/gstintervideosrc.h
+++ b/gst/inter/gstintervideosrc.h
@@ -39,7 +39,6 @@ struct _GstInterVideoSrc
 {
   GstBaseSrc base_intervideosrc;
 
-  GstPad *srcpad;
   GstInterSurface *surface;
 
   GstVideoFormat format;



More information about the gstreamer-commits mailing list