comparison spudec.h @ 10917:d45870f67728

Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de> For a given subtitle language you can now chose to display only the forced subtitles. Defaut is set to "show all subtitles" so that current mplayer behaviour is not changed. For DVD: Use -forced_subs_only additionally to e.g. -slang en if you are only interested in the forced subtitles. For VobSub: The idx file is now parsed for the "forced subs: ON/OFF" tag and used according to its settings. Key: You can toggle the display of forced subtitles by pressing "F" (upper case letter).
author attila
date Sun, 21 Sep 2003 14:21:43 +0000
parents b523f634738d
children a6c619ee9d30
comparison
equal deleted inserted replaced
10916:c36db88bfbc4 10917:d45870f67728
17 void spudec_set_font_factor(void * this, double factor); // sets the equivalent to ffactor 17 void spudec_set_font_factor(void * this, double factor); // sets the equivalent to ffactor
18 void spudec_set_hw_spu(void *this, vo_functions_t *hw_spu); 18 void spudec_set_hw_spu(void *this, vo_functions_t *hw_spu);
19 int spudec_changed(void *this); 19 int spudec_changed(void *this);
20 void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox); 20 void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox);
21 void spudec_draw_scaled(void *me, unsigned int dxs, unsigned int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); 21 void spudec_draw_scaled(void *me, unsigned int dxs, unsigned int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
22 void spudec_set_forced_subs_only(void * const this, const unsigned int flag);
22 #endif 23 #endif
23 24