[Linux] os-release: unescape quotes / backslashes
The os-release specification states that single quotes, double quotes
and backslashes are supposed to be escaped with \. Unfortunately
I missed this in my original commit 7a9aa6f5d9ac8df1c79eb06ed63bce8af162c3ba.

http://www.freedesktop.org/software/systemd/man/os-release.html
Expose ACTION_FOO, ICON_TYPE_FOO and KEY_CODE_FOO to addons
Added JSONRPC.NotifyAll as a built-in function
fixed: compile with old versions of libdbus that don't have DBUS_TYPE_UNIX_FD defined
settings: fix updating skin-related settings spinners
properly reset skin-related settings after changing the current skin (fixes #14595)
CWinSystemBase: keep RES_DESKTOP untouched at pos 0, fixes toggle fullscreen
[osx] reset to window before switching resolutions when already fullscreen. fixes bad window on return
Merge pull request #3372 from bobo1on1/olddbus

fixed: compile with old versions of libdbus
Merge pull request #3230 from spudwebb/master

Added JSONRPC.NotifyAll as a built-in function
Merge pull request #3059 from Fice/key_exposure

Expose ACTION_FOO, ICON_TYPE_FOO and KEY_CODE_FOO to addons
Merge pull request #3311 from jmarshallnz/fullscreen_switching_fixes

Fullscreen switching fixes
Merge pull request #2947 from mus65/os-release

[Linux] os-release: unescape quotes / backslashes
Merge pull request #3384 from popcornmix/omxcorecleanup

[rbp/omxplayer] OMXCore tidying
Merge pull request #3385 from Montellese/fix_skin_theme

properly reset skin-related settings after changing the current skin (fixes #14595)
[3D] Support switching to 3D resolutions

Include matching 3D flags (SBS/TAB) in the score of a resolution to switch to, to enable switching to 3d modes.
Also remove the old code that treated 3D modes differently when assigning a score.

I've also added a small weight to higher multiples of the desired framerate, so if display supports 30, 60 and 120Hz
and the video is 30fps then 30 will now be chosen rather than 120. This reduces the overhead of rendering the gui.
[confluence] Use animated gif as a cheaper working spinner
[rbp/omxplayer] Do we need discontinuity handling?

So far I've not seen what this is needed for and it does cause problems for some files.
h264_parser: Initialize the h264dsp context in the parser as well

Each AVStream struct for an H.264 elementary stream actually has two
copies of the H264DSPContext struct (and in fact all the other members
of H264Context as well):

((H264Context *) ((AVStream *)st)->codec->priv_data)->h264dsp
((H264Context *) ((AVStream *)st)->parser->priv_data)->h264dsp

but only the first of these was actually being initialised. This
prevented the addition of platform-specific implementations of
parser-related functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
h264dsp: Factorize code into a new function, h264_find_start_code_candidate

This performs the start code search which was previously part of
h264_find_frame_end() - the most CPU intensive part of the function.

By itself, this results in a performance regression:
              Before          After
              Mean   StdDev   Mean   StdDev  Change
Overall time  2925.6 26.2     3068.5 31.7    -4.7%

but this can more than be made up for by platform-optimised
implementations of the function.

Signed-off-by: Martin Storsjö <martin@martin.st>