#define GST_CAT_DEFAULT gst_inter_audio_sink_debug_category
/* prototypes */
-
-
static void gst_inter_audio_sink_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_audio_sink_get_property (GObject * object,
};
/* pad templates */
-
static GstStaticPadTemplate gst_inter_audio_sink_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
/* class initialization */
-
-
G_DEFINE_TYPE (GstInterAudioSink, gst_inter_audio_sink, GST_TYPE_BASE_SINK);
static void
G_OBJECT_CLASS (gst_inter_audio_sink_parent_class)->finalize (object);
}
-
static void
gst_inter_audio_sink_get_times (GstBaseSink * sink, GstBuffer * buffer,
GstClockTime * start, GstClockTime * end)
}
}
}
-
-
}
static gboolean
#define GST_CAT_DEFAULT gst_inter_audio_src_debug_category
/* prototypes */
-
-
static void gst_inter_audio_src_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_audio_src_get_property (GObject * object,
};
/* pad templates */
-
static GstStaticPadTemplate gst_inter_audio_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
/* class initialization */
-
G_DEFINE_TYPE (GstInterAudioSrc, gst_inter_audio_src, GST_TYPE_BASE_SRC);
static void
return ret;
}
-
static gboolean
gst_inter_audio_src_start (GstBaseSrc * src)
{
}
}
-
#define SIZE 1600
static GstFlowReturn
return GST_FLOW_OK;
}
-
static gboolean
gst_inter_audio_src_query (GstBaseSrc * src, GstQuery * query)
{
#define GST_CAT_DEFAULT gst_inter_sub_sink_debug_category
/* prototypes */
-
-
static void gst_inter_sub_sink_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_sub_sink_get_property (GObject * object,
};
/* pad templates */
-
static GstStaticPadTemplate gst_inter_sub_sink_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
g_param_spec_string ("channel", "Channel",
"Channel name to match inter src and sink elements",
"default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-
}
static void
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
static void
gst_inter_sub_sink_get_times (GstBaseSink * sink, GstBuffer * buffer,
GstClockTime * start, GstClockTime * end)
}
}
}
-
-
}
static gboolean
#define GST_CAT_DEFAULT gst_inter_sub_src_debug_category
/* prototypes */
-
-
static void gst_inter_sub_src_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_sub_src_get_property (GObject * object,
};
/* pad templates */
-
static GstStaticPadTemplate gst_inter_sub_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
}
}
-
static GstFlowReturn
gst_inter_sub_src_create (GstBaseSrc * src, guint64 offset, guint size,
GstBuffer ** buf)
static GList *list;
static GMutex mutex;
-
GstInterSurface *
gst_inter_surface_get (const char *name)
{
#define GST_CAT_DEFAULT gst_inter_video_sink_debug_category
/* prototypes */
-
-
static void gst_inter_video_sink_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_video_sink_get_property (GObject * object,
};
/* pad templates */
-
static GstStaticPadTemplate gst_inter_video_sink_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
/* class initialization */
-
G_DEFINE_TYPE (GstInterVideoSink, gst_inter_video_sink, GST_TYPE_BASE_SINK);
static void
}
}
}
-
-
}
static gboolean
#define GST_CAT_DEFAULT gst_inter_video_src_debug_category
/* prototypes */
-
-
static void gst_inter_video_src_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_video_src_get_property (GObject * object,
};
/* pad templates */
-
static GstStaticPadTemplate gst_inter_video_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
g_param_spec_string ("channel", "Channel",
"Channel name to match inter src and sink elements",
"default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-
}
static void
return gst_pad_set_caps (src->srcpad, caps);
}
-
static gboolean
gst_inter_video_src_start (GstBaseSrc * src)
{
}
}
-
static GstFlowReturn
gst_inter_video_src_create (GstBaseSrc * src, guint64 offset, guint size,
GstBuffer ** buf)