mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 19:45:31 +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);
|
gst_element_link_many(convert, muxer, sink, NULL);
|
||||||
|
|
||||||
// Set properties
|
// Set properties
|
||||||
g_object_set(src, "location", job.input.toLocal8Bit().constData(), NULL);
|
g_object_set(src, "location", job.input.toUtf8().constData(), NULL);
|
||||||
g_object_set(sink, "location", job.output.toLocal8Bit().constData(), NULL);
|
g_object_set(sink, "location", job.output.toUtf8().constData(), NULL);
|
||||||
|
|
||||||
// Set callbacks
|
// Set callbacks
|
||||||
state->convert_element_ = convert;
|
state->convert_element_ = convert;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user