[vlc-devel] [PATCH] ttml: correct region style resolution order and process region referential styling

Francois Cartegnie fcvlcdev at free.fr
Tue May 30 12:09:37 CEST 2017


Le 20/05/2017 à 20:51, Remita Amine a écrit :

> -        /* First fill with style elements */
> +        DictionaryMerge( &p_regionnode->attr_dict, p_dst );
> +
> +        const char *psz_styleid = (const char *)
> +                vlc_dictionary_value_for_key( &p_regionnode->attr_dict, "style" );
> +        if( psz_styleid )
> +            DictMergeWithStyleID( p_ctx, psz_styleid, p_dst );

Okay, that was unclear, region can reference styles and does not only
has style nodes.

Applied, thanks.

Francois


More information about the vlc-devel mailing list