mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst_element_class_set_details => gst_element_class_set_details_simple
This commit is contained in:
parent
f20c73684b
commit
4ccda26327
2 changed files with 6 additions and 15 deletions
|
@ -621,13 +621,6 @@ gst_jack_ring_buffer_delay (GstRingBuffer * buf)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* elementfactory information */
|
|
||||||
static const GstElementDetails gst_jack_audio_sink_details =
|
|
||||||
GST_ELEMENT_DETAILS ("Audio Sink (Jack)",
|
|
||||||
"Sink/Audio",
|
|
||||||
"Output to Jack",
|
|
||||||
"Wim Taymans <wim@fluendo.com>");
|
|
||||||
|
|
||||||
static GstStaticPadTemplate jackaudiosink_sink_factory =
|
static GstStaticPadTemplate jackaudiosink_sink_factory =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
|
@ -676,7 +669,8 @@ gst_jack_audio_sink_base_init (gpointer g_class)
|
||||||
{
|
{
|
||||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||||
|
|
||||||
gst_element_class_set_details (element_class, &gst_jack_audio_sink_details);
|
gst_element_class_set_details_simple (element_class, "Audio Sink (Jack)",
|
||||||
|
"Sink/Audio", "Output to Jack", "Wim Taymans <wim@fluendo.com>");
|
||||||
|
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&jackaudiosink_sink_factory));
|
gst_static_pad_template_get (&jackaudiosink_sink_factory));
|
||||||
|
|
|
@ -678,17 +678,14 @@ static GstRingBuffer *gst_jack_audio_src_create_ringbuffer (GstBaseAudioSrc *
|
||||||
static void
|
static void
|
||||||
gst_jack_audio_src_base_init (gpointer gclass)
|
gst_jack_audio_src_base_init (gpointer gclass)
|
||||||
{
|
{
|
||||||
static GstElementDetails gst_jack_audio_src_details = {
|
|
||||||
"Audio Source (Jack)",
|
|
||||||
"Source/Audio",
|
|
||||||
"Input from Jack",
|
|
||||||
"Tristan Matthews <tristan@sat.qc.ca>"
|
|
||||||
};
|
|
||||||
GstElementClass *element_class = GST_ELEMENT_CLASS (gclass);
|
GstElementClass *element_class = GST_ELEMENT_CLASS (gclass);
|
||||||
|
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&src_factory));
|
gst_static_pad_template_get (&src_factory));
|
||||||
gst_element_class_set_details (element_class, &gst_jack_audio_src_details);
|
gst_element_class_set_details_simple (element_class, "Audio Source (Jack)",
|
||||||
|
"Source/Audio",
|
||||||
|
"Input from Jack", "Tristan Matthews <tristan@sat.qc.ca>");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* initialize the jack_audio_src's class */
|
/* initialize the jack_audio_src's class */
|
||||||
|
|
Loading…
Reference in a new issue