summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-06-13 15:40:30 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-06-13 15:40:30 +0000
commit6ed20eae1c478e08ff54f96fd7b8c801b37663d9 (patch)
treeb85917e4a799afe687625039d7e4fe9c67528faf
parent183768ab610f9d81fb21ba2fc1c732d27c38c873 (diff)
downloadxine-lib-6ed20eae1c478e08ff54f96fd7b8c801b37663d9.tar.gz
xine-lib-6ed20eae1c478e08ff54f96fd7b8c801b37663d9.tar.bz2
make sure the current decoder plugin name is included in verbosity debug
CVS patchset: 6684 CVS date: 2004/06/13 15:40:30
-rw-r--r--src/xine-engine/load_plugins.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c
index c4ee50148..2c3fca35c 100644
--- a/src/xine-engine/load_plugins.c
+++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.179 2004/06/09 17:31:08 mroi Exp $
+ * $Id: load_plugins.c,v 1.180 2004/06/13 15:40:30 miguelfreitas Exp $
*
*
* Load input/demux/audio_out/video_out/codec plugins
@@ -1656,6 +1656,10 @@ video_decoder_t *_x_get_video_decoder (xine_stream_t *stream, uint8_t stream_typ
if (vd) {
vd->node = node;
node->ref ++;
+ xprintf(stream->xine, XINE_VERBOSITY_DEBUG,
+ "load_plugins: plugin %s will be used for video streamtype %02x.\n",
+ node->info->id, stream_type);
+
pthread_mutex_unlock (&catalog->lock);
return vd;
} else {
@@ -1729,6 +1733,9 @@ audio_decoder_t *_x_get_audio_decoder (xine_stream_t *stream, uint8_t stream_typ
if (ad) {
ad->node = node;
node->ref ++;
+ xprintf(stream->xine, XINE_VERBOSITY_DEBUG,
+ "load_plugins: plugin %s will be used for audio streamtype %02x.\n",
+ node->info->id, stream_type);
pthread_mutex_unlock (&catalog->lock);
return ad;
} else {
@@ -1801,6 +1808,9 @@ spu_decoder_t *_x_get_spu_decoder (xine_stream_t *stream, uint8_t stream_type) {
if (sd) {
sd->node = node;
node->ref ++;
+ xprintf(stream->xine, XINE_VERBOSITY_DEBUG,
+ "load_plugins: plugin %s will be used for spu streamtype %02x.\n",
+ node->info->id, stream_type);
pthread_mutex_unlock (&catalog->lock);
return sd;
} else {