aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/dvbin.h
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-06 09:43:10 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-06 09:43:10 +0000
commitbefb5ecec6a3be11ecfadf989ee0bba036de3389 (patch)
treec9b7aed7b0df9fbffe78f2986069250f161e4bac /libmpdemux/dvbin.h
parentb3e964f2c3e983c633efbbe4db0a57914cdcc635 (diff)
added support for ATSC tuner and conf.file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14383 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/dvbin.h')
-rw-r--r--libmpdemux/dvbin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmpdemux/dvbin.h b/libmpdemux/dvbin.h
index aca10a9f95..a5d83d6b3b 100644
--- a/libmpdemux/dvbin.h
+++ b/libmpdemux/dvbin.h
@@ -8,6 +8,7 @@
#ifdef HAVE_DVB_HEAD
#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
+ #include <linux/dvb/version.h>
#else
#include <ost/dmx.h>
#include <ost/sec.h>
@@ -26,6 +27,12 @@
#define dmx_pes_type_t dmxPesType_t
#endif
+#undef DVB_ATSC
+#if defined(DVB_API_VERSION_MINOR)
+#if DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1
+#define DVB_ATSC 1
+#endif
+#endif
#define DVB_CHANNEL_LOWER -1
@@ -92,6 +99,7 @@ typedef struct {
#define TUNER_SAT 1
#define TUNER_TER 2
#define TUNER_CBL 3
+#define TUNER_ATSC 4
extern int dvb_step_channel(dvb_priv_t *, int);
extern int dvb_set_channel(dvb_priv_t *, int, int);