Fixes owerflow warning during compilation.
[rbp/omxplayer] Fix audio sync with visualisation

As GPU can buffer a few seconds of audio, and the visualisation is updated immediately, they are badly out of sync.
The solution is to push the visualisation data through a queue, and retrieve it from queue when the media time is reached.
[rbp/omxplayer] Fixes for trickplay

In #2955 we lied in GetTime when in trickplay modes to avoid jittery updates in elapsed time.
This was wrong when GetClock() didn't match the media time (e.g. when playback was started from a bookmark).

The jitter is caused by the DISPLAYTIME messages that don't really work on omxplayer.
Instead bypass the DISPLAYTIME messages and set the time explicity in OMXPlayer (using media time where appropriate).

Also in trickplay, do the seek/flush step more to fix an issue when going from normal to rewind after EOS

Also don't honour the "accurate" seek flag, as it results in corrupt frames being displayed
settings: split requirement conditions from <visible> conditions into new <requirement> tag
[win32] update VS project files
settings: implement new "visible" dependency for dynamically showing/hiding settings
remove check if running from DVD. this is XBOX legacy which isn't used anymore
Merge pull request #3014 from bfg1981/master

Avoid overflow warning during compilation.

Note the warning is invalid. But it doesn't hurt to range check the input variable before it is compared to the lengths of the internal buffers.
Merge pull request #3061 from MartijnKaijser/xbox_legacy_dvd

remove check if running from DVD
added: generate and install cmake helpers for addons
Merge pull request #2981 from cptspiff/cmake-rules

added: generate and install cmake helpers for addons
[osx/ios/atv2] - sync xcode project
Merge pull request #3038 from popcornmix/improve_ffrew

[rbp/omxplayer] Fixes for trickplay
[cosmetics] - get rid of some checks for _WIN32 and replace them with proper TARGET_WINDOWS checks
[rbp/omxplayer] Fix build error in types for max

It seems there is a compile error when STDINT_H_AVAILABLE is not defined.
See: http://raspbmc.apt-get.eu/downloads/bin/xbmc/nightlies/xbmc-rbp-20130710.log
Merge pull request #3067 from popcornmix/fix_compile_max

[rbp/omxplayer] Fix build error in types for max
[rbp/omxplayer] Avoid flushing fifos when audio/video fifos out of sync

This was intended to be a never happens event that could reset the state when something bad happens.
However it does trigger in some reasonable cases (like audio codec change) and makes things worse.
[rbp/omxplayer] Support frame advance with right arrow when paused

It seems this is desired behaviour for xbmc, and works okay on Pi, so enable it.
[rbp/omxplayer] Apply deinterlace changes immediately

Currently on Pi the deinterlace state is only sampled when opening the player.
This means to change deinterlace settings, you need to change in the video OSD then manually quit and restart the video.
This commit detects a change in current deinterlace settings and closes and opens the video player which applies the setting.

For seekable streams, seeking to "now" makes the video restart quicker.
Without the seek, the video does reappear, but takes a number of seconds
[rbp/omxplayer] Fix uninitialised variable that can lose audio packet

The uninitialised variable meant the first run through Decode goes through the non-passthrough path (when passthrough)
and so doesn't get correctly submitted and is discarded