]> git.sesse.net Git - mlt/commitdiff
Default to progressive rendering in composite.
authorDan Dennedy <dan@dennedy.org>
Sat, 1 Jan 2011 23:08:14 +0000 (15:08 -0800)
committerDan Dennedy <dan@dennedy.org>
Sat, 1 Jan 2011 23:08:14 +0000 (15:08 -0800)
Field-based rendering is not sensitive to whether the composite has
motion and therefore produces ugly results for static things by default.
Field-based rendering can be explicitly requested on an animated
composite by setting the progressive property to 0.

src/modules/core/transition_composite.c

index 12b07103e1903da99ea2e8c8cbfc512a38561611..2e29ac809f50f08a1938548b7e22fb83544608d0 100644 (file)
@@ -1346,6 +1346,9 @@ mlt_transition transition_composite_init( mlt_profile profile, mlt_service_type
                // Use alignment (and hence alpha of b frame)
                mlt_properties_set_int( properties, "aligned", 1 );
 
+               // Default to progressive rendering
+               mlt_properties_set_int( properties, "progressive", 1 );
+               
                // Inform apps and framework that this is a video only transition
                mlt_properties_set_int( properties, "_transition_type", 1 );
        }