Browse Source

codec: tx3g: encode bottom/center alignment

pull/65/head
Francois Cartegnie 9 years ago
parent
commit
60136a0768
  1. 2
      modules/codec/substx3g.c

2
modules/codec/substx3g.c

@ -556,6 +556,8 @@ static void FillExtradataTx3g( void **pp_extra, int *pi_extra )
uint8_t *p_extra = calloc( 1, i_extra );
if( p_extra )
{
p_extra[4] = 0x01;/* 1 center, horizontal */
p_extra[5] = 0xFF;/* -1 bottom, vertical */
SetDWBE( &p_extra[6], 0x000000FFU ); /* bgcolor */
p_extra[25] = STYLE_DEFAULT_FONT_SIZE;
SetDWBE( &p_extra[26], 0xFFFFFFFFU ); /* fgcolor */

Loading…
Cancel
Save