diff options
author | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-08-15 16:03:35 +0000 |
---|---|---|
committer | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-08-15 16:03:35 +0000 |
commit | 9e7a37fb651c3b3bb0a6ffdd29b1c7735c3a622c (patch) | |
tree | 21ad16eaf6521eed7c5f2f64bfc66832c15268f2 /src/media/UVideo.pas | |
parent | 463e7cbf0ba74238291d0d8d85b5d1a50d347b45 (diff) | |
download | usdx-9e7a37fb651c3b3bb0a6ffdd29b1c7735c3a622c.tar.gz usdx-9e7a37fb651c3b3bb0a6ffdd29b1c7735c3a622c.tar.xz usdx-9e7a37fb651c3b3bb0a6ffdd29b1c7735c3a622c.zip |
*raised LogFileLevel for development/debugging purposes to 50
*fixed compiling for windows
*updated windows-build to most recent ffmpeg v2.7 version and fixed IPath for UVideo.TVideoPlayback_FFmpeg.Open according to v2.7 ffmpeg documentation
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3121 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/media/UVideo.pas')
-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; |