diff options
Diffstat (limited to 'src/media')
-rw-r--r-- | src/media/UVideo.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas index 711234fa..e6019827 100644 --- a/src/media/UVideo.pas +++ b/src/media/UVideo.pas @@ -336,11 +336,11 @@ begin {$ELSEIF LIBAVFORMAT_VERSION < 54029104} errnum := avformat_open_input(@fFormatContext, PAnsiChar('ufile:'+FileName.ToUTF8), nil, nil); {$ELSE} - errnum := FFmpegCore.AVFormatOpenInput(@fFormatContext, PAnsiChar('ufile:'+FileName.ToUTF8)); + errnum := FFmpegCore.AVFormatOpenInput(@fFormatContext, PAnsiChar(FileName.ToUTF8));//'ufile:'+FileName.ToUTF8)); {$IFEND} if (errnum <> 0) then begin - Log.LogError('Failed to open file "'+ FileName.ToNative +'" ('+FFmpegCore.GetErrorString(errnum)+')'); + Log.LogError('Failed to open file "'+ FileName.ToNative +'" ('+FFmpegCore.GetErrorString(errnum)+'::'+IntToStr(errnum)+')'); Exit; end; |