diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-19 23:33:33 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-19 23:33:33 +0000 |
commit | 8173333f753f6dbaeffc21fd9425825ab2b659fd (patch) | |
tree | 90a5ea1a0b7377077d5520f08f8a920828fcbd00 | |
parent | 0fe1b95ef7649f34b65ea8585fd78995dae13de2 (diff) | |
download | xine-lib-8173333f753f6dbaeffc21fd9425825ab2b659fd.tar.gz xine-lib-8173333f753f6dbaeffc21fd9425825ab2b659fd.tar.bz2 |
Fix building with LOG enabled.
CVS patchset: 8602
CVS date: 2007/02/19 23:33:33
-rw-r--r-- | src/xine-engine/load_plugins.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 25325aae1..d35eba736 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.229 2007/01/18 23:30:18 dgp85 Exp $ + * $Id: load_plugins.c,v 1.230 2007/02/19 23:33:33 dgp85 Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -1989,18 +1989,19 @@ int _x_decoder_available (xine_t *xine, uint32_t buftype) return 0; } - #ifdef LOG static void _display_file_plugin_list (xine_list_t *list, plugin_file_t *file) { - plugin_node_t *node; + xine_list_iterator_t ite = xine_list_front(list); + + while (ite) { + plugin_node_t *node = xine_list_get_value(list, ite); - node = xine_list_first_content(list); - while (node) { if ((node->file == file) && (node->ref)) { printf(" plugin: %s, class: %p , %d instance(s)\n", node->info->id, node->plugin_class, node->ref); } - node = xine_list_next_content(list); + + ite = xine_list_next(list, ite); } } #endif |