-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Videos not playing correctly #38
Comments
(by pali) |
(by zdmaster) |
(by zdmaster) |
(by pali) I try find problem in stratagus, but everything seens be OK. I recompile Stratagus for Windows using old i586-mingw32-msvc cross compiler (with all depends libs) and all videos in all video mode are now played correctly. So this is not problem in Stratagus, but in some win32 libs/compiler. So closing bug as invalid. As temporary solution I reupload Stratagus builds for Windows in some days... Next I try find which windows library (or compiler) do this bad bug. Maybe it will be SDL or vorbis or ogg... |
1 similar comment
(by pali) I try find problem in stratagus, but everything seens be OK. I recompile Stratagus for Windows using old i586-mingw32-msvc cross compiler (with all depends libs) and all videos in all video mode are now played correctly. So this is not problem in Stratagus, but in some win32 libs/compiler. So closing bug as invalid. As temporary solution I reupload Stratagus builds for Windows in some days... Next I try find which windows library (or compiler) do this bad bug. Maybe it will be SDL or vorbis or ogg... |
(by pali) SDL library compiled with i586-mingw32msvc-gcc working fine without problems. When I used SDL compiled with i686-w64-mingw32-gcc, videos worked only in screen resolution 640x480. So problem is that SDL damage screen when must scale video. Compiler i586-mingw32msvc-gcc is using gcc version 4.2.1 and this compiler is only 32bit and now not developed. Compiler i686-w64-mingw32-gcc is using gcc 4.6.1 and is part of project mingw-w64 (support both 32 and 64bit compilers) and replace old mingw32msvc. So using old i586-mingw32msvc-gcc is not good idea in these days (generated code does not have to be compatible with mingw-w64). I compiled test video overlay programs in SDL packages (with SDL library) and all worked fine (with scaling) in both compilers. My question is: Why one compiler compile SDL and Stratagus binary with worked video playback and other compiler not? And why both compiler produce working example video programs? So in Stratagus is may be bug which appears only in new (maybe strict) compilers and only in Windows. Tested on more Linux versions and this bug I was not able to reproduce. Moving to project Stratagus and reopening this bug because maybe Stratagus has Windows SDL bug and we must decide what to do with SDL and how to compile... |
(by pali) |
On the splash screen and between the missions instead of as a thin line, the sound is present
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: