- mlt_properties pango_properties = MLT_PRODUCER_PROPERTIES( pango_producer );
- mlt_properties_set( pango_properties, "size", font_size );
- mlt_properties_set( pango_properties, "weight", "400" );
- mlt_properties_set( pango_properties, "fgcolour", TEXT_FOREGROUND_COLOR );
- mlt_properties_set( pango_properties, "bgcolour", TEXT_BACKGROUND_COLOR );
- mlt_properties_set( pango_properties, "pad", "0" );
- mlt_properties_set( pango_properties, "outline", "0" );
- mlt_properties_set( pango_properties, "align", "center" );
+ mlt_properties text_properties = MLT_PRODUCER_PROPERTIES( text_producer );
+ mlt_properties_set( text_properties, "size", font_size );
+ mlt_properties_set( text_properties, "weight", "400" );
+ mlt_properties_set( text_properties, "fgcolour", TEXT_FOREGROUND_COLOR );
+ mlt_properties_set( text_properties, "bgcolour", TEXT_BACKGROUND_COLOR );
+ mlt_properties_set( text_properties, "pad", "0" );
+ mlt_properties_set( text_properties, "outline", "0" );
+ mlt_properties_set( text_properties, "align", "center" );