default progressive off
[melted] / src / modules / gtk2 / producer_pango.c
index b7e8411..a7ac1fa 100644 (file)
@@ -99,7 +99,6 @@ mlt_producer producer_pango_init( const char *filename )
 
                if ( filename == NULL )
                {
-                       mlt_properties_set( properties, "resource", "pango" );
                        mlt_properties_set( properties, "markup", "" );
                }
                else if ( filename[ 0 ] == '+' || strstr( filename, "/+" ) )
@@ -149,7 +148,6 @@ mlt_producer producer_pango_init( const char *filename )
                        }
                        else
                        {
-                               mlt_properties_set( properties, "resource", "pango" );
                                mlt_properties_set( properties, "markup", "" );
                        }
                }
@@ -421,7 +419,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i
 
        // Set producer-specific frame properties
        mlt_properties_set_int( properties, "progressive", 1 );
-       mlt_properties_set_double( properties, "aspect_ratio", mlt_properties_get_double( properties, "real_width" ) / mlt_properties_get_double( properties, "real_height" ) );
+       mlt_properties_set_double( properties, "aspect_ratio", 1 );
 
        // Set alpha call back
        ( *frame )->get_alpha_mask = producer_get_alpha_mask;
@@ -537,4 +535,3 @@ static GdkPixbuf *pango_get_pixbuf( const char *markup, const char *text, const
 
        return pixbuf;
 }
-