  </itemizedlist>
  </para>
  
-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/DOCS/xml/de/usage.xml mplayer-svn-with-kate/DOCS/xml/de/usage.xml
---- mplayer-svn/DOCS/xml/de/usage.xml	2008-03-14 13:26:41.000000000 +0000
-+++ mplayer-svn-with-kate/DOCS/xml/de/usage.xml	2008-03-15 21:32:59.000000000 +0000
+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 -x '*.d' mplayer/DOCS/xml/de/usage.xml mplayer-with-kate/DOCS/xml/de/usage.xml
+--- mplayer/DOCS/xml/de/usage.xml	2008-06-21 11:16:02.000000000 +0100
++++ mplayer-with-kate/DOCS/xml/de/usage.xml	2008-06-21 11:18:30.000000000 +0100
 @@ -117,6 +117,7 @@
        <listitem><para>CC (closed caption)</para></listitem>
        <listitem><para>MicroDVD</para></listitem>

+          add_to_text(&text,&allocated,onesub->text[j]);
+        }
+
+        kate_ogg_encode_text(&k,t0,t1,text,strlen(text),&op);
+        ogg_stream_packetin(&os,&op);
+
+        flush_page(fd,&os);
+        if (text) *text=0;
+    }
+
+    kate_ogg_encode_finish(&k,-1,&op);
+    ogg_stream_packetin(&os,&op);
+    flush_page(fd,&os);
+    ogg_stream_clear(&os);
+    kate_clear(&k);
+

 sub_data* subdata = NULL;
 subtitle* vo_sub_last = NULL;
 
@@ -40,6 +44,7 @@
             spudec_reset(vo_spudec);
             vo_osd_changed(OSDTYPE_SPU);
         }
