mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst_element_class_set_details => gst_element_class_set_details_simple
Also change my email from the old university one to the current one.
This commit is contained in:
parent
383c43abe5
commit
6aae8db723
2 changed files with 8 additions and 16 deletions
|
@ -42,13 +42,6 @@
|
|||
|
||||
#include "gstgdpdepay.h"
|
||||
|
||||
/* elementfactory information */
|
||||
static const GstElementDetails gdp_depay_details =
|
||||
GST_ELEMENT_DETAILS ("GDP Depayloader",
|
||||
"GDP/Depayloader",
|
||||
"Depayloads GStreamer Data Protocol buffers",
|
||||
"Thomas Vander Stichele <thomas at apestaart dot org>");
|
||||
|
||||
enum
|
||||
{
|
||||
PROP_0,
|
||||
|
@ -91,7 +84,10 @@ gst_gdp_depay_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_set_details (element_class, &gdp_depay_details);
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"GDP Depayloader", "GDP/Depayloader",
|
||||
"Depayloads GStreamer Data Protocol buffers",
|
||||
"Thomas Vander Stichele <thomas at apestaart dot org>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gdp_depay_sink_template));
|
||||
|
|
|
@ -40,13 +40,6 @@
|
|||
|
||||
#include "gstgdppay.h"
|
||||
|
||||
/* elementfactory information */
|
||||
static const GstElementDetails gdp_pay_details =
|
||||
GST_ELEMENT_DETAILS ("GDP Payloader",
|
||||
"GDP/Payloader",
|
||||
"Payloads GStreamer Data Protocol buffers",
|
||||
"Thomas Vander Stichele <thomas at apestaart dot org>");
|
||||
|
||||
static GstStaticPadTemplate gdp_pay_sink_template =
|
||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
@ -104,7 +97,10 @@ gst_gdp_pay_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_set_details (element_class, &gdp_pay_details);
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"GDP Payloader", "GDP/Payloader",
|
||||
"Payloads GStreamer Data Protocol buffers",
|
||||
"Thomas Vander Stichele <thomas at apestaart dot org>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gdp_pay_sink_template));
|
||||
|
|
Loading…
Reference in a new issue