Use the correct index for program.previouslyshown in the query result.

Signed-off-by: Jim Stichnoth <jstichnoth@mythtv.org>
(cherry picked from commit 25aa598fda8fce1d1ed36c68b9da75ebfd1c7476)
OpenGLVideo: Fix a double free in AddFilter() when OptimiseFilters() fails

Fixes #11430
MythUI: Fix use after free in MythUIEditBar

The call to ReleaseImages() in MythUIEditBar's dtor caused a free memory read
since SetRedraw() accesses its parent whose dtor has already been called.

Calling ReleaseImages() from MythUIEditBar's dtor also isn't necessary since the
images in m_images are children of MythUIEditBar and are automatically deleted
by Qt.

Fixes #11458, Refs #11402
mythzmserver: Add a proper check for a failed call to mmap()

Should be checking for MAP_FAILED not NULL. Also add some additional debugging
showing why we failed to open the mmap file. Fixes #11187.

(cherry picked from commit 52b277397431dd88a337e46a7d64fea89c8037c0)

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
Remove a stray comma in music-ui.xml
MythMusic: Various cleanups/fixes to radio streaming

* Always save and load the icon from the same location (must of changed my mind
  where to  store the icon at some point and not changed both locations it's
  used)

* Fix a segfault after editing a stream (a stale pointer was being used)

* Various fixes to ensure the correct metadata is displayed after editing a
  stream

Fixes #11313.
MythMusic: Add missing default 4:3 stream-ui.xml theme file

Refs #11369.
Enable proper display of elapsed time when paused with VAAPI.

Make sure av_pause_frame is updated so that the player can pick up the
current frame number while paused.  Refs #10962
Change MythDate::toString() to return an empty string for invalid inputs.

It's possible a "0000-00-00 00:00:00" might be somewhat acceptable in
some rare cases because the all 0s value obviously represents a
special value.  The UTC to local conversions added in 0.26, however,
now causes it to change to a less obviously special, and perhaps even
misledaing, not all 0s value.  Since MythDate::toString() was a
Myth-specific replacement for QDateTime::toString() and
QDate::toString() and those functions return an empty string for
invalid inputs, we probably should too.

Fixes #11405 .
Fix auto-width calculation in mythtranscode.

Issue discovered, corrected, and tested by 'rich0' in IRC.  Thanks.
Merge remote-tracking branch 'upstream/master'