diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-16 15:45:23 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-16 17:41:50 +0100 |
commit | 5e21fa5e0e21d112a7e1c6fbed35d8669d37d061 (patch) | |
tree | 5badbb558ed6fba1e6717bd83431699b1ab00cfc /sys/ximage/ximagesink.c | |
parent | 6cc138436c3d8443249797bf2889b657ff491aa9 (diff) |
gst_element_class_set_details => gst_element_class_set_details_simple
Also change my email from the old university one to the current one.
Diffstat (limited to 'sys/ximage/ximagesink.c')
-rw-r--r-- | sys/ximage/ximagesink.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index aeac91265..629ba6373 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -135,13 +135,6 @@ static void gst_ximagesink_xwindow_update_geometry (GstXImageSink * ximagesink, GstXWindow * xwindow); static void gst_ximagesink_expose (GstXOverlay * overlay); -/* ElementFactory information */ -static const GstElementDetails gst_ximagesink_details = -GST_ELEMENT_DETAILS ("Video sink", - "Sink/Video", - "A standard X based videosink", - "Julien Moutte <julien@moutte.net>"); - static GstStaticPadTemplate gst_ximagesink_sink_template_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -2321,7 +2314,9 @@ gst_ximagesink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details (element_class, &gst_ximagesink_details); + gst_element_class_set_details_simple (element_class, + "Video sink", "Sink/Video", + "A standard X based videosink", "Julien Moutte <julien@moutte.net>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_ximagesink_sink_template_factory)); |