inter: remove (leaking) dead code
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 12 Jan 2012 16:45:39 +0000 (16:45 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 12 Jan 2012 16:48:38 +0000 (16:48 +0000)
gst/inter/gstinteraudiosink.c
gst/inter/gstinteraudiosink.h
gst/inter/gstinteraudiosrc.c
gst/inter/gstinteraudiosrc.h
gst/inter/gstintervideosink.c
gst/inter/gstintervideosink.h
gst/inter/gstintervideosrc.c
gst/inter/gstintervideosrc.h

index 3f65d32..a05248b 100644 (file)
@@ -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");
 }
 
index 53597e7..b0a3276 100644 (file)
@@ -40,8 +40,6 @@ struct _GstInterAudioSink
 
   GstInterSurface *surface;
 
-  GstPad *sinkpad;
-
   int fps_n;
   int fps_d;
 };
index 4a959f9..1b98adc 100644 (file)
@@ -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);
 
index cac928f..958a1a5 100644 (file)
@@ -38,7 +38,6 @@ struct _GstInterAudioSrc
 {
   GstBaseSrc base_interaudiosrc;
 
-  GstPad *srcpad;
   GstInterSurface *surface;
 
   guint64 n_samples;
index cb0eea6..43349f9 100644 (file)
@@ -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");
 }
 
index 00bbd6e..5b02efe 100644 (file)
@@ -40,8 +40,6 @@ struct _GstInterVideoSink
 
   GstInterSurface *surface;
 
-  GstPad *sinkpad;
-
   int fps_n;
   int fps_d;
 };
index 3a805c0..2f5dbba 100644 (file)
@@ -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);
 
index 909410a..e7a3cd0 100644 (file)
@@ -39,7 +39,6 @@ struct _GstInterVideoSrc
 {
   GstBaseSrc base_intervideosrc;
 
-  GstPad *srcpad;
   GstInterSurface *surface;
 
   GstVideoFormat format;