mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
dvb: fix compilation with older Linux headers
At least DTV_ENUM_DELSYS is not available in older versions. It's hard to tell when this identifier was introduced, but it appears it was probably API version 5.5.
This commit is contained in:
parent
657dd4b807
commit
ff4bd73fcb
@ -28,9 +28,10 @@
|
||||
* Version 5 is also called S2API, it adds support for tuning to S2 channels
|
||||
* and is extensible for future delivery systems. Old API is deprecated.
|
||||
* StreamID-implementation only supported since API >=5.2.
|
||||
* At least DTV_ENUM_DELSYS requires 5.5.
|
||||
*/
|
||||
|
||||
#if (DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 2)
|
||||
#if (DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 5)
|
||||
#define DVB_USE_S2API 1
|
||||
|
||||
// This had a different name until API 5.8.
|
||||
|
Loading…
Reference in New Issue
Block a user