h264: Reset last_pocs in case of reference or frame number inconsistencies

This prevents faulty increasing of has_b_frames
Should fix Ticket 2062

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c230af9bccc3cadb373f9007ba14fffb6c2acc75)
Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
(cherry picked from commit 1c1076385f01619f0d0933f9f4fb8f5d1e80435b)

Conflicts:
	mythtv/external/FFmpeg/libavcodec/h264_refs.c
Improved cropping of the bottom 8 lines of 1088-line video.

Refs #11358.  Reverts 9d9de7b75d5354c9130526311a0c74d7172ebe6d and
cleans up the bottom 8 lines by applying a crop filter to the source.
This is tested for the XVideo output method.

The VDPAU output method does not use the standard filter mechanism,
but it works fine on 1088-line video until the h.264 parser thinks the
resolution has changed from 1080 to 1088 lines.  To compensate, we
don't acknowledge a resolution change when this happens.
(cherry picked from commit c0bc92822fe63221ad8fc5cf52a6e661b37b6f21)

Note: the hard-coding of 1088->1080 is not the best way to handle
this.  It will be cleaned up in Master.
Make the string "Record at any time on any channel" translatable in 0.26-fixes.
Update the Danish translation of mythfrontend.
Make sure forked process has stopped when deleting MythSystem

This forces a termination in a forked MythSystem process when the
MythSystem object is destroyed, preventing a situation where the private
internal object tries to access resources from the no-longer-existent
parent object.

Fixes #11412
(cherry picked from commit 9c51ad39a65eee7a3f985a127700fbc8473ffb4e)
Called methods against wrong object in destructor.

Refs #11412
(cherry picked from commit e1f14a5380886c6ddf95379341aa0f56481b7587)
Have mythtranscode report aac_latm