X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_consumer.c;h=e9c8a3420a5a8082bb21f541dcb9fc0114cccac9;hb=390e1559353efa011b371b66fcd2c8d3ffb84ab8;hp=c6533555209b24a44f2dbf04ec0a551a4c11e3ff;hpb=8fe450eddce6d6e81cf063af5b471b7ef750efe9;p=melted diff --git a/src/framework/mlt_consumer.c b/src/framework/mlt_consumer.c index c653355..e9c8a34 100644 --- a/src/framework/mlt_consumer.c +++ b/src/framework/mlt_consumer.c @@ -53,6 +53,8 @@ int mlt_consumer_init( mlt_consumer this, void *child ) { mlt_properties_set( properties, "normalisation", "PAL" ); mlt_properties_set_double( properties, "fps", 25.0 ); + mlt_properties_set_int( properties, "frame_rate_den", 25 ); + mlt_properties_set_int( properties, "frame_rate_num", 1 ); mlt_properties_set_int( properties, "width", 720 ); mlt_properties_set_int( properties, "height", 576 ); mlt_properties_set_int( properties, "progressive", 0 ); @@ -62,6 +64,8 @@ int mlt_consumer_init( mlt_consumer this, void *child ) { mlt_properties_set( properties, "normalisation", "NTSC" ); mlt_properties_set_double( properties, "fps", 30000.0 / 1001.0 ); + mlt_properties_set_int( properties, "frame_rate_den", 30000 ); + mlt_properties_set_int( properties, "frame_rate_num", 1001 ); mlt_properties_set_int( properties, "width", 720 ); mlt_properties_set_int( properties, "height", 480 ); mlt_properties_set_int( properties, "progressive", 0 );