Remove unneeded or outdated _MSC_VER macro #ifs
[dvd/omxplayer] don't override NextItem/PreviousItem with chapter skipping
pvr: Pass selected item to menu hooks

Currently it is not possible to retrieve any information about the
selected item in the addon's menu hook callback. Therefore menu
hooks can only trigger actions per category, but not per item.

This patch removes this limitation by extending CallMenuHook with
an item parameter representing the type (PVR_MENUHOOK_CAT) and the
data of the currently selected item. The type PVR_MENUHOOK_UNKNOWN
indicates that no selection is available (as for settings hooks).
Add ripped CDs automatically to database
adds disc number to cue sheets
cleanup CueDocument
[DVDPlayer/Subs] Save the subtitle number at the end of the OpenSubtitleStream() method.
Regardless of whether the subtitle has been opened successfully or not.
[GuiDialog/PlayerControls] Use CMediaSettings::Get().GetCurrentVideoSettings().m_SubtitleStream instead of g_application.m_pPlayer->GetSubtitle().
The latter one returns the maximal index if the current subtitle could not be opened. This yields wrong info about the subtitle.
Merge pull request #2756 from Karlson2k/no_old_msc_ver

Remove unneeded or outdated _MSC_VER macro #ifs
[rbp/omxplayer] Simplify clock handling

In OMXClock we have an almost complete copy of DVDClock, so just use DVDClock directly.

The passing through of CDVDClock functions from OMXClock is hopefully temporary,
as I think clock manipulation is better handled from OMXPlayer than audio/video players.
Merge pull request #2833 from popcornmix/simplify_clock

[rbp/omxplayer] Simplify clock handling
[rbp/buildsystem] changed set USE_TEXTUREPACKER_NATIVE_ROOT in the build environment
[rbp/omxplayer] Add plumbing for audio GetCacheTotal
[rbp/omxplayer] OMX spec says we can transition from execute to idle
[rbp/omxplayer] Workaround for audio_mixer is not required

We have similar code in command line omxplayer, and that has never had this
workaround. I've been running with it removed for some weeks with no problems.

I believe it was working around a bug elsewhere that is no longer present.
[rbp/omxplayer] Add calls for stepping and retreiving the clock adjustment
[rbp/omxplayer] Use OMXPlaySpeed for pause/resume
[rbp/omxplayer] dispmanx now handles negative rectangles correctly so adjustment not required
[Python] Adds an optional parameter "sound" to Dialog::notification to allow a silent notification
Merge pull request #2836 from popcornmix/tidyups

[rbp/omxplayer] Some code tidy ups