pulse: when constructing a stream title from tag data make sure it is translatable

This commit is contained in:
Lennart Poettering 2009-10-17 00:09:36 +02:00 committed by Sebastian Dröge
parent fd75286dd1
commit 76c8ca4b00
2 changed files with 3 additions and 1 deletions

View file

@ -49,6 +49,7 @@
#include <gst/base/gstbasesink.h> #include <gst/base/gstbasesink.h>
#include <gst/gsttaglist.h> #include <gst/gsttaglist.h>
#include <gst/interfaces/streamvolume.h> #include <gst/interfaces/streamvolume.h>
#include <gst/gst-i18n-plugin.h>
#include "pulsesink.h" #include "pulsesink.h"
#include "pulseutil.h" #include "pulseutil.h"
@ -2172,7 +2173,7 @@ gst_pulsesink_event (GstBaseSink * sink, GstEvent * event)
if (title && artist) if (title && artist)
t = buf = t = buf =
g_strdup_printf ("'%s' by '%s'", g_strstrip (title), g_strdup_printf (_("'%s' by '%s'"), g_strstrip (title),
g_strstrip (artist)); g_strstrip (artist));
else if (title) else if (title)
t = g_strstrip (title); t = g_strstrip (title);

View file

@ -1,4 +1,5 @@
ext/esd/esdsink.c ext/esd/esdsink.c
ext/pulse/pulsesink.c
ext/flac/gstflacdec.c ext/flac/gstflacdec.c
ext/jpeg/gstjpegdec.c ext/jpeg/gstjpegdec.c
ext/libpng/gstpngdec.c ext/libpng/gstpngdec.c