CHG: [droid] Do not pause music when going to background
[dvdplayer] Allow UpdateCorrection to handle audio and video jumping asynchronously

This is sequence of timestamps (before correction) from The Grand Budapest Host chapter 3.

12:07:04 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95502.94 pts:  95502.94 correction:      0.00 size:   46475
12:07:04 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:  95502.80 pts:  95502.80 correction:      0.00 size:    1792
12:07:04 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95502.98 pts:  95502.98 correction:      0.00 size:   47057
12:07:04 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.12 pts:     59.12 correction:      0.00 size:    1792
12:07:04 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.12 pts:     59.12 correction: -95443.72 size:    1792
12:07:04 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95503.03 pts:      0.00 correction: -95443.72 size:   60924
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.15 pts:     59.15 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.18 pts:     59.18 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95503.08 pts:  95503.08 correction: -95443.72 size:   46031
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.21 pts:     59.21 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95503.11 pts:  95503.11 correction: -95443.72 size:   43036
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.25 pts:     59.25 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95503.14 pts:      0.00 correction: -95443.72 size:   59193
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.28 pts:     59.28 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.31 pts:     59.31 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:2 dts:     59.49 pts:     59.49 correction: -95443.72 size:    4868
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.34 pts:     59.34 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.37 pts:     59.37 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95503.19 pts:  95503.19 correction: -95443.72 size:   42475
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.41 pts:     59.41 correction: -95443.72 size:    1792
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:     59.53 pts:     59.56 correction: -95443.72 size:   49850
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:0 dts:  95503.24 pts:  95503.28 correction: -95443.72 size:   49850
12:07:08 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.44 pts:     59.44 correction:-190887.44 size:    1792
12:07:13 T:2730484832   DEBUG: CDVDPlayer::UpdateCorrection - stream:1 dts:     59.47 pts:     59.47 correction:-190887.44 size:    1792

Note that audio and video jump at different times.

At the end of this correction should be -95443.72, but it actually jumps twice to double that.

The timestamps arriving at PlayerVideo are not continuous, but jump from 95443 to 190887.

This patch chooses to wait until audio and video have both jumped, and while only one has jumped, it gets timestamps of DVD_NOPTS_VALUE.

This fixes the problem on my dvd, and appears to also fix this issue:
http://forum.xbmc.org/showthread.php?tid=201944
[pvr] apply the view state handling on a per window basis

As reported in our forum at http://forum.xbmc.org/showthread.php?tid=175135&pid=1776697#pid1776697 the view state handling depends on the current selected group. This changes the handling to be on a per window basic instead.
ADD: Freescale i.MX6 h/w codec
ADD: [imx] native framebuffer support
CHG: [aml] move ModeToResolution to amlutils
ADD: [amlcodec] supports 4K display
increase ABI for the GUI to 5.3.0 and break backwards compatibility with Gotham
[win32][Fix] Set hDeviceNotify to 0 after a successful UnregisterDeviceNotification call.
smartplaylist: handle FieldAlbumArtist the same as FieldArtist for musicvideos
smartplaylist: only allow fields for mixed playlists that are available for both musicvideos and songs
smartplaylist: improve/fix editing mixed smartplaylists
Merge pull request #5248 from popcornmix/correctioncorrection

[dvdplayer] Allow UpdateCorrection to handle asynchronous audio and video jumping
Merge pull request #4924 from koying/fixaml4kdisplay

ADD: [amlcodec] supports 4K display
IFile and CFile: add doxy for Stat() functions
[win32] WIN32Util::ConvertPathToWin32Form: add overload to use CURL& as parameter
[win32] WIN32Util: add fileTimeToTimeT() helpers
Merge pull request #5255 from xhaggi/pvr-apply-view-state-on-a-per-window-basis
[win32][vfs] Implement new CWin32File class for local files on win32 platforms
* rewritten from scratch
* added a lot of validity checks and results checks
* correctly handle all over/under sizes of variables
* automatically hide files in filesystem with name staring from dot
* fixed bug - Write didn't update i/o pointer
* always return real current file size instead of cached value
* reimplemented Stat() better than common runtima stat() (more accurate time values, set real number of hard links, better set _S_IEXEC attribute etc.)
[win32][vfs] FileFactory: switch to new CWin32File class; remove HDFile from win32 project