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/festival | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) | |
download | gstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/festival')
-rw-r--r-- | gst/festival/gstfestival.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index 7d919b90f..de76a5826 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -122,13 +122,6 @@ static FT_Info *festival_default_info (void); static char *socket_receive_file_to_buff (int fd, int *size); static char *client_accept_s_expr (int fd); -/* elementfactory information */ -static const GstElementDetails gst_festival_details = -GST_ELEMENT_DETAILS ("Festival Text-to-Speech synthesizer", - "Filter/Effect/Audio", - "Synthesizes plain text into audio", - "Wim Taymans <wim.taymans@chello.be>"); - static GstStaticPadTemplate sink_template_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -196,7 +189,10 @@ gst_festival_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template_factory)); - gst_element_class_set_details (element_class, &gst_festival_details); + gst_element_class_set_details_simple (element_class, + "Festival Text-to-Speech synthesizer", "Filter/Effect/Audio", + "Synthesizes plain text into audio", + "Wim Taymans <wim.taymans@chello.be>"); } static void |