# HG changeset patch # User nicodvb # Date 1079727730 0 # Node ID 6fbcdac049c6382c8b21ed89226d9fe03181343b # Parent cf68f8b514b0f3a72bda1b084b7e4dd79a1f3348 added missing tuning parameters (inversion and coderate) and changed debug level in dvb_streaming_read() diff -r cf68f8b514b0 -r 6fbcdac049c6 libmpdemux/dvbin.c --- a/libmpdemux/dvbin.c Fri Mar 19 20:06:30 2004 +0000 +++ b/libmpdemux/dvbin.c Fri Mar 19 20:22:10 2004 +0000 @@ -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 {