diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -214,7 +214,7 @@ void mortition(struct distrenjob *head, updateJobListXML(head); } else{ - job->prev_frame_index = 0; // if the job isn't done, have frame_finder() start from the first frame, allowing it to see the frames that are now unassigned + job->prev_frame_index = -1; // if the job isn't done, have frame_finder() start from the first frame, allowing it to see the frames that are now unassigned } updateGeneralInfo(); @@ -991,6 +991,7 @@ int main(int argc, char *argv[]) distrend_do_config(argc, argv, &config); + // pre-loaded jobs for testing prepare_distrenjob(&head, 1, "awesome", "LordOfWar", "onlylordofwar@gmail.com", 4, 1, 100, 640, 480); while(test == 1)