diff --git a/ChangeLog b/ChangeLog index 08b8120e54..b40bc1d3b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-09 Stefan Kost + + * gst/festival/gstfestival.c: + Add a note to the docs, that festival need to be running. Also log an + error it it is not. Fixes #541327 + 2008-07-08 Thijs Vermeir patch by: Ilja Pavkovic diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index f2ce45a67e..d67c5403bb 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -64,13 +64,14 @@ * SECTION:element-festival * * This element connects to a - * festival server - * process and uses it to synthesize speech. + * festival + * server process and uses it to synthesize speech. Festival need to run already + * in server mode, started as festival --server * * * Example pipeline * |[ - * echo "hi" | gst-launch fdsrc fd=0 ! festival ! wavparse ! audioconvert ! alsasink + * echo 'Hello G-Streamer!' | gst-launch fdsrc fd=0 ! festival ! wavparse ! audioconvert ! alsasink * ]| * */ @@ -462,8 +463,11 @@ gst_festival_open (GstFestival * festival) festival->info->server_fd = festival_socket_open (festival->info->server_host, festival->info->server_port); - if (festival->info->server_fd == -1) + if (festival->info->server_fd == -1) { + GST_ERROR + ("Could not talk to festival server (no server running or wrong host/port?)"); return FALSE; + } return TRUE; }