summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-01 15:49:31 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-01 15:49:31 +0000
commit5c21ed495f4be9f9425535967885a6ce5c302c9a (patch)
tree9378507e4e83c77a04699928de52e0a047c83024 /libvo
parentf978ad8323152fd3f8e3cb441e32723af36fad00 (diff)
downloadmpv-5c21ed495f4be9f9425535967885a6ce5c302c9a.tar.bz2
mpv-5c21ed495f4be9f9425535967885a6ce5c302c9a.tar.xz
fixed signal 8 bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1823 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/sub.c b/libvo/sub.c
index f987e2b8ae..5fe28abf4a 100644
--- a/libvo/sub.c
+++ b/libvo/sub.c
@@ -261,7 +261,7 @@ void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h,
vo_draw_text_sub(dxs,dys,draw_alpha);
}
- if(vo_osd_progbar_type>=0){
+ if(vo_osd_progbar_type>=0 && vo_font->font[OSD_PB_0]>=0){
vo_draw_text_progbar(dxs,dys,draw_alpha);
}