From 943904865ff0af25172c788601a585cf2cc590b4 Mon Sep 17 00:00:00 2001 From: attila Date: Sun, 21 Sep 2003 14:21:43 +0000 Subject: Forced subtitles patch by Arne Driescher 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). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10918 b3059339-0415-0410-9bf9-f77b7e298cf2 --- spudec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'spudec.h') diff --git a/spudec.h b/spudec.h index 99fa7ecdf1..2e73ef5df8 100644 --- a/spudec.h +++ b/spudec.h @@ -19,5 +19,6 @@ void spudec_set_hw_spu(void *this, vo_functions_t *hw_spu); int spudec_changed(void *this); void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox); 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)); +void spudec_set_forced_subs_only(void * const this, const unsigned int flag); #endif -- cgit v1.2.3