mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
inter: remove (leaking) dead code
This commit is contained in:
parent
dbecf3e809
commit
a940c6a84d
8 changed files with 0 additions and 25 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -40,8 +40,6 @@ struct _GstInterAudioSink
|
|||
|
||||
GstInterSurface *surface;
|
||||
|
||||
GstPad *sinkpad;
|
||||
|
||||
int fps_n;
|
||||
int fps_d;
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ struct _GstInterAudioSrc
|
|||
{
|
||||
GstBaseSrc base_interaudiosrc;
|
||||
|
||||
GstPad *srcpad;
|
||||
GstInterSurface *surface;
|
||||
|
||||
guint64 n_samples;
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -40,8 +40,6 @@ struct _GstInterVideoSink
|
|||
|
||||
GstInterSurface *surface;
|
||||
|
||||
GstPad *sinkpad;
|
||||
|
||||
int fps_n;
|
||||
int fps_d;
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ struct _GstInterVideoSrc
|
|||
{
|
||||
GstBaseSrc base_intervideosrc;
|
||||
|
||||
GstPad *srcpad;
|
||||
GstInterSurface *surface;
|
||||
|
||||
GstVideoFormat format;
|
||||
|
|
Loading…
Reference in a new issue