diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-22 14:12:33 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-22 14:12:33 +0000 |
commit | ee50536b743272a8000e76b6565dbddbf938eccd (patch) | |
tree | 9e2069c497f8e195fdc6a068b5144440d1829888 /stream | |
parent | f4e93fdc48b06abbce7419112a484c2a832270ec (diff) | |
download | mpv-ee50536b743272a8000e76b6565dbddbf938eccd.tar.bz2 mpv-ee50536b743272a8000e76b6565dbddbf938eccd.tar.xz |
Accept DVB API 5, patch by Steven Brudenell, steven.brudenell gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28702 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/dvbin.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h index 84c9d2c625..dcb22ce238 100644 --- a/stream/dvbin.h +++ b/stream/dvbin.h @@ -38,9 +38,16 @@ #undef DVB_ATSC #if defined(DVB_API_VERSION_MINOR) -#if DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1 + +/* kernel headers >=2.6.28 have version 5. + * + * FIXME: are there any real differences between 3.1 and 5? + */ + +#if (DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1) || DVB_API_VERSION == 5 #define DVB_ATSC 1 #endif + #endif |