diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-18 17:30:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-18 22:46:41 +0100 |
commit | 775c7584fdad53053ae5b22bb19074cc6022ee98 (patch) | |
tree | 149c7daf4efd3ecaf17a179949e20b44347859ab /ext/directfb | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/directfb')
-rw-r--r-- | ext/directfb/dfbvideosink.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index 707e9b0c2..f6d2617d0 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -99,13 +99,6 @@ GST_DEBUG_CATEGORY_STATIC (dfbvideosink_debug); #define GST_CAT_DEFAULT dfbvideosink_debug -/* ElementFactory information */ -static const GstElementDetails gst_dfbvideosink_details = -GST_ELEMENT_DETAILS ("DirectFB video sink", - "Sink/Video", - "A DirectFB based videosink", - "Julien Moutte <julien@moutte.net>"); - /* Default template */ static GstStaticPadTemplate gst_dfbvideosink_sink_template_factory = GST_STATIC_PAD_TEMPLATE ("sink", @@ -346,8 +339,8 @@ gst_dfbvideosink_event_thread (GstDfbVideoSink * dfbvideosink) while (dfbvideosink->running) { /* Wait for an event with a 50 ms timeout */ - dfbvideosink->event_buffer->WaitForEventWithTimeout (dfbvideosink-> - event_buffer, 0, 50); + dfbvideosink->event_buffer-> + WaitForEventWithTimeout (dfbvideosink->event_buffer, 0, 50); /* Do we have an event ? */ ret = dfbvideosink->event_buffer->HasEvent (dfbvideosink->event_buffer); @@ -2275,7 +2268,9 @@ gst_dfbvideosink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details (element_class, &gst_dfbvideosink_details); + gst_element_class_set_details_simple (element_class, "DirectFB video sink", + "Sink/Video", + "A DirectFB based videosink", "Julien Moutte <julien@moutte.net>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_dfbvideosink_sink_template_factory)); |