aboutsummaryrefslogtreecommitdiffstats
path: root/src/media
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-06 19:11:40 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-06 19:11:40 +0000
commit4ab95b917cedf79375da2918b3553e97e0ff404b (patch)
tree434853f9323609321a9151f6b38abcaf0eceeb43 /src/media
parentd89662dbff77b0608fb752f40b20def74839bfd1 (diff)
downloadusdx-4ab95b917cedf79375da2918b3553e97e0ff404b.tar.gz
usdx-4ab95b917cedf79375da2918b3553e97e0ff404b.tar.xz
usdx-4ab95b917cedf79375da2918b3553e97e0ff404b.zip
- Revert quick-fix from revision 2000
- The problem has been fixed by the previous commit (overload Path()) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2220 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/media')
-rw-r--r--src/media/UVideo.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas
index 6db9cd20..27f29f7e 100644
--- a/src/media/UVideo.pas
+++ b/src/media/UVideo.pas
@@ -263,7 +263,7 @@ begin
Reset();
// use custom 'ufile' protocol for UTF-8 support
- errnum := av_open_input_file(fFormatContext, PAnsiChar('ufile:'+FileName.ToNative), nil, 0, nil);
+ errnum := av_open_input_file(fFormatContext, PAnsiChar('ufile:'+FileName.ToUTF8), nil, 0, nil);
if (errnum <> 0) then
begin
Log.LogError('Failed to open file "'+ FileName.ToNative +'" ('+FFmpegCore.GetErrorString(errnum)+')');