mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
pulse: when constructing a stream title from tag data make sure it is translatable
This commit is contained in:
parent
fd75286dd1
commit
76c8ca4b00
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue