From 8716df2a41f6ff05f59577a0433401ea141226f3 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 4 Apr 2008 06:36:36 +0300 Subject: Add context variable to vo_draw_text callback Add a context variable and rename the function to osd_draw_text. Create a new vo_draw_text that is a wrapper for VOs using old API. --- libvo/old_vo_wrapper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libvo/old_vo_wrapper.h') diff --git a/libvo/old_vo_wrapper.h b/libvo/old_vo_wrapper.h index e6d20ce5ca..8c89790b85 100644 --- a/libvo/old_vo_wrapper.h +++ b/libvo/old_vo_wrapper.h @@ -17,4 +17,6 @@ void old_vo_flip_page(struct vo *vo); void old_vo_check_events(struct vo *vo); void old_vo_uninit(struct vo *vo); +void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); + #endif -- cgit v1.2.3