support in/out on entry and track
[melted] / src / modules / gtk2 / producer_pixbuf.c
index 04a9e64..81255d7 100644 (file)
@@ -222,7 +222,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i
                if ( mlt_properties_get( producer_props, "y" ) != NULL )
                        mlt_properties_set_int( properties, "y", mlt_properties_get_int( producer_props, "y" ) );
                if ( mlt_properties_get( producer_props, "mix" ) != NULL )
-                       mlt_properties_set_double( properties, "mix",  mlt_properties_get_double( producer_props, "mix" ) );
+                       mlt_properties_set_double( properties, "image.mix",  mlt_properties_get_double( producer_props, "mix" ) );
 
                // if picture sequence pass the image and alpha data without destructor
                mlt_properties_set_data( properties, "image", this->image, 0, NULL, NULL );
@@ -250,7 +250,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i
                {
                        GdkPixbuf *temp = pixbuf;
                        GdkPixbuf *scaled = gdk_pixbuf_scale_simple( pixbuf,
-                               (gint) ( (float) gdk_pixbuf_get_width( pixbuf ) * 54.0/59.0),
+                               (gint) ( (float) gdk_pixbuf_get_width( pixbuf ) * 45.0/48.0),
                                gdk_pixbuf_get_height( pixbuf ), GDK_INTERP_HYPER );
                        pixbuf = scaled;
                        g_object_unref( temp );
@@ -259,7 +259,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i
                {
                        GdkPixbuf *temp = pixbuf;
                        GdkPixbuf *scaled = gdk_pixbuf_scale_simple( pixbuf,
-                               (gint) ( (float) gdk_pixbuf_get_width( pixbuf ) * 11.0/10.0 ),
+                               (gint) ( (float) gdk_pixbuf_get_width( pixbuf ) * 9.0/8.0 ),
                                gdk_pixbuf_get_height( pixbuf ), GDK_INTERP_HYPER );
                        pixbuf = scaled;
                        g_object_unref( temp );