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

Nico Sabbi CVS syncmail at mplayerhq.hu
Mon Jul 12 22:51:37 CEST 2004


CVS change done by Nico Sabbi CVS

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

Modified Files:
	dvbin.h 
Log Message:
added multi-pid parsing code (up to 15), pid 0 is always added (for the PAT)

Index: dvbin.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/dvbin.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- dvbin.h	26 Apr 2004 21:17:29 -0000	1.6
+++ dvbin.h	12 Jul 2004 20:51:34 -0000	1.7
@@ -32,12 +32,15 @@
 
 #include "inttypes.h"
 
+#ifndef DMX_FILTER_SIZE
+#define DMX_FILTER_SIZE 16
+#endif
 
 typedef struct {
 	char 				*name;
 	int 				freq, srate, diseqc, tone;
 	char 				pol;
-	int 				vpid, apid1, apid2, tpid, dpid1, dpid2, progid, ca;
+	int 				tpid, dpid1, dpid2, progid, ca, pids[DMX_FILTER_SIZE], pids_cnt;
 	fe_spectral_inversion_t 	inv;
 	fe_modulation_t 		mod;
 	fe_transmit_mode_t 		trans;
@@ -71,7 +74,7 @@
 	int card;
     int fe_fd;
     int sec_fd;
-    int demux_fd[3];
+    int demux_fd[3], demux_fds[DMX_FILTER_SIZE], demux_fds_cnt;
     int dvr_fd;
 
     dvb_config_t *config;




More information about the MPlayer-cvslog mailing list