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");
}
GstInterSurface *surface;
- GstPad *sinkpad;
-
int fps_n;
int fps_d;
};
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);
{
GstBaseSrc base_interaudiosrc;
- GstPad *srcpad;
GstInterSurface *surface;
guint64 n_samples;
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");
}
GstInterSurface *surface;
- GstPad *sinkpad;
-
int fps_n;
int fps_d;
};
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);
{
GstBaseSrc base_intervideosrc;
- GstPad *srcpad;
GstInterSurface *surface;
GstVideoFormat format;