[vlc-devel] [PATCH 2/2] Align text to bottom of the picture.
Rémi Denis-Courmont
remi at remlab.net
Mon Jun 6 12:16:22 CEST 2011
On Mon, 6 Jun 2011 02:29:19 -0700, Tomer Barletz <barletz at gmail.com>
wrote:
> ---
> modules/codec/stl.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/modules/codec/stl.c b/modules/codec/stl.c
> index 981333f..1c8388d 100644
> --- a/modules/codec/stl.c
> +++ b/modules/codec/stl.c
> @@ -165,6 +165,7 @@ static subpicture_t *Decode(decoder_t *dec, block_t
> **block)
> payload_size,
> cct_nums[dec->p_sys->cct -
> CCT_BEGIN].str);
> sub->p_region->psz_html = NULL;
> + sub->p_region->i_align = SUBPICTURE_ALIGN_BOTTOM |
> var_InheritInteger(dec, "subsdec-align");
Do you need to look up the variable every time?
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list