 +    item->ev_text=NULL;
 +  }
 +  if (item->osd) {
-+    item->osd_renderer->hide(item->osd, 0);
 +    item->osd_renderer->free_object(item->osd);
 +    item->osd=NULL;
 +    if (item->canvas) {

+
+  /* get the Ogg packet */
+  lprintf("Kate packet seen, %ld bytes\n",this->raw ? this->kp.nbytes : this->op.bytes);
+#if 1
+  {
+    size_t i;
+    unsigned char *ptr = this->raw ? this->kp.data : this->op.packet;
+    size_t sz = this->raw ? this->kp.nbytes : this->op.bytes;
+    lprintf("First 16 bytes: %s\n", ptr);
+    for (i=0; i<((16>sz)?sz:16); ++i) printf("%02x ", ptr[i]);
+    printf("\n");
+  }
+#endif
+
+  /* send the packet to Kate */
+  if ( (buf->decoder_flags & BUF_FLAG_HEADER) &&

 /*@}*/
 
 /**
diff -x xine-config -x configure.ac -x 'configure.h*' -x config.guess -x config.sub -x configure -x SlackBuild -x '*.m4' -x ltmain.sh -x libtool -x Makefile -x Makefile.in -ru xine-lib-1-2-767ccb7795a2/include/xine.h ../xine-lib-1-2-767ccb7795a2/include/xine.h
--- xine-lib-1-2-767ccb7795a2/include/xine.h	2008-07-17 16:50:59.000000000 +0100
+++ ../xine-lib-1-2-767ccb7795a2/include/xine.h	2008-07-22 21:48:34.000000000 +0100
@@ -1645,6 +1645,7 @@
