~mythbuntu-dev/mythtv/+git/mythtv:fixes/0.28

Last commit made on 2019-08-12
Get this branch:
git clone -b fixes/0.28 https://git.launchpad.net/~mythbuntu-dev/mythtv/+git/mythtv

Branch merges

Branch information

Name:
fixes/0.28
Repository:
lp:~mythbuntu-dev/mythtv/+git/mythtv

Recent commits

bf8956a... by Peter Bennett <email address hidden>

dbcheck: Enforce correct recgroupids for special recording groups

If the mysql server is set up with auto_increment_increment=2 or
some value other than 1, the wrong values were set for the special
recording groups.

This only fixes it for new database setups or upgrades from schema
id 1320.

Refs #13473

(cherry picked from commit da558ca5f531b8074155946b96c82ef4fe0ddefa)

9031599... by David Hampton <email address hidden>

Automatically disable vaapi on armv7l architectures.

(cherry picked from commit 296fadf64d70215f6e00f0fcaa0a565ba340c852)

ae037d0... by Gary Buhrmaster <email address hidden>

Fix crash during recording with newer compilers

Invalid attempt to access subscript 0 of a vector of size 0 causes
an abort with newer compilers. Fixed in three places.

Fixes #13263

Signed-off-by: Peter Bennett <email address hidden>
(cherry picked from commit eba1a192dbc5d81c29f0e08300a760038d20e1cd)

519a3f5... by David Hampton <email address hidden>

Revert "Fix crash in ProgramMapTable::Create"

This reverts commit 0635315b. It is causing failed recordings on
DVB-S/S2 SAT multiplexes.

0635315... by David Hampton <email address hidden>

Fix crash in ProgramMapTable::Create

Abort in libmythtv due to accessing beyond the size of the vector.

With at least some recording sources (I am using an OCUR device) it is
apparently possible to end up having zero descriptors in the stream
when ProgramMapTable::Create is called, but GCC 8 (and libstdc++) now
includes AddressSanitizer integration for std::vector, detecting
out-of-range accesses to a vector, which means that referencing the
0th element is now an error (and an abort) even though the called code
would not typically copy any data.

Patch from Gary Buhrmaster, fixes #13263.

(cherry picked from commit 7f00642ba11eb0d9d633a23ce74e5b695c05153e)

bd456a2... by David Hampton <email address hidden>

Fix crash (abort) in MythSocket::ResetReal

In libmythbase mythsocket.cpp MythSocket::ResetReal there can be cases
where there are no bytes to available to read, so the vector is never
resized to greater than zero, which results in an abort when
referencing the 1st (non-existant) element which is now checked by
gcc8 (libstdc++).

Patch from Gary Buhrmaster, fixes #13264.

(cherry picked from commit 1f78097f0cef0ca15e1b7eee4e94fd17ca3b07b7)

2d49bc1... by Peter Bennett <email address hidden>

Raspberry Pi Openmax Audio: Fix swapped channels when using PCM output

Fixes #13249

(cherry picked from commit 5377e5089e243ec282514b6d68afb800c02aca03)

8238e83... by Stuart Auchterlonie <email address hidden>

Setting VERSION to v0.28.2

eaf8231... by Stuart Auchterlonie <email address hidden>

Fix FTBFS due to ambiguous calls to endsWith and startsWith

(cherry picked from commit 572a9f4c07c0a6205fcf2477c6e3827f0fdb12a2)

3b6c6d1... by David Hampton <email address hidden>

Fix cppcheck warning about unclear operator precedence.

The warning was that the precedence for '&' and '?' was unclear. The
intent of the code looks unambiguous, but adding parentheses to make
it explicit eliminates the cppcheck warning.

(cherry picked from commit d88976d2ae6b699d1b25ebf0566c796ff503a02f)