[rbp/omxplayer] remove resume players on CloseFile, fixes some small portion of audio being played when stopping a paused video
[rbp/omxplayer] Add external subs' details while updating stream details from player.
[rbp/omxplayer] update current video settings when changing setting subtitles stream to be sure we keep it synced (similiar to what we already do when we show/hide subtitles)
[rbp/omxplayer] Use CUtil::GetExternalStreamDetailsFromFilename to determine external subtitles's details.
These are language, name and flag.
[rbp/omxplayer] Allow the use of external subtitles for DVDs
[rbp/omxplayer] allow external .sub subtitles next to text-based ones
[rbp/omxplayer] allow setting the video's stereo scopic mode from video settings
[rbp/omxplayer] Unpause (if applicable) when going to DVD menu
[rbp/omxplayer] Add busydialogdelayms advanced setting.
[rbp/omxplayer] Take advantage of if evaluation order.
[rbp/omxplayer] Remove unnecessary NULL check.
[rbp/omxplayer] Set CMediaSettings::Get().GetCurrentVideoSettings().m_AudioStream on open/set.
[rbp/omxplayer] Save the subtitle number at the end of the OpenSubtitleStream() method.
Regardless of whether the subtitle has been opened successfully or not.
[rbp/omxplayer] prune from usage of DWORD and BYTE typedefs
[rbp/omxplayer] Fix (harmless) typo with video/audio fifo levels
Merge pull request #3557 from popcornmix/update_dvdplayer

[rbp/omxplayer] Apply latest commits from dvdplayer to omxplayer
[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>