Add /usr/lib64 libdir to default LADSPA plugin path.
[melted] / src / modules / core / producer_consumer.c
index 280705d..78c5bcc 100644 (file)
@@ -118,7 +118,7 @@ static int get_frame( mlt_producer this, mlt_frame_ptr frame, int index )
                cx->producer = mlt_factory_producer( cx->profile, mlt_environment( "MLT_PRODUCER" ),
                        mlt_properties_get( properties, "resource" ) );
                mlt_properties_pass_list( properties, MLT_PRODUCER_PROPERTIES( cx->producer ),
-                       "in, out, length, resource" );
+                       "out, length" );
 
                // Since we control the seeking, prevent it from seeking on its own
                mlt_producer_set_speed( cx->producer, 0 );
@@ -133,7 +133,7 @@ static int get_frame( mlt_producer this, mlt_frame_ptr frame, int index )
        if ( frame )
        {
                // Our "in" needs to be the same, keep it so
-               mlt_properties_pass_list( MLT_PRODUCER_PROPERTIES( cx->producer ), properties, "in" );
+               mlt_properties_pass_list( MLT_PRODUCER_PROPERTIES( cx->producer ), properties, "in, out" );
 
                // Seek the producer to the correct place
                // Calculate our positions
@@ -161,8 +161,11 @@ static int get_frame( mlt_producer this, mlt_frame_ptr frame, int index )
                // Inform the normalizers about our video properties
                mlt_properties frame_props = MLT_FRAME_PROPERTIES( *frame );
                mlt_properties_set_double( frame_props, "aspect_ratio", mlt_profile_sar( cx->profile ) );
-               mlt_properties_set_double( frame_props, "width", cx->profile->width );
-               mlt_properties_set_double( frame_props, "height", cx->profile->height );
+               mlt_properties_set_int( frame_props, "width", cx->profile->width );
+               mlt_properties_set_int( frame_props, "height", cx->profile->height );
+               mlt_properties_set_int( frame_props, "real_width", cx->profile->width );
+               mlt_properties_set_int( frame_props, "real_height", cx->profile->height );
+               mlt_properties_set_int( frame_props, "progressive", cx->profile->progressive );
        }
 
        // Calculate the next timecode