Mercurial > mplayer.hg
view libao2/audio_plugin_internal.h @ 8534:922ce27eb683
This patch adds support for vertical subtitle alignment
control. Possible values are top, center, and bottom,
with bottom being the default. Alignment is relevant when
it comes to positioning subtitles with one line (or fewer
lines) of text relative to multi-line subtitles.
It is implemented as a new command (sub_alignment) that
without an argument cycles the alignment (between top,
center, and bottom), or with an argument sets the
alignment (0 for top, 1 for center, 2 for bottom).
The key 'i' is bound to this command.
patch by Oskar Liljeblad (oskar@osk.mine.nu)
author | arpi |
---|---|
date | Mon, 23 Dec 2002 01:37:43 +0000 |
parents | bb1d608c73ae |
children | 12b1790038b0 |
line wrap: on
line source
// prototypes: static int control(int cmd,int arg); static int init(); static void uninit(); static void reset(); static int play(); #define LIBAO_PLUGIN_EXTERN(x) ao_plugin_functions_t audio_plugin_##x =\ {\ &info,\ control,\ init,\ uninit,\ reset,\ play,\ };