summaryrefslogtreecommitdiff
path: root/gst/dvdspu/gstdvdspu.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/dvdspu/gstdvdspu.c')
-rw-r--r--gst/dvdspu/gstdvdspu.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c
index fd51e262d..e4ded0535 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;
}