Commit 192f7f9b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DVB: make scanning fully independent of Linux DVB

parent 3c83efbe
......@@ -48,12 +48,11 @@ typedef struct
bool b_has_lock;
} frontend_status_t;
typedef struct scan_parameter_t scan_parameter_t;
typedef struct scan_t scan_t;
#define MAX_DEMUX 256
#include "en50221.h"
struct scan_t;
struct scan_parameter_t;
struct access_sys_t
{
......@@ -85,7 +84,7 @@ struct access_sys_t
#endif
/* Scan */
scan_t *scan;
struct scan_t *scan;
};
#define VIDEO0_TYPE 1
......@@ -110,7 +109,7 @@ void FrontendStatus( access_t * );
int FrontendGetStatistic( access_t *, frontend_statistic_t * );
void FrontendGetStatus( access_t *, frontend_status_t * );
int FrontendGetScanParameter( access_t *, scan_parameter_t * );
int FrontendGetScanParameter( access_t *, struct scan_parameter_t * );
int DMXSetFilter( access_t *, int i_pid, int * pi_fd, int i_type );
int DMXUnsetFilter( access_t *, int i_fd );
......
......@@ -49,8 +49,8 @@
# include <dvbpsi/nit.h>
#endif
#include "dvb.h"
#include "scan.h"
#include "en50221.h" // FIXME
typedef enum
{
......
......@@ -37,7 +37,7 @@ typedef struct
char c_polarization;
} scan_dvbs_transponder_t;
struct scan_parameter_t
typedef struct scan_parameter_t
{
scan_type_t type;
bool b_exhaustive;
......@@ -71,7 +71,7 @@ struct scan_parameter_t
scan_dvbs_transponder_t *p_transponders;
int i_count;
} sat_info;
};
} scan_parameter_t;
typedef struct
{
......@@ -85,6 +85,8 @@ typedef struct
char c_polarization;
} scan_configuration_t;
typedef struct scan_t scan_t;
scan_t *scan_New( vlc_object_t *p_obj, const scan_parameter_t *p_parameter );
void scan_Destroy( scan_t *p_scan );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment