inter: remove (leaking) dead code

This commit is contained in:
Vincent Penquerc'h 2012-01-12 16:45:39 +00:00
parent dbecf3e809
commit a940c6a84d
8 changed files with 0 additions and 25 deletions

View file

@ -156,11 +156,6 @@ static void
gst_inter_audio_sink_init (GstInterAudioSink * interaudiosink, gst_inter_audio_sink_init (GstInterAudioSink * interaudiosink,
GstInterAudioSinkClass * interaudiosink_class) 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"); interaudiosink->surface = gst_inter_surface_get ("default");
} }

View file

@ -40,8 +40,6 @@ struct _GstInterAudioSink
GstInterSurface *surface; GstInterSurface *surface;
GstPad *sinkpad;
int fps_n; int fps_n;
int fps_d; int fps_d;
}; };

View file

@ -166,10 +166,6 @@ gst_inter_audio_src_init (GstInterAudioSrc * interaudiosrc,
GstInterAudioSrcClass * interaudiosrc_class) 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_live (GST_BASE_SRC (interaudiosrc), TRUE);
gst_base_src_set_blocksize (GST_BASE_SRC (interaudiosrc), -1); gst_base_src_set_blocksize (GST_BASE_SRC (interaudiosrc), -1);

View file

@ -38,7 +38,6 @@ struct _GstInterAudioSrc
{ {
GstBaseSrc base_interaudiosrc; GstBaseSrc base_interaudiosrc;
GstPad *srcpad;
GstInterSurface *surface; GstInterSurface *surface;
guint64 n_samples; guint64 n_samples;

View file

@ -150,11 +150,6 @@ static void
gst_inter_video_sink_init (GstInterVideoSink * intervideosink, gst_inter_video_sink_init (GstInterVideoSink * intervideosink,
GstInterVideoSinkClass * intervideosink_class) 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"); intervideosink->surface = gst_inter_surface_get ("default");
} }

View file

@ -40,8 +40,6 @@ struct _GstInterVideoSink
GstInterSurface *surface; GstInterSurface *surface;
GstPad *sinkpad;
int fps_n; int fps_n;
int fps_d; int fps_d;
}; };

View file

@ -163,11 +163,6 @@ static void
gst_inter_video_src_init (GstInterVideoSrc * intervideosrc, gst_inter_video_src_init (GstInterVideoSrc * intervideosrc,
GstInterVideoSrcClass * intervideosrc_class) 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_format (GST_BASE_SRC (intervideosrc), GST_FORMAT_TIME);
gst_base_src_set_live (GST_BASE_SRC (intervideosrc), TRUE); gst_base_src_set_live (GST_BASE_SRC (intervideosrc), TRUE);

View file

@ -39,7 +39,6 @@ struct _GstInterVideoSrc
{ {
GstBaseSrc base_intervideosrc; GstBaseSrc base_intervideosrc;
GstPad *srcpad;
GstInterSurface *surface; GstInterSurface *surface;
GstVideoFormat format; GstVideoFormat format;