 +#define DEFAULT_CANVAS_WIDTH 720
 +#define DEFAULT_CANVAS_HEIGHT 576
 +
++/* TODO: this means we can't have two Kate streams active at the same time */
 +static int katedec_has_kin=0;
 +static kate_tracker katedec_kin;
 +static unsigned char *katedec_image=NULL;

+
diff -ruN -x 'config.*' -x configure.log -x '*.o' -x allformats.c -x vidix -x codecs.conf.h -x version.h -x help_mp.h mplayer-svn/katedec.h mplayer-svn-with-kate/katedec.h
--- mplayer-svn/katedec.h	1970-01-01 01:00:00.000000000 +0100
+++ mplayer-svn-with-kate/katedec.h	2008-06-15 13:44:01.000000000 +0100
@@ -0,0 +1,12 @@
+#ifndef MPLAYER_KATEDEC_H
+#define MPLAYER_KATEDEC_H

   {
diff -ruN -x 'config.*' -x configure.log -x '*.o' -x allformats.c -x vidix -x codecs.conf.h -x version.h -x help_mp.h mplayer-svn/subreader.c mplayer-svn-with-kate/subreader.c
--- mplayer-svn/subreader.c	2008-03-14 13:27:01.000000000 +0000
+++ mplayer-svn-with-kate/subreader.c	2008-10-09 08:49:31.000000000 +0100
@@ -24,6 +24,12 @@
 #include <enca.h>
 #endif
