Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
192f7f9b
Commit
192f7f9b
authored
Mar 05, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVB: make scanning fully independent of Linux DVB
parent
3c83efbe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
modules/access/dvb/dvb.h
modules/access/dvb/dvb.h
+4
-5
modules/access/dvb/scan.c
modules/access/dvb/scan.c
+1
-1
modules/access/dvb/scan.h
modules/access/dvb/scan.h
+4
-2
No files found.
modules/access/dvb/dvb.h
View file @
192f7f9b
...
@@ -48,12 +48,11 @@ typedef struct
...
@@ -48,12 +48,11 @@ typedef struct
bool
b_has_lock
;
bool
b_has_lock
;
}
frontend_status_t
;
}
frontend_status_t
;
typedef
struct
scan_parameter_t
scan_parameter_t
;
typedef
struct
scan_t
scan_t
;
#define MAX_DEMUX 256
#define MAX_DEMUX 256
#include "en50221.h"
#include "en50221.h"
struct
scan_t
;
struct
scan_parameter_t
;
struct
access_sys_t
struct
access_sys_t
{
{
...
@@ -85,7 +84,7 @@ struct access_sys_t
...
@@ -85,7 +84,7 @@ struct access_sys_t
#endif
#endif
/* Scan */
/* Scan */
scan_t
*
scan
;
s
truct
s
can_t
*
scan
;
};
};
#define VIDEO0_TYPE 1
#define VIDEO0_TYPE 1
...
@@ -110,7 +109,7 @@ void FrontendStatus( access_t * );
...
@@ -110,7 +109,7 @@ void FrontendStatus( access_t * );
int
FrontendGetStatistic
(
access_t
*
,
frontend_statistic_t
*
);
int
FrontendGetStatistic
(
access_t
*
,
frontend_statistic_t
*
);
void
FrontendGetStatus
(
access_t
*
,
frontend_status_t
*
);
void
FrontendGetStatus
(
access_t
*
,
frontend_status_t
*
);
int
FrontendGetScanParameter
(
access_t
*
,
scan_parameter_t
*
);
int
FrontendGetScanParameter
(
access_t
*
,
s
truct
s
can_parameter_t
*
);
int
DMXSetFilter
(
access_t
*
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
);
int
DMXSetFilter
(
access_t
*
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
);
int
DMXUnsetFilter
(
access_t
*
,
int
i_fd
);
int
DMXUnsetFilter
(
access_t
*
,
int
i_fd
);
...
...
modules/access/dvb/scan.c
View file @
192f7f9b
...
@@ -49,8 +49,8 @@
...
@@ -49,8 +49,8 @@
# include <dvbpsi/nit.h>
# include <dvbpsi/nit.h>
#endif
#endif
#include "dvb.h"
#include "scan.h"
#include "scan.h"
#include "en50221.h" // FIXME
typedef
enum
typedef
enum
{
{
...
...
modules/access/dvb/scan.h
View file @
192f7f9b
...
@@ -37,7 +37,7 @@ typedef struct
...
@@ -37,7 +37,7 @@ typedef struct
char
c_polarization
;
char
c_polarization
;
}
scan_dvbs_transponder_t
;
}
scan_dvbs_transponder_t
;
struct
scan_parameter_t
typedef
struct
scan_parameter_t
{
{
scan_type_t
type
;
scan_type_t
type
;
bool
b_exhaustive
;
bool
b_exhaustive
;
...
@@ -71,7 +71,7 @@ struct scan_parameter_t
...
@@ -71,7 +71,7 @@ struct scan_parameter_t
scan_dvbs_transponder_t
*
p_transponders
;
scan_dvbs_transponder_t
*
p_transponders
;
int
i_count
;
int
i_count
;
}
sat_info
;
}
sat_info
;
};
}
scan_parameter_t
;
typedef
struct
typedef
struct
{
{
...
@@ -85,6 +85,8 @@ typedef struct
...
@@ -85,6 +85,8 @@ typedef struct
char
c_polarization
;
char
c_polarization
;
}
scan_configuration_t
;
}
scan_configuration_t
;
typedef
struct
scan_t
scan_t
;
scan_t
*
scan_New
(
vlc_object_t
*
p_obj
,
const
scan_parameter_t
*
p_parameter
);
scan_t
*
scan_New
(
vlc_object_t
*
p_obj
,
const
scan_parameter_t
*
p_parameter
);
void
scan_Destroy
(
scan_t
*
p_scan
);
void
scan_Destroy
(
scan_t
*
p_scan
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment