X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftests%2Fpango.c;h=7eca2c6225bde1c13fa1ea9d9e189d5538cbca9c;hb=7d5e839ba53328b1dfb36ba10d72136df24dad6e;hp=eaf9758943afeb62bc4efc757a995102fac0addf;hpb=d0a840da47c2c35959641c26d74b1498df0ed6be;p=mlt diff --git a/src/tests/pango.c b/src/tests/pango.c index eaf97589..7eca2c62 100644 --- a/src/tests/pango.c +++ b/src/tests/pango.c @@ -23,7 +23,7 @@ int main( int argc, char **argv ) } // Start the consumer... - mlt_consumer consumer = mlt_factory_consumer( "sdl", "PAL" ); + mlt_consumer consumer = mlt_factory_consumer( "bluefish", "NTSC" ); // Create the producer(s) mlt_playlist pl1 = mlt_playlist_init(); @@ -33,13 +33,14 @@ int main( int argc, char **argv ) mlt_playlist pl2 = mlt_playlist_init(); mlt_producer title = mlt_factory_producer( "pango", NULL ); //"Mutton Lettuce Tomato" ); mlt_playlist_append( pl2, title ); - mlt_properties_set_int( mlt_producer_properties( title ), "video_standard", mlt_video_standard_pal ); - mlt_properties_set( mlt_producer_properties( title ), "font", "Sans Bold 36" ); + mlt_properties_set( mlt_producer_properties( title ), "family", "Sans" ); + mlt_properties_set( mlt_producer_properties( title ), "size", "36" ); + mlt_properties_set( mlt_producer_properties( title ), "weight", "700" ); mlt_properties_set( mlt_producer_properties( title ), "text", text ); mlt_properties_set_int( mlt_producer_properties( title ), "bgcolor", 0x0000007f ); mlt_properties_set_int( mlt_producer_properties( title ), "pad", 8 ); mlt_properties_set_int( mlt_producer_properties( title ), "align", 1 ); - mlt_properties_set_int( mlt_producer_properties( title ), "x", 20 ); + mlt_properties_set_int( mlt_producer_properties( title ), "x", 200 ); mlt_properties_set_int( mlt_producer_properties( title ), "y", 40 ); mlt_properties_set_double( mlt_producer_properties( title ), "mix", 0.8 );