summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /gst-libs
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/app/gstappsink.c11
-rw-r--r--gst-libs/gst/app/gstappsrc.c11
2 files changed, 9 insertions, 13 deletions
diff --git a/gst-libs/gst/app/gstappsink.c b/gst-libs/gst/app/gstappsink.c
index 79b1b843b..d738a11b5 100644
--- a/gst-libs/gst/app/gstappsink.c
+++ b/gst-libs/gst/app/gstappsink.c
@@ -75,12 +75,6 @@
GST_DEBUG_CATEGORY (app_sink_debug);
#define GST_CAT_DEFAULT app_sink_debug
-static const GstElementDetails app_sink_details =
-GST_ELEMENT_DETAILS ("AppSink",
- "Generic/Sink",
- "Allow the application to get access to raw buffer",
- "David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
-
enum
{
/* signals */
@@ -179,7 +173,10 @@ gst_app_sink_base_init (gpointer g_class)
GST_DEBUG_CATEGORY_INIT (app_sink_debug, "appsink", 0, "appsink element");
- gst_element_class_set_details (element_class, &app_sink_details);
+ gst_element_class_set_details_simple (element_class, "AppSink",
+ "Generic/Sink",
+ "Allow the application to get access to raw buffer",
+ "David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_app_sink_template));
diff --git a/gst-libs/gst/app/gstappsrc.c b/gst-libs/gst/app/gstappsrc.c
index 9cf1afc33..05f682a5d 100644
--- a/gst-libs/gst/app/gstappsrc.c
+++ b/gst-libs/gst/app/gstappsrc.c
@@ -99,11 +99,6 @@
GST_DEBUG_CATEGORY (app_src_debug);
#define GST_CAT_DEFAULT app_src_debug
-static const GstElementDetails app_src_details = GST_ELEMENT_DETAILS ("AppSrc",
- "Generic/Src",
- "Allow the application to feed buffers to a pipeline",
- "David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
-
enum
{
/* signals */
@@ -212,7 +207,10 @@ gst_app_src_base_init (gpointer g_class)
GST_DEBUG_CATEGORY_INIT (app_src_debug, "appsrc", 0, "appsrc element");
- gst_element_class_set_details (element_class, &app_src_details);
+ gst_element_class_set_details_simple (element_class, "AppSrc",
+ "Generic/Src",
+ "Allow the application to feed buffers to a pipeline",
+ "David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_app_src_template));
@@ -1135,6 +1133,7 @@ gst_app_src_uri_get_protocols (void)
return protocols;
}
+
static const gchar *
gst_app_src_uri_get_uri (GstURIHandler * handler)
{