// Specify the eof condition
mlt_properties_set( mlt_playlist_properties( this ), "eof", "pause" );
+ mlt_properties_set( mlt_playlist_properties( this ), "resource", "<playlist>" );
}
return this;
mlt_properties_set_double( mlt_playlist_properties( this ), "first_fps", fps );
mlt_properties_set_double( mlt_playlist_properties( this ), "fps", fps == 0 ? 25 : fps );
mlt_properties_set_position( mlt_playlist_properties( this ), "length", frame_count );
- mlt_properties_set_position( mlt_playlist_properties( this ), "out", frame_count );
+ mlt_properties_set_position( mlt_playlist_properties( this ), "out", frame_count - 1 );
return 0;
}
this->list[ this->count ]->frame_out = out;
this->list[ this->count ]->frame_count = out - in + 1;
+ mlt_properties_set( mlt_producer_properties( producer ), "eof", "continue" );
+
mlt_producer_set_speed( producer, 0 );
this->count ++;