Change the ADJUSTSTRETCH action to also support toggling.

Previously, pressing ADJUSTSTRETCH while alredy in time-stretch adjust
mode exited the mode.  Doing so now toogles the time-stretch speed.
SELECT and ESCAPE can be used to exit time-stretch adjust mode
instead.  This change allows convenient access to both adjusting and
toggling the time-stretch speed with a single key.
Updated MythFrontend English GB translation
from Nick Morrott

Thank you Nick!

Closes #11521

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
Fix FFmpeg resync to release/1.1

I had missed some changes.
Require to run make distclean & configure
activate some EIT fixups for Unitymedia (DVB-C Germany)

enable RTL subtitle parsing for RTL Television and RTL Nitro
fix encoding for Das Vierte
EITFixup: mark ServusTV HD on Unitymedia as HD
mythnews: fix debugging in NewsSite::parseRSS()
MythCookieJar: fix loading/saving of cookies to a file

I assume the intention here was to save to a file not to a QString!
MythUIWebBrowser: load/save cookies to a text file

This fixes the annoyance of many UK based websites now asking you to accept
their cookie policy when you visit them.
changed: allow 4 second skew between streams in mov before attempting to seek

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
Apply patch from XBMC by Joakim Plate: "changed: allow 4 second skew between streams in mov before attempting to seek"
Reduce buffer size used while scanning media.

For some reasons, when playing a MOV file by AirPlay from an iPhone fails when the buffer is too big. So add a method for specific stream allowing to temporarily reduce the size of the buffer. I suspect an issue in FFmpeg caching code.
This allows to work around it, without investigating too much the "why".

Fixes #11263
Write broken aac frames to mov files instead of skipping them.

Fixes decoding with picky media players.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b448c0a68d0cc7dfef736267dfdaed0e213c020b)
Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
smacker: fix off by one error

Regression since a93b572ae4f517ce0c35cf085167c318e9215908.

Fixes #2426.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit e3cc92a623a6ece42816c7a692c8815688a99ab0)
Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
Skip padding in an id3 tag in aiff files.

Fixes ticket #2430.

Reviewed-by: Matthieu Bouron
(cherry picked from commit db2d3a90825025b2f5da85792e1df33280c61391)

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
Use correct path for goom stuff in libmythtv.pro
Detect OpenGL under Qt5 on ubuntu.

The Qt5 OpenGL package is installed as Qt5OpenGL not QtOpenGL.
Fix compilation w/Qt5 & OpenGL.
Make Qt glob expand test subdir targets.

If you don't use the unfortunately undocumented 8846files() qmake function
then qmake 4.8.x will not run qmake on the globbed subdirectories (qt5
does run it).
Revert "Reduce buffer size used while scanning media."

This reverts commit 3345a03162f704d70081fe558d4ce6e7659bf323.
Rewrite of StreamingRingBuffer::safe_read

safe_read was based on FFmpeg's ffurl_read_complete, however when an EOF or an error is encountered, ffurl_read_complete returns the error code rather than the number of bytes read so far.
Rather than wait for FFmpeg to fix it (ref: https://ffmpeg.org/trac/ffmpeg/ticket/2537) ; work around it.
safe_read now will set errno as expected and always return a value >= 0 representing the number of bytes actually read.

Fixes #11263