summaryrefslogtreecommitdiffstats
path: root/libvo/sub.c
diff options
context:
space:
mode:
authorkmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-11 12:14:29 +0000
committerkmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-11 12:14:29 +0000
commit610d48a93009cebb364be3f8d9e266ef3cab56a7 (patch)
treeec65fbe63797f37b1720b63f53e63d7c33d5d943 /libvo/sub.c
parent6b7e857c4ffa6bc50b999ee6afe745b02f8879b5 (diff)
downloadmpv-610d48a93009cebb364be3f8d9e266ef3cab56a7.tar.bz2
mpv-610d48a93009cebb364be3f8d9e266ef3cab56a7.tar.xz
Support software scaling with DVD subtitles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4088 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/sub.c')
-rw-r--r--libvo/sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/sub.c b/libvo/sub.c
index 8fe826eb0d..b0b8c95780 100644
--- a/libvo/sub.c
+++ b/libvo/sub.c
@@ -275,7 +275,7 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in
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);