summaryrefslogtreecommitdiff
path: root/src/xine-engine
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2003-03-07 12:51:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2003-03-07 12:51:47 +0000
commit8e59691b2a3296f45355e8da5455bd203a64243d (patch)
treed016d66b24570c808a2555532552409e5651136c /src/xine-engine
parent82e24288adc9f9d6f490b0b352a5ecc5ed6f8700 (diff)
downloadxine-lib-8e59691b2a3296f45355e8da5455bd203a64243d.tar.gz
xine-lib-8e59691b2a3296f45355e8da5455bd203a64243d.tar.bz2
more work on console output cleanup
CVS patchset: 4357 CVS date: 2003/03/07 12:51:47
Diffstat (limited to 'src/xine-engine')
-rw-r--r--src/xine-engine/audio_decoder.c7
-rw-r--r--src/xine-engine/xine.c12
2 files changed, 11 insertions, 8 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index 930654ef0..9d9bddf26 100644
--- a/src/xine-engine/audio_decoder.c
+++ b/src/xine-engine/audio_decoder.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: audio_decoder.c,v 1.102 2003/01/14 00:10:28 miguelfreitas Exp $
+ * $Id: audio_decoder.c,v 1.103 2003/03/07 12:51:48 guenter Exp $
*
*
* functions that implement audio decoding
@@ -165,8 +165,9 @@ void *audio_decoder_loop (void *stream_gen) {
case BUF_CONTROL_AUDIO_CHANNEL:
{
- printf ("audio_decoder: suggested switching to stream_id %02x\n",
- buf->decoder_info[0]);
+ if (stream->xine->verbosity >= XINE_VERBOSITY_DEBUG)
+ printf ("audio_decoder: suggested switching to stream_id %02x\n",
+ buf->decoder_info[0]);
stream->audio_channel_auto = buf->decoder_info[0] & 0xff;
}
break;
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index e5c9a6442..02dbc64a4 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.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: xine.c,v 1.233 2003/03/06 16:49:33 guenter Exp $
+ * $Id: xine.c,v 1.234 2003/03/07 12:51:48 guenter Exp $
*
* top-level xine functions
*
@@ -774,6 +774,9 @@ static int xine_open_internal (xine_stream_t *stream, const char *mrl) {
#endif
}
+ xine_log (stream->xine, XINE_LOG_MSG,
+ "xine: found input plugin : %s\n",
+ stream->input_plugin->input_class->get_description(stream->input_plugin->input_class));
if (!stream->demux_plugin) {
@@ -797,10 +800,9 @@ static int xine_open_internal (xine_stream_t *stream, const char *mrl) {
= strdup (stream->demux_plugin->demux_class->get_identifier(stream->demux_plugin->demux_class));
}
- if (stream->xine->verbosity >= XINE_VERBOSITY_LOG) {
- printf("xine: found input plugin : %s\n",stream->input_plugin->input_class->get_description(stream->input_plugin->input_class));
- printf("xine: found demuxer plugin: %s\n",stream->demux_plugin->demux_class->get_description(stream->demux_plugin->demux_class));
- }
+ xine_log (stream->xine, XINE_LOG_MSG,
+ "xine: found demuxer plugin: %s\n",
+ stream->demux_plugin->demux_class->get_description(stream->demux_plugin->demux_class));
extra_info_reset( stream->current_extra_info );
extra_info_reset( stream->video_decoder_extra_info );