[Mplayer-cvslog] CVS: main/libmpdemux dvbin.h,1.5,1.6

Nico Sabbi CVS syncmail at mplayerhq.hu
Mon Apr 26 23:17:31 CEST 2004


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv4162

Modified Files:
	dvbin.h 
Log Message:
new configuration structure, gcc warn silencing

Index: dvbin.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/dvbin.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dvbin.h	29 Jan 2004 10:36:33 -0000	1.5
+++ dvbin.h	26 Apr 2004 21:17:29 -0000	1.6
@@ -32,10 +32,6 @@
 
 #include "inttypes.h"
 
-typedef struct
-{
-    int next, prev;
-} dvb_history_t;
 
 typedef struct {
 	char 				*name;
@@ -54,9 +50,21 @@
 typedef struct {
 	uint16_t NUM_CHANNELS;
 	uint16_t current;
-	dvb_channel_t channels[512];
+	dvb_channel_t *channels;
 } dvb_channels_list;
 
+typedef struct {
+	int type;
+	dvb_channels_list *list;
+	char *name;
+	int devno;
+} dvb_card_config_t;
+
+typedef struct {
+	int count;
+	dvb_card_config_t *cards;
+	void *priv;
+} dvb_config_t;
 
 
 typedef struct {
@@ -66,6 +74,7 @@
     int demux_fd[3];
     int dvr_fd;
 
+    dvb_config_t *config;
     dvb_channels_list *list;
 	int tuner_type;
 	int is_on;
@@ -80,10 +89,7 @@
 #define TUNER_CBL	3
 
 extern int dvb_step_channel(dvb_priv_t *, int);
-extern int dvb_set_channel(dvb_priv_t *, int);
-extern int dvb_open_fe(dvb_priv_t *priv);
-
-extern dvb_history_t dvb_prev_next;
-
+extern int dvb_set_channel(dvb_priv_t *, int, int);
+extern dvb_config_t *dvb_get_config();
 
 #endif




More information about the MPlayer-cvslog mailing list