Second attempt at protecting TRANSMISSION_MODE_4K from users with old versions of the DVB API. We just assume that it was introduced with the current API (5.3) as it is very unlikely anyone will actually come across such a broadcast.

This commit is contained in:
Dave Chapman 2013-01-10 21:08:10 +00:00
parent ad2a737a11
commit 60371b07f8

View file

@ -632,7 +632,7 @@ static const fe_guard_interval_t guard_interval_tab [4] = {
static const fe_transmit_mode_t transmission_mode_tab [4] = {
TRANSMISSION_MODE_2K,
TRANSMISSION_MODE_8K,
#if DVB_API_VERSION >= 5
#if DVB_VER_ATLEAST(5,3)
TRANSMISSION_MODE_4K,
#else
TRANSMISSION_MODE_AUTO, /* For older DVB API versions - hope the device can detect */