From befb5ecec6a3be11ecfadf989ee0bba036de3389 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Thu, 6 Jan 2005 09:43:10 +0000 Subject: added support for ATSC tuner and conf.file git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14383 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/dvbin.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libmpdemux/dvbin.h') 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 #include + #include #else #include #include @@ -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); -- cgit v1.2.3