mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-19 04:50:16 +01:00
Transcode files on windows with unicode characters in their filenames. Gstreamer elements take utf8 filenames. Fixes issue 1690.
This commit is contained in:
parent
8f87744d57
commit
a00d7e1738
@ -438,8 +438,8 @@ bool Transcoder::StartJob(const Job &job) {
|
||||
gst_element_link_many(convert, muxer, sink, NULL);
|
||||
|
||||
// Set properties
|
||||
g_object_set(src, "location", job.input.toLocal8Bit().constData(), NULL);
|
||||
g_object_set(sink, "location", job.output.toLocal8Bit().constData(), NULL);
|
||||
g_object_set(src, "location", job.input.toUtf8().constData(), NULL);
|
||||
g_object_set(sink, "location", job.output.toUtf8().constData(), NULL);
|
||||
|
||||
// Set callbacks
|
||||
state->convert_element_ = convert;
|
||||
|
Loading…
Reference in New Issue
Block a user