summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-06-12 23:37:16 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-06-12 23:37:16 +0000
commitd2eaa7e3911b072f1ce3751c86d06ffdc15f2f2b (patch)
tree43b6c66e6ca350d2c7a72831a70150c0a404c7ec
parenta6021b764da8c839ffada7b307cb092aee27a210 (diff)
downloadxine-lib-d2eaa7e3911b072f1ce3751c86d06ffdc15f2f2b.tar.gz
xine-lib-d2eaa7e3911b072f1ce3751c86d06ffdc15f2f2b.tar.bz2
Silence (verbosity).
CVS patchset: 5030 CVS date: 2003/06/12 23:37:16
-rw-r--r--src/demuxers/demux_asf.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index e674c7378..3718a2d08 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_asf.c,v 1.120 2003/06/12 23:18:17 tmattern Exp $
+ * $Id: demux_asf.c,v 1.121 2003/06/12 23:37:16 tmattern Exp $
*
* demultiplexer for asf streams
*
@@ -1176,7 +1176,8 @@ static int asf_parse_packet_payload_single(demux_asf_t *this,
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 @@ static int asf_parse_packet_payload_multiple(demux_asf_t *this,
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 @@ static int demux_asf_seek (demux_plugin_t *this_gen,
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);