[Mplayer-cvslog] CVS: main/libmpdemux dvbin.c,1.5,1.6
Nico Sabbi CVS
syncmail at mplayerhq.hu
Fri Mar 19 21:22:12 CET 2004
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv20223
Modified Files:
dvbin.c
Log Message:
added missing tuning parameters (inversion and coderate) and changed debug level in dvb_streaming_read()
Index: dvbin.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/dvbin.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dvbin.c 29 Jan 2004 10:36:33 -0000 1.5
+++ dvbin.c 19 Mar 2004 20:22:10 -0000 1.6
@@ -195,6 +195,11 @@
ptr->freq *= 1000UL;
ptr->srate *= 1000UL;
ptr->tone = -1;
+ ptr->inv = INVERSION_AUTO;
+ ptr->cr = FEC_AUTO;
+ if((ptr->diseqc > 4) || (ptr->diseqc < 1))
+ continue;
+ ptr->diseqc--;
mp_msg(MSGT_DEMUX, MSGL_V,
"NUM: %d, NUM_FIELDS: %d, NAME: %s, FREQ: %d, SRATE: %d, POL: %c, DISEQC: %d, TONE: %d, VPID: %d, APID1: %d, APID2: %d, TPID: %d, PROGID: %d\n",
list->NUM_CHANNELS, fields, ptr->name, ptr->freq, ptr->srate, ptr->pol, ptr->diseqc, ptr->tone, ptr->vpid, ptr->apid1, ptr->apid2, ptr->tpid, ptr->progid);
@@ -294,7 +299,7 @@
int fd = stream->fd;
dvb_priv_t *priv = (dvb_priv_t *) stream->priv;
- mp_msg(MSGT_DEMUX, MSGL_V, "dvb_streaming_read(%d)\n", size);
+ mp_msg(MSGT_DEMUX, MSGL_DBG3, "dvb_streaming_read(%d)\n", size);
tries = priv->retry + 1;
@@ -308,7 +313,7 @@
if((rk = read(fd, &buffer[pos], rk)) > 0)
{
pos += rk;
- mp_msg(MSGT_DEMUX, MSGL_V, "ret (%d) bytes\n", pos);
+ mp_msg(MSGT_DEMUX, MSGL_DBG3, "ret (%d) bytes\n", pos);
}
else
{
More information about the MPlayer-cvslog
mailing list