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 /gst/dvdspu | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/dvdspu')
-rw-r--r-- | gst/dvdspu/gstdvdspu.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index fd51e262d6..e4ded0535e 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -116,12 +116,6 @@ static void gst_dvd_spu_handle_dvd_event (GstDVDSpu * dvdspu, GstEvent * event); static void gst_dvd_spu_base_init (gpointer gclass) { - static GstElementDetails element_details = - GST_ELEMENT_DETAILS ("GStreamer Sub-picture Overlay", - "Mixer/Video/Overlay/SubPicture/DVD/Bluray", - "Parses Sub-Picture command streams and renders the SPU overlay " - "onto the video as it passes through", - "Jan Schmidt <thaytan@noraisin.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); gst_element_class_add_pad_template (element_class, @@ -130,7 +124,11 @@ gst_dvd_spu_base_init (gpointer gclass) gst_static_pad_template_get (&video_sink_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&subpic_sink_factory)); - gst_element_class_set_details (element_class, &element_details); + gst_element_class_set_details_simple (element_class, "Sub-picture Overlay", + "Mixer/Video/Overlay/SubPicture/DVD/Bluray", + "Parses Sub-Picture command streams and renders the SPU overlay " + "onto the video as it passes through", + "Jan Schmidt <thaytan@noraisin.net>"); element_class->change_state = gst_dvd_spu_change_state; } |