Removed tuning timeout support from the scheduler.

It's no longer needed now that the recorder has its own timeout
support.
Merge remote-tracking branch 'upstream/master'
H264Parser: Fix decoding of SPS

This also tightens up our implementation against the latest H.264 spec.

A BIG thank you to blm-ubunet@slingshot.co.nz for taking the time to read
the spec and compare it to our implementation.

Refs #11435
Fix Network Control Play/Resume functionality.

Fixes #11032.

Signed-off-by: Chris Pinkham <cpinkham@mythtv.org>
Merge remote-tracking branch 'upstream/master'
Delete TVRec objects in the thread they were created
Do not use an on-demand timer to delay deletion of the stream handler.

the IPTVChannel instance got created in the main thread, SetStreamData can be called from different thread: the event handler (running the SignalMonitor) and the recording thread. So creating the timer could sometimes fail as not created in the thread.
So instead we keep one timer firing every 5s; and check if the stream handler has been marked for deletion.
If so, the stream handler will be deleted between 5s (worse case) and 10s.
Fixed display of playback position for DVD stills.
dtvrecorder: Flush the payload buffer whenever a new payload starts.

We start buffering at the beginning of each payload, and don't write out the
data until we know if this payload has a keyframe.  This is so a new file
(for back to back recordings) would start on a keyframe.

Further, the keyframe offset recorded in the DB, is the offset to the
beginning of the payload with the keyframe.  Or at least it was supposed to
be.  Since we were not actually flushing any data currently in the buffer at
the start of a payload, that offset could be pointing to a completely
different payload!

Fixes #11435
Subtitles: Change timecode matching mechanism for .srt files.

For timecode-based srt files, use the standard MythPlayer mechanism
for determining the current timecode, instead of directly using the
decoder and the current VideoFrame.
Fix mistake in 59512d5e9dad1cab2e5a5465dbeb7ae90fe5a128.
Add support for Miro v6.x. Fix watch video detection.

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
Merge remote-tracking branch 'upstream/master'
Fix Dvr::GetFilteredRecordedList() to return entries when no count is
given.  Previously, if filters were given without a count limit, no
entries would ever be returned.
Merge remote-tracking branch 'upstream/master'
libva (VAAPI) has changed their API.  Use the legacy API.

Validated as working by Frank P.

Fixes #11631

Signed-off-by: Gary Buhrmaster <gary.buhrmaster@gmail.com>