[MPlayer-cvslog] r28702 - trunk/stream/dvbin.h

diego subversion at mplayerhq.hu
Sun Feb 22 15:12:33 CET 2009


Author: diego
Date: Sun Feb 22 15:12:33 2009
New Revision: 28702

Log:
Accept DVB API 5, patch by Steven Brudenell, steven.brudenell gmail com.

Modified:
   trunk/stream/dvbin.h

Modified: trunk/stream/dvbin.h
==============================================================================
--- trunk/stream/dvbin.h	Sun Feb 22 10:25:13 2009	(r28701)
+++ trunk/stream/dvbin.h	Sun Feb 22 15:12:33 2009	(r28702)
@@ -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
 
 



More information about the MPlayer-cvslog mailing list