[win] Fix default value of vertical sync setting from disable to always.
Slightly less bright white which is easier on the eyes.
Avoid using CSettings to create a blank guisettings.xml for a fresh profile.  This causes a segmentation fault as documented in issue #14747.

As the file is created 'fresh' on first login of the profile, there seems to be no consequence in not creating before hand.
[AML] Fix pts error correction logic
paplayer: fix caching of streams into AE
Fixed: prevent the querystring from being stripped if no sub streams are found in a m3u8 playlist.
Fix compilation error due to missing include.

This fixes compilation error due to missing header.

 SDL_anigif.cpp: In function ‘int AG_LoadGIF_RW(SDL_RWops*, AG_Frame*, int)’:
 SDL_anigif.cpp:293:37: error: ‘malloc’ was not declared in this scope
   gd = (gifdata*)malloc( sizeof(*gd) );
                                     ^
 SDL_anigif.cpp:418:11: error: ‘free’ was not declared in this scope
   free( gd );
           ^
 make: *** [TexturePacker] Error 1
Fix compilation error related to removed structure field by ffmpeg.

ffmpeg removed reference_dts field in struct AVStream.

Related ffmpeg commit:
  http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2ba68dd044ca8fc591139c05563840f546a9c0c0
[repos] cosmetics: use temporary variable for the add-on being processed
[repos] update the broken status only if we don't have a newer add-on installed (or in the database)
[repos] cosmetics: indenting
[repos] process only the most up to date version of add-ons across all repositories
[remote keymapping] map the BACK button to Back in fullscreen (rather than smallstepback in fullscreenvideo and lockpreset in visualisation)
RFC: [addons] install dependencies prior to installing the real thing. Fixes #13918
FIX: [stereoscopic] fix 3D support for libstagefright and ios
Merge pull request #3779 from BigNoid/not_so_bright_white

[Confluence] Slightly less bright white which is easier on the eyes.
Revert PR#3231 and make "visualisation as screensaver" behave as having fullscreen toggled (so it won't trigger screensaver state at all)
ActiveAE: drop useless IsCompatible call on sink
AE: cleanup sink interface
ActiveAE: add latency paramter for sink