Refs #10745. close & reopen H.264 codec when necessary.

The libav H.264 decoder doesn't support resolution changes in
multithreaded mode. When we detect a resolution change in this
mode we now close and reopen the codec. jya came up with the
workaround, I just refined it a little bit.
Remove MythCenter-wide/fonts/ directory.

The contents are redundant after [0dcd637cc526f2292bc7d6536205e407e252b802].
Mythweather - If for some reason the screen doesn't exist in the DB then we need to abort the save or insert bogus entries.
Fixes #9861.  Rotate upside-down iPhone videos.

Thanks to David Badia for the patch (slightly modified to eliminate
compiler warnings and conform to coding standards).

This has been tested under the Slim and VDPAU Normal playback profiles.

Signed-off-by: Jim Stichnoth <jstichnoth@mythtv.org>
Add missing files after 60cf735196cf267226dd8f7ec937a82fb5f8d4b3 .
Simplify Setup pincode checking. Refs #10950
Restore setup pincode following [57adc5d120]

'57adc5d120 - Flatten the Setup Menus in the default menu theme' dropped util_menu.xml but failed to carry over the <password> markup.

Fixes #10950
Ignore time periods in the past for the Metoffice 18 hour grabber.

The feed doesn't always update on time so it's possible for one or
even two 'historical' time periods to precede the data we're
interested in. This just ignores any forecasts more than 3 hours in
the past, which is the duration of each forecast period.
Set s_pgq to NULL after we delete it PreviewGeneratorQueue.
Make SignalHandler a singleton.

There can only be one SignalHandler object per application.
This allows AddHandler to be a static method so it can
be used outside the main initialization. Since AddHandler
doesn't actually chain handlers as suggested by it's name
this also renames the method to SetHandler.

This also adds a lock for m_sigMap so we can call SetHandler
in a thread other than the main thread.

Finally, this allows a handler to be added for SIGINT and
SIGKILL.
Fix SIGINT/SIGTERM handling during video playback.

This was broken when SignalHandler was introduced.
There were two problems:
  1/ Calling QCoreApplication::exit()/quit() doesn't actually make the
     program exit if it is in the video playback loop since we take
     over the UI event loop. This has been fixed by periodically
     checking SignalHandler::IsExiting() and setting TV::wantsToExit
     if it is true.
  2/ The VideoOutputXv already had a signal handler for SIGINT, but
     so when we exit playback the first time we were resetting the
     SIGINT handler. This has been fixed by using the
     SignalHandler::SetHandler() method introduced in the last commit
     instead of registering a signal handler ourselves and making the
     new signal handler call QCoreApplication::exit() instead of exit().
Make mythavtest always use OpenGL on Mac

Following 0a5d426a0c4ab4ac8791c9e87f8f44bf2e0b8514, do the same for mythavtest
Fix possible deadlock in AirPlay server

Under some circumstances, we could send a PLAY command while the system was already playing, so we would never receive the TVPlaybackUnpaused signal and wait forever.
Add a new TVPlaybackPlaying() signal that is always emit after handling the ACTION_PLAY event
Add method to immediately interrupt HLS read or seek.

HLSRingBuffer::Read and HLSRingBuffer::Seek always wait for sufficient data to be buffered before returning. Add two new methods: HLSRingBuffer::Interrupt() and HLSRingBuffer::Continue() to stop any wait.

Ref #10934
Fixes #10956. Special case LoggingItem in ReferenceCounter.

We can't LOG the LoggingItem reference counter as that will lead to infinite recursion.
We also can't LOG in PrintDebug() under the leakLock lock anymore because that will lead to a deadlock.
Merge remote-tracking branch 'upstream/master'