Fix spelling mistake
MythUIWebBrowser: fix the keyboard toggle message

Somehow the code got merged into the wrong if statement.
Fix mythgame build after [cf5b1e87]
Fix unit test on mac.

This add requirement for mac os 10.5 minimum.

unit tests require to run against the freshly compiled non-installed library.
To do so, it makes use of rpath functionality. However, on mac rpath behaves differently and require to modify the library install_path value and amend @rpath to it

Update external libraries to be compiled in the same fashion.
Add AudioOutputUtil::InterleaveSamples method.

Will allow to convert planar audio into interleaved. Currently using FFmpeg's SWR_CONVERT which has a much more extensive range of capabilities.
AudioOutputUtil::InterleaveSamples doesn't need to allocate memory, and is much faster and simpler for this straightforward task.
Add AudioOutputSettings::AVSampleFormatToFormat API.

As name suggests
Update AudioOutputUtil::DecodeAudio to use new API
Update AVFD to use new AudioOutputSettings::AVSampleFormatToFormat
Update mythmusic avfd to use new AudioOutputSettings::AVSampleFormatToFormat
remove left over variable after [c8a3eedc105]
MythBrowser: fix Coverity ID 1026727 Uninitialized scalar field

In WebPage::?WebPage(): A scalar field is not initialized by the constructor.
Filter and sort DVD subtitle tracks so that only the tracks mapped into the current program chain are shown.

This patch also adds the subtitle streams that are mapped but have not yet been
physically read.  This allows the user to select the language without having to
wait for the first subtitle packet (and therefore miss it).

Fixes #9429

Signed-off-by: Jonatan Lindblad <jlindblad@mythtv.org>
MythBrowser: let the MythUIWebBrowser set the correct zoom
Merge branch 'master' of code.mythtv.org:mythtv
MythGame: fix compilation on Gentoo after [cf5b1e87]
MythZoneMinder: fix Coverity ID 1026721 Unchecked dynamic_cast

In ZMPlayer::keyPressEvent(): Dynamic_cast may fail and return null if the
type cast is incompatible.

This is a false positive because Create() has already checked those widgets
exist and would fail if they didn't long before we get to this code.
MythUIWebBrowser: load the zoom setting from the DB

Missed this in [69af1443ef]
Fix potential null pointer derefence. Coverity 700394
Change a dynamic cast for a static one. 'channel' can only be a DVBChannel object at this point so it's not necessary to do a dynamic cast. Coverity 700395
Fix static analysis detected error regarding undefined array index in dvdringbuf.cpp

Static analysis (scan-build) detected a potential code path such that guess_palette
could be called without having the palette variables initialized, which would result
in indexing m_clut with an undefined value.
(cherry picked from commit 824013456f41f4c90daa1f1a3879a1c9e06c28c5)

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>

Fixes #11550