diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-19 20:22:10 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-19 20:22:10 +0000 |
commit | 21346bc5ef4447826a789c77e93d52e91aad6e9b (patch) | |
tree | c6ac06bfb6d347e14cfd1c8c4a4746bf7752ad2d | |
parent | b45565bdab53b80b4d44901a6c23c6c7a9a0e544 (diff) | |
download | mpv-21346bc5ef4447826a789c77e93d52e91aad6e9b.tar.bz2 mpv-21346bc5ef4447826a789c77e93d52e91aad6e9b.tar.xz |
added missing tuning parameters (inversion and coderate) and changed debug level in dvb_streaming_read()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12048 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/dvbin.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libmpdemux/dvbin.c b/libmpdemux/dvbin.c index 80e2abdb79..d774c1b77d 100644 --- a/libmpdemux/dvbin.c +++ b/libmpdemux/dvbin.c @@ -195,6 +195,11 @@ static dvb_channels_list *dvb_get_channels(char *filename, int type) 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 @@ static int dvb_streaming_read(stream_t *stream, char *buffer, int size) 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 @@ static int dvb_streaming_read(stream_t *stream, char *buffer, int size) 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 { |