[Mplayer-cvslog] CVS: main/libvo sub.c,1.39,1.40

Kim Minh Kaplan CVS kmkaplan at mplayer.dev.hu
Fri Jan 11 13:14:31 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv3922/libvo

Modified Files:
	sub.c 
Log Message:
Support software scaling with DVD subtitles

Index: sub.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/sub.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- sub.c	10 Jan 2002 17:21:00 -0000	1.39
+++ sub.c	11 Jan 2002 12:14:29 -0000	1.40
@@ -275,7 +275,7 @@
 void *vo_spudec=NULL;
 void *vo_vobsub=NULL;
 inline static void vo_draw_spudec(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){
-    spudec_draw(vo_spudec, draw_alpha);
+    spudec_draw_scaled(vo_spudec, dxs, dys, draw_alpha);
 }
 inline static void vo_draw_vobsub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){
     vobsub_draw(vo_vobsub, dxs, dys, draw_alpha);




More information about the MPlayer-cvslog mailing list