Skip to content
Extraits de code Groupes Projets
Valider 4a94fa33 rédigé par Karl Blomster's avatar Karl Blomster
Parcourir les fichiers

use wxConvFile for filenames in the ffms providers

Originally committed to SVN as r2380.
parent 8107d0c1
Branches
Étiquettes
Aucune requête de fusion associée trouvée
......@@ -65,10 +65,10 @@ void FFmpegSourceAudioProvider::LoadAudio(Aegisub::String filename) {
// clean up
Close();
wxString FileNameWX(filename.c_str(), wxConvUTF8);
wxString FileNameWX(filename.c_str(), wxConvFile);
// generate a default name for the cache file
wxString CacheName(filename.c_str());
wxString CacheName(filename.c_str(), wxConvFile);
CacheName.append(_T(".ffindex"));
FrameIndex *Index;
......
......@@ -78,10 +78,10 @@ void FFmpegSourceVideoProvider::LoadVideo(Aegisub::String filename, double fps)
// make sure we don't have anything messy lying around
Close();
wxString FileNameWX(filename.c_str(), wxConvUTF8);
wxString FileNameWX(filename.c_str(), wxConvFile);
// generate a name for the cache file
wxString CacheName(filename.c_str());
wxString CacheName(filename.c_str(), wxConvFile);
CacheName.append(_T(".ffindex"));
// try to read index
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter