CHG: [droid] Do not pause music when going to background
[win32] upgrade xbmc-test to VS2013 and remove unused projects
[addons] respect type information for addons with no extension

fixme was fixed in 8d99ec72b6a
[python] only add modules listed as dependecy to path
ALSA: remove log spam by adding not ELD listed passthrough formats after the pcm formats
smartplaylists: fix generated SQL query for multi-value rules with a negated parameter (fixes #15313)
[omxplayer] Don't flush queued data on general reset

We were flushing the queue of data to gpu (which can be a number of seconds worth) on a general reset.
However this is generated on inoccuous events like a chapter change in dvd playback.

This results in a few seconds loss of audio, and a temporary audio/video sync error
[UX] consistent playback behavior for music and video
[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
This new version of SQLite offers significant speed improvements in my
testing. For example, the time it takes to issue

    SELECT * FROM tvshowview  GROUP BY tvshowview.idShow

(the first time the TV Shows library is opened) with 344 TV shows on a
non-overclocked Raspberry Pi changed as follows. Times are in seconds:

          Before          After
          Mean   StdDev   Mean   StdDev  Confidence  Change
    Time  2935.6 6.2      2774.1 38.3    100.0%      +5.8%
[bluray] Add mouse support in menus.
[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.
jsonrpc: fix detection of alpha build versions
[airplay] - fix http compliance by always sending the content-length header (even if content is 0 bytes) - fixes #15395
cximage: fix broken cr2 after wrong backport of security fix d13aee8e81be9032ed78fd707d485fdcb4ed5bd6
Merge pull request #5262 from Memphiz/airplayhttp
AEChannelInfo: Adjust the fixed layouts to ffmpeg order
[Fix] Only handle BD_EVENT_ANGLE events if we have a valid/sane playlist id.
[lirc] preventing multiple connections to the lirc socket ...
... which get lost in nirvana
[added] Support for proper screenshot on some mce remotes

Add support print -> screenshot in this example.

Some MCE remotes have such keys as print, eject, slideshow, aspect etc.

e.g http://h10025.www1.hp.com/ewfrf/wc/document?cc=uk&lc=en&docname=c00844678