        if (buffer && m)
 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/libmpdemux/demux_ogg.c mplayer-svn-with-kate/libmpdemux/demux_ogg.c
 --- mplayer-svn/libmpdemux/demux_ogg.c	2008-03-14 13:26:57.000000000 +0000
-+++ mplayer-svn-with-kate/libmpdemux/demux_ogg.c	2008-06-15 12:59:38.000000000 +0100
++++ mplayer-svn-with-kate/libmpdemux/demux_ogg.c	2008-10-09 19:32:02.000000000 +0100
 @@ -32,6 +32,11 @@
  extern int _ilog (unsigned int); /* defined in many places in theora/lib/ */
  #endif

 #define OSDFLAG_CHANGED 2
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/mpcommon.c mplayer-svn-with-kate/mpcommon.c
--- mplayer-svn/mpcommon.c	2008-03-14 13:27:00.000000000 +0000
+++ mplayer-svn-with-kate/mpcommon.c	2008-06-15 12:23:40.000000000 +0100
@@ -20,6 +20,10 @@
 ass_track_t* ass_track = 0; // current track to render
 #endif

+     */
+    xpos = xpos*original_canvas_width/dxs;
+    ypos = ypos*original_canvas_height/dys;
+#endif
+    spudec_draw_scaled_image(dxs, dys,
+                             katedec_y, katedec_a,
+                             xpos, ypos, w, h, stride,
