diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsesink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pulsesink.c b/src/pulsesink.c index 1d8e432..cc4e788 100644 --- a/src/pulsesink.c +++ b/src/pulsesink.c @@ -593,13 +593,13 @@ static gboolean gst_pulsesink_event(GstBaseSink *sink, GstEvent *event) { gst_tag_list_get_string(l, GST_TAG_DESCRIPTION, &description); if (title && artist) - t = buf = g_strdup_printf("'%s' by '%s'", title, artist); + t = buf = g_strdup_printf("'%s' by '%s'", g_strstrip(title), g_strstrip(artist)); else if (title) - t = title; + t = g_strstrip(title); else if (description) - t = description; + t = g_strstrip(description); else if (location) - t = location; + t = g_strstrip(location); if (t) gst_pulsesink_change_title(pulsesink, t); |