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:
parent
5252dac162
commit
e4f0f25feb
@ -103,7 +103,7 @@ QString Chromaprinter::CreateFingerprint() {
|
||||
g_object_set(G_OBJECT(sink), "emit-signals", TRUE, NULL);
|
||||
|
||||
// Set the filename
|
||||
g_object_set(src, "location", filename_.toLocal8Bit().constData(), NULL);
|
||||
g_object_set(src, "location", filename_.toUtf8().constData(), NULL);
|
||||
|
||||
// Connect signals
|
||||
CHECKED_GCONNECT(decode, "new-decoded-pad", &NewPadCallback, this);
|
||||
|
Loading…
Reference in New Issue
Block a user