From: Dave Chapman Date: Thu, 10 Jan 2013 21:08:10 +0000 (+0000) Subject: Second attempt at protecting TRANSMISSION_MODE_4K from users with old versions of... X-Git-Tag: v3.5~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60371b07f8e48ef5001027251e877db252054637;p=thirdparty%2Ftvheadend.git 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. --- diff --git a/src/dvb/dvb_tables.c b/src/dvb/dvb_tables.c index 5c1398c4b..ecc540b83 100644 --- a/src/dvb/dvb_tables.c +++ b/src/dvb/dvb_tables.c @@ -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 */