configure: add soversion variable, move version variables to top for easier access
[melted] / src / framework / mlt_multitrack.c
index 929d4bd..bf9c073 100644 (file)
@@ -18,8 +18,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "config.h"
-
 #include "mlt_multitrack.h"
 #include "mlt_playlist.h"
 #include "mlt_frame.h"
@@ -386,7 +384,7 @@ static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int ind
        else
        {
                // Generate a test frame
-               *frame = mlt_frame_init( );
+               *frame = mlt_frame_init( MLT_PRODUCER_SERVICE( parent ) );
 
                // Update position on the frame we're creating
                mlt_frame_set_position( *frame, mlt_producer_position( parent ) );