summaryrefslogtreecommitdiff
path: root/ext/directfb/dfbvideosink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/directfb/dfbvideosink.c')
-rw-r--r--ext/directfb/dfbvideosink.c15
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));