Commit ef098d53 authored by Steve Lhomme's avatar Steve Lhomme

libvlc-module: populate the alignment values from VOUT_ALIGN_xxx

parent 0ab6ab0a
......@@ -287,7 +287,12 @@ static const char *const ppsz_replay_gain_mode_text[] = {
"Enforce the alignment of the video in its window. By default (0) it " \
"will be centered (0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
"also use combinations of these values, like 6=4+2 meaning top-right).")
static const int pi_align_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
static const int pi_align_values[] = { 0, VOUT_ALIGN_LEFT, VOUT_ALIGN_RIGHT,
VOUT_ALIGN_TOP, VOUT_ALIGN_BOTTOM,
VOUT_ALIGN_TOP|VOUT_ALIGN_LEFT,
VOUT_ALIGN_TOP|VOUT_ALIGN_RIGHT,
VOUT_ALIGN_BOTTOM|VOUT_ALIGN_LEFT,
VOUT_ALIGN_BOTTOM|VOUT_ALIGN_RIGHT };
static const char *const ppsz_align_descriptions[] =
{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment