move CHECK_HR to MPCVideoDecFilter.h

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5055 10f7b99b-c216-0410-bff0-8a66a9350fd8
indentation cosmetics

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5056 10f7b99b-c216-0410-bff0-8a66a9350fd8
Move the IsWin* functions into an helper class. The OS version is now cached and the function calls properly inlined.

This code was inspired by TortoiseSVN's SysInfo class.

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5057 10f7b99b-c216-0410-bff0-8a66a9350fd8
MiniDump.cpp: remove the exe directory from the search path for dbghelp.dll

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5058 10f7b99b-c216-0410-bff0-8a66a9350fd8
The debug swith depends on the OSD to show the debug informations so always turn on OSD when the debug swith is used.
This commit fixes ticket #2371.


git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5059 10f7b99b-c216-0410-bff0-8a66a9350fd8
add missing svn:keyword for SysVersion

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5060 10f7b99b-c216-0410-bff0-8a66a9350fd8
Rasterizer.cpp: remove unneeded defines and use std:: explicitly

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5061 10f7b99b-c216-0410-bff0-8a66a9350fd8
build.bat: show a warning when incompatible switches are used

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5062 10f7b99b-c216-0410-bff0-8a66a9350fd8
fixed some warnings and typos, cosmetics

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5063 10f7b99b-c216-0410-bff0-8a66a9350fd8
Converted most of CMainFrame::MoveVideoWindow() to floating-point for geometry calculation.
The previous code had many inaccuracies because of integer math and many (mostly implicit) casts between integer and floating point. Due to this and some truncation/rounding faults, video size was often off by one pixel amounts. This fixes ticket #504.

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5064 10f7b99b-c216-0410-bff0-8a66a9350fd8
Make a distinction between the current state of the GUI controls and the state saved in the settings. Also factorize some code. This makes easier dealing with temporary state changes that shouldn't be saved.

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5065 10f7b99b-c216-0410-bff0-8a66a9350fd8
Hide the seek bar in capture mode since it can never be used.
This commit fixes ticket #2227.


git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5066 10f7b99b-c216-0410-bff0-8a66a9350fd8
Minor simplification for r5066.

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5067 10f7b99b-c216-0410-bff0-8a66a9350fd8
apply astyle

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5068 10f7b99b-c216-0410-bff0-8a66a9350fd8
build.bat: properly check for incompatible switches combination before starting the build

patch by kasper93

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5069 10f7b99b-c216-0410-bff0-8a66a9350fd8
Use the windows theme fonts instead of hardcoded font facenames for
Windows Vista and later.
This commit fixes ticket #2342.

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5070 10f7b99b-c216-0410-bff0-8a66a9350fd8
Updated Changelog.txt

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5071 10f7b99b-c216-0410-bff0-8a66a9350fd8
- Remove a couple of unused defines
- Use M_PI from math.h in SoundTouch
- Replace the DegToRad macro with a function
- Fix a few C4244 warnings
Patch mostly by XhmikosR.

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5072 10f7b99b-c216-0410-bff0-8a66a9350fd8
moved GetDefChannelMask from DSUtil.h to AudioParser.h and use 5.0 instead of 4.1 for five channels
AudioParser: added GetVorbisChannelMask

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5073 10f7b99b-c216-0410-bff0-8a66a9350fd8
MpaDecFilter: changed working with audio channels (remake, cleaning, removed useless code)

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5074 10f7b99b-c216-0410-bff0-8a66a9350fd8