Respect results of WOA.
[rbp] Ensure resolution infos have unique names

Currently the strMode for 2D and 3D resolutions have the same name.
This means the calibration info for a 2D mode can get replaced with a 3D mode
which can result in the pixel aspect ratio being reset to 0.5.

Also when using gui resolution clamping (i.e. 720p gui on 1080p display)
the calibration settings are scaled to gui resolution, but there is no indictation
of what the clamped resolution was when the settings were saved.

This means disabling gui clamping results in a minature gui.
(And I'd like to remove the gui clamping in the future).

Make sure all these resolutions have unique names by adding the gui resolution
and 3DSBS/3DTB to the resolution string.

Note: this will result in current calibration settings being lost.
[ios/atv2] - harmonize the behaviour of builtin "shutdownmenu" - it should behave the same on all platforms now that the shutdownmenu only has usefull entries
[AE/CA] Only restore the default format if we ask for it.
[AE/CA] Simplify the ResetAudioDevices code and make sure it actually works

The old code failed to reset devices set in Encoded mode and it was
going about it in a fashion that duplicated a lot of code. This removes
all the custom code and uses already exisisting functions and that
actually makes the code functional.
mpegts: revert old change for NOHEADER, we will handle it on PMT instead
[pvr] fix: wrong condition while getting first/last epg date
changed: function parameter should be passed by reference
removed: the extra qualification 'CSysInfo::' is unnecessary
fixed: the parent class already defines a member variable m_processing but of different type. renamed it to avoid confusion.
removed: member variable already defined in parent class.
changed: rename critsection variable to prevent confusion with the cs variable from the parent class.
changed: use empty() instead of size()
[confluence] fixed position of stereoscopics and subtitle balloon-tip in video OSD

This is using the positioning of the balloon-tips like it was before the changes in GUI rendering.
mpegts: stop analyzing when pmt for all programs have been found

This disables NOHEADER after finding PMT for all programs to
avoid find_stream_info always exhausting probe size for mpegts.

This is very important for live streams since read speed
will be limited. rtsp, udp and any protocol streaming a live
mpegts will have dramatically faster startup time.

Note, lack of codec parameters for streams can still cause
the full probe size to be exhausted.
ffmpeg: add patch to stop find_stream info when all pmt's are found
Merge pull request #3795 from da-anda/fix-balloontips

[confluence] fix position of stereoscopics and subtitle balloon-tips in video OSD
linux: allow root user to raise priority
[fix] Fix compiler warning for initialization order with GNU compilers.
[fix] Remove unused parameters eliminating bw compatibility.