1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-18 20:40:43 +01:00

Use utf-8 instead of the local system encoding when passing filenames to gstreamer in the chromaprinter. Might fix issue 3703.

This commit is contained in:
David Sansome 2013-06-01 12:55:59 +10:00
parent 5252dac162
commit e4f0f25feb

View File

@ -103,7 +103,7 @@ QString Chromaprinter::CreateFingerprint() {
g_object_set(G_OBJECT(sink), "emit-signals", TRUE, NULL); g_object_set(G_OBJECT(sink), "emit-signals", TRUE, NULL);
// Set the filename // Set the filename
g_object_set(src, "location", filename_.toLocal8Bit().constData(), NULL); g_object_set(src, "location", filename_.toUtf8().constData(), NULL);
// Connect signals // Connect signals
CHECKED_GCONNECT(decode, "new-decoded-pad", &NewPadCallback, this); CHECKED_GCONNECT(decode, "new-decoded-pad", &NewPadCallback, this);