From: Dan Dennedy Date: Fri, 22 Oct 2010 04:11:21 +0000 (-0700) Subject: Fix edit points when using auto-profile. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7b59bfc3032df953a6b82fce85d7930149e9b0b8;p=mlt Fix edit points when using auto-profile. --- diff --git a/src/melt/melt.c b/src/melt/melt.c index 041fcca5..e98db46f 100644 --- a/src/melt/melt.c +++ b/src/melt/melt.c @@ -560,8 +560,12 @@ query_all: { // Generate an automatic profile if needed. if ( ! profile->is_explicit ) + { guess_profile( melt, profile ); - + mlt_producer_close( melt ); + melt = mlt_factory_producer( profile, "melt", &argv[ 1 ] ); + } + // Reload the consumer with the fully qualified profile. // The producer or guess_profile could have changed the profile. load_consumer( &consumer, profile, argc, argv );