gst_element_class_set_details => gst_element_class_set_details_simple
This commit is contained in:
parent
d40c856ae5
commit
ecd6632f18
@ -84,14 +84,6 @@
|
|||||||
GST_DEBUG_CATEGORY (dtmf_detect_debug);
|
GST_DEBUG_CATEGORY (dtmf_detect_debug);
|
||||||
#define GST_CAT_DEFAULT (dtmf_detect_debug)
|
#define GST_CAT_DEFAULT (dtmf_detect_debug)
|
||||||
|
|
||||||
/* elementfactory information */
|
|
||||||
static const GstElementDetails gst_dtmf_detect_details =
|
|
||||||
GST_ELEMENT_DETAILS ("DTMF detector element",
|
|
||||||
"Detect",
|
|
||||||
"This element detects DTMF tones",
|
|
||||||
"Olivier Crete <olivier.crete@collabora.co.uk>");
|
|
||||||
|
|
||||||
|
|
||||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
@ -148,7 +140,10 @@ gst_dtmf_detect_base_init (gpointer klass)
|
|||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&sinktemplate));
|
gst_static_pad_template_get (&sinktemplate));
|
||||||
|
|
||||||
gst_element_class_set_details (element_class, &gst_dtmf_detect_details);
|
gst_element_class_set_details_simple (element_class, "DTMF detector element",
|
||||||
|
"Detect",
|
||||||
|
"This element detects DTMF tones",
|
||||||
|
"Olivier Crete <olivier.crete@collabora.co.uk>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -194,13 +194,6 @@ enum
|
|||||||
DTMF_KEY_EVENT_D = 15,
|
DTMF_KEY_EVENT_D = 15,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* elementfactory information */
|
|
||||||
static const GstElementDetails gst_dtmf_src_details =
|
|
||||||
GST_ELEMENT_DETAILS ("DTMF tone generator",
|
|
||||||
"Source/Audio",
|
|
||||||
"Generates DTMF tones",
|
|
||||||
"Youness Alaoui <youness.alaoui@collabora.co.uk>");
|
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (gst_dtmf_src_debug);
|
GST_DEBUG_CATEGORY_STATIC (gst_dtmf_src_debug);
|
||||||
#define GST_CAT_DEFAULT gst_dtmf_src_debug
|
#define GST_CAT_DEFAULT gst_dtmf_src_debug
|
||||||
|
|
||||||
@ -253,7 +246,10 @@ gst_dtmf_src_base_init (gpointer g_class)
|
|||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&gst_dtmf_src_template));
|
gst_static_pad_template_get (&gst_dtmf_src_template));
|
||||||
|
|
||||||
gst_element_class_set_details (element_class, &gst_dtmf_src_details);
|
gst_element_class_set_details_simple (element_class, "DTMF tone generator",
|
||||||
|
"Source/Audio",
|
||||||
|
"Generates DTMF tones",
|
||||||
|
"Youness Alaoui <youness.alaoui@collabora.co.uk>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -164,13 +164,6 @@ enum
|
|||||||
DTMF_KEY_EVENT_D = 15,
|
DTMF_KEY_EVENT_D = 15,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* elementfactory information */
|
|
||||||
static const GstElementDetails gst_rtp_dtmfdepay_details =
|
|
||||||
GST_ELEMENT_DETAILS ("RTP DTMF packet depayloader",
|
|
||||||
"Codec/Depayloader/Network",
|
|
||||||
"Generates DTMF Sound from telephone-event RTP packets",
|
|
||||||
"Youness Alaoui <youness.alaoui@collabora.co.uk>");
|
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (gst_rtp_dtmf_depay_debug);
|
GST_DEBUG_CATEGORY_STATIC (gst_rtp_dtmf_depay_debug);
|
||||||
#define GST_CAT_DEFAULT gst_rtp_dtmf_depay_debug
|
#define GST_CAT_DEFAULT gst_rtp_dtmf_depay_debug
|
||||||
|
|
||||||
@ -242,7 +235,10 @@ gst_rtp_dtmf_depay_base_init (gpointer klass)
|
|||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_rtp_dtmf_depay_debug,
|
GST_DEBUG_CATEGORY_INIT (gst_rtp_dtmf_depay_debug,
|
||||||
"rtpdtmfdepay", 0, "rtpdtmfdepay element");
|
"rtpdtmfdepay", 0, "rtpdtmfdepay element");
|
||||||
gst_element_class_set_details (element_class, &gst_rtp_dtmfdepay_details);
|
gst_element_class_set_details_simple (element_class,
|
||||||
|
"RTP DTMF packet depayloader", "Codec/Depayloader/Network",
|
||||||
|
"Generates DTMF Sound from telephone-event RTP packets",
|
||||||
|
"Youness Alaoui <youness.alaoui@collabora.co.uk>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -144,13 +144,6 @@
|
|||||||
#define MIN_PACKET_REDUNDANCY 1
|
#define MIN_PACKET_REDUNDANCY 1
|
||||||
#define MAX_PACKET_REDUNDANCY 5
|
#define MAX_PACKET_REDUNDANCY 5
|
||||||
|
|
||||||
/* elementfactory information */
|
|
||||||
static const GstElementDetails gst_rtp_dtmf_src_details =
|
|
||||||
GST_ELEMENT_DETAILS ("RTP DTMF packet generator",
|
|
||||||
"Source/Network",
|
|
||||||
"Generates RTP DTMF packets",
|
|
||||||
"Zeeshan Ali <zeeshan.ali@nokia.com>");
|
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (gst_rtp_dtmf_src_debug);
|
GST_DEBUG_CATEGORY_STATIC (gst_rtp_dtmf_src_debug);
|
||||||
#define GST_CAT_DEFAULT gst_rtp_dtmf_src_debug
|
#define GST_CAT_DEFAULT gst_rtp_dtmf_src_debug
|
||||||
|
|
||||||
@ -228,7 +221,9 @@ gst_rtp_dtmf_src_base_init (gpointer g_class)
|
|||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&gst_rtp_dtmf_src_template));
|
gst_static_pad_template_get (&gst_rtp_dtmf_src_template));
|
||||||
|
|
||||||
gst_element_class_set_details (element_class, &gst_rtp_dtmf_src_details);
|
gst_element_class_set_details_simple (element_class,
|
||||||
|
"RTP DTMF packet generator", "Source/Network",
|
||||||
|
"Generates RTP DTMF packets", "Zeeshan Ali <zeeshan.ali@nokia.com>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user