diff audacious/pluginenum.c @ 686:a1806a3cf3d2 trunk

[svn] Remove libvisual-proxy. It is broken and hard to repair. A written-from-scratch replacement is planned but will be a while.
author chainsaw
date Sat, 25 Feb 2006 09:35:27 -0800
parents 980d651da2fc
children 0a220c3183b8
line wrap: on
line diff
--- a/audacious/pluginenum.c	Sat Feb 25 01:30:30 2006 -0800
+++ b/audacious/pluginenum.c	Sat Feb 25 09:35:27 2006 -0800
@@ -29,6 +29,7 @@
 #include <gmodule.h>
 #include <glib/gprintf.h>
 #include <string.h>
+#include <stdio.h>
 
 #include "controlsocket.h"
 #include "main.h"
@@ -364,6 +365,7 @@
     for (node = get_input_list(); node; node = g_list_next(node)) {
         ip = INPUT_PLUGIN(node->data);
         if (ip && ip->cleanup) {
+	    printf("Cleaning up input plugin %s\n", ip->filename);
             ip->cleanup();
             GDK_THREADS_LEAVE();
             while (g_main_iteration(FALSE));
@@ -378,6 +380,7 @@
     for (node = get_output_list(); node; node = g_list_next(node)) {
         op = OUTPUT_PLUGIN(node->data);
         if (op && op->cleanup) {
+	    printf("Cleaning up output plugin %s\n", op->filename);
             op->cleanup();
             GDK_THREADS_LEAVE();
             while (g_main_iteration(FALSE));
@@ -392,6 +395,7 @@
     for (node = get_effect_list(); node; node = g_list_next(node)) {
         ep = EFFECT_PLUGIN(node->data);
         if (ep && ep->cleanup) {
+	    printf("Cleaning up effect plugin %s\n", ep->filename);
             ep->cleanup();
             GDK_THREADS_LEAVE();
             while (g_main_iteration(FALSE));
@@ -418,6 +422,7 @@
     for (node = get_general_list(); node; node = g_list_next(node)) {
         gp = GENERAL_PLUGIN(node->data);
         if (gp && gp->cleanup) {
+	    printf("Cleaning up general plugin %s\n", gp->filename);
             gp->cleanup();
             GDK_THREADS_LEAVE();
             while (g_main_iteration(FALSE));
@@ -444,6 +449,7 @@
     for (node = get_vis_list(); node; node = g_list_next(node)) {
         vp = VIS_PLUGIN(node->data);
         if (vp && vp->cleanup) {
+	    printf("Cleaning up visualisation plugin %s\n", vp->filename);
             vp->cleanup();
             GDK_THREADS_LEAVE();
             while (g_main_iteration(FALSE));