|
|
|
@ -77,7 +77,17 @@ static void Close( vlc_object_t * ); |
|
|
|
|
|
|
|
#define LEVEL_TEXT N_("Presentation Level") |
|
|
|
|
|
|
|
static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }; |
|
|
|
static const int pi_pos_values[] = { |
|
|
|
0, |
|
|
|
SUBPICTURE_ALIGN_LEFT, |
|
|
|
SUBPICTURE_ALIGN_RIGHT, |
|
|
|
SUBPICTURE_ALIGN_TOP, |
|
|
|
SUBPICTURE_ALIGN_BOTTOM, |
|
|
|
SUBPICTURE_ALIGN_TOP | SUBPICTURE_ALIGN_LEFT, |
|
|
|
SUBPICTURE_ALIGN_TOP | SUBPICTURE_ALIGN_RIGHT, |
|
|
|
SUBPICTURE_ALIGN_BOTTOM | SUBPICTURE_ALIGN_LEFT, |
|
|
|
SUBPICTURE_ALIGN_BOTTOM | SUBPICTURE_ALIGN_RIGHT, |
|
|
|
}; |
|
|
|
static const char *const ppsz_pos_descriptions[] = |
|
|
|
{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"), |
|
|
|
N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") }; |
|
|
|
@ -101,7 +111,7 @@ vlc_module_begin () |
|
|
|
PAGE_TEXT, PAGE_LONGTEXT ) |
|
|
|
add_bool( "vbi-opaque", true, |
|
|
|
OPAQUE_TEXT, OPAQUE_LONGTEXT ) |
|
|
|
add_integer( "vbi-position", 8, POS_TEXT, POS_LONGTEXT ) |
|
|
|
add_integer( "vbi-position", SUBPICTURE_ALIGN_BOTTOM, POS_TEXT, POS_LONGTEXT ) |
|
|
|
change_integer_list( pi_pos_values, ppsz_pos_descriptions ) |
|
|
|
add_bool( "vbi-text", false, |
|
|
|
TELX_TEXT, TELX_LONGTEXT ) |
|
|
|
|