diff options
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/app/gstappsink.c | 11 | ||||
-rw-r--r-- | gst-libs/gst/app/gstappsrc.c | 11 |
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) { |