From: <li...@yo...> - 2007-05-03 23:11:18
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1178109381 -3600 # Node ID baf7d11150fefbd1581098654c56262a3a89ba16 # Parent 7aa0c1f09468a54c04a5d0fc730fd8448470f051 Fix the default audio visualisation setting (should always be goom). diff -r baf7d11150fefbd1581098654c56262a3a89ba16 -r 7aa0c1f09468a54c04a5d0fc730fd8448470f051 ChangeLog --- a/ChangeLog Wed May 02 13:36:21 2007 +0100 +++ b/ChangeLog Wed May 02 03:49:21 2007 +0100 @@ -72,6 +72,7 @@ 0.5.900:2007/??/?? stream does not reflect the specified duration. * Use PNG versions of various icons if SVG support isn't present. [Bug 1708332] + * Fix the default audio visualisation setting (should always be goom). 0.5.11: 2007/02/01 [dsalt] diff -r baf7d11150fefbd1581098654c56262a3a89ba16 -r 7aa0c1f09468a54c04a5d0fc730fd8448470f051 src/ui.c --- a/src/ui.c Wed May 02 13:36:21 2007 +0100 +++ b/src/ui.c Wed May 02 03:49:21 2007 +0100 @@ -787,13 +787,16 @@ void ui_preferences_register (xine_t *th vis_src = xine_list_post_plugins_typed (xine, XINE_POST_TYPE_AUDIO_VISUALIZATION); - for (i = 0; vis_src[i]; ++i) /**/; + int goom = 0; + for (i = 0; vis_src[i]; ++i) + if (!strcmp (vis_src[i], "goom")) + goom = i + 1; vis_labels = calloc (i + 2, sizeof (char *)); vis_labels[0] = N_("None"); /* translate for display, not for config file */ memcpy (vis_labels + 1, vis_src, (i + 1) * sizeof (char *)); xine_config_register_enum - (this, "gui.post_plugins.audio_visualisation", 1, vis_labels, + (this, "gui.post_plugins.audio_visualisation", goom, vis_labels, _("Default audio visualisation plugin"), _("Post-plugin to be used when playing streams without video"), 30, NULL, NULL); |