From: Thibaut M. <tma...@us...> - 2003-06-12 23:37:20
|
Update of /cvsroot/xine/xine-lib/src/demuxers In directory sc8-pr-cvs1:/tmp/cvs-serv8357 Modified Files: demux_asf.c Log Message: Silence (verbosity). Index: demux_asf.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/demuxers/demux_asf.c,v retrieving revision 1.120 retrieving revision 1.121 diff -u -r1.120 -r1.121 --- demux_asf.c 12 Jun 2003 23:18:17 -0000 1.120 +++ demux_asf.c 12 Jun 2003 23:37:16 -0000 1.121 @@ -1176,7 +1176,8 @@ if (stream && stream->fifo) { if (stream->resync && (*timestamp >= this->keyframe_ts)) { - printf ("demux_asf: stream resynced\n"); + if (this->stream->xine->verbosity >= XINE_VERBOSITY_DEBUG) + printf ("demux_asf: stream resynced\n"); stream->resync = 0; stream->skip = 0; } @@ -1281,7 +1282,8 @@ if (stream && stream->fifo) { if (stream->resync && (*timestamp >= this->keyframe_ts) && !frag_offset) { - printf ("demux_asf: stream resynced\n"); + if (this->stream->xine->verbosity >= XINE_VERBOSITY_DEBUG) + printf ("demux_asf: stream resynced\n"); stream->resync = 0; stream->skip = 0; } @@ -1903,8 +1905,8 @@ start_pos -= this->packet_size; } if (state != 5) { - /* begining of the stream */ - printf ("demux_asf: demux_asf_seek: begining of the stream\n"); + if (this->stream->xine->verbosity >= XINE_VERBOSITY_DEBUG) + printf ("demux_asf: demux_asf_seek: begining of the stream\n"); this->input->seek (this->input, this->first_packet_pos, SEEK_SET); } else { this->input->seek (this->input, start_pos + this->packet_size, SEEK_SET); |