summaryrefslogtreecommitdiff
path: root/src/post/mosaico/switch.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-26 19:43:26 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-26 19:43:26 +0000
commit3050d97eb83cfdfb4d04a51231acba47e6addf1c (patch)
tree4337d69086ce7d870214e7e5f6a028f8b417521e /src/post/mosaico/switch.c
parentae2a2a8e08ab3140d5c7ee3a5f33e7db81f76b09 (diff)
downloadxine-lib-3050d97eb83cfdfb4d04a51231acba47e6addf1c.tar.gz
xine-lib-3050d97eb83cfdfb4d04a51231acba47e6addf1c.tar.bz2
lprintf cleanup, pass I.
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
Diffstat (limited to 'src/post/mosaico/switch.c')
-rw-r--r--src/post/mosaico/switch.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/src/post/mosaico/switch.c b/src/post/mosaico/switch.c
index 86dd7dece..3c31c9178 100644
--- a/src/post/mosaico/switch.c
+++ b/src/post/mosaico/switch.c
@@ -17,22 +17,24 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: switch.c,v 1.9 2003/11/11 18:44:59 f1rmb Exp $
+ * $Id: switch.c,v 1.10 2003/11/26 19:43:37 f1rmb Exp $
*/
/*
* simple switch video post plugin
*/
+#define LOG_MODULE "switch"
+#define LOG_VERBOSE
+/*
+#define LOG
+*/
+
#include "xine_internal.h"
#include "post.h"
#define SWVERSION (5)
-/*
-#define LOG
-*/
-
/* plugin class initialization function */
static void *switch_init_plugin(xine_t *xine, void *);
@@ -143,9 +145,7 @@ static post_plugin_t *switch_open_plugin(post_class_t *class_gen, int inputs,
if(inputs < 2) return NULL;
-#ifdef LOG
- printf("switch open\n");
-#endif
+ lprintf("switch open\n");
if (!this || !input1 || !output || !video_target || !video_target[0]) {
free(this);
@@ -340,16 +340,12 @@ static void frame_copy_content(vo_frame_t *to, vo_frame_t *from) {
int size;
if((to == NULL)||(from == NULL)) {
-#ifdef LOG
- printf("Something wrong in frame_copy_content\n");
-#endif
+ lprintf("Something wrong in frame_copy_content\n");
return;
}
if(to->format != from->format) {
-#ifdef LOG
- printf("frame_copy_content : buffers have different format\n");
-#endif
+ lprintf("frame_copy_content : buffers have different format\n");
return;
}