[Download]
This code is a patch, it doesn't fix any mtd problems, but makes a list of all transcode jobs on the jobs creation and places them in an extra mysql table. If mtd fails before completion it then inserts them back into mtd next time it is restarted. It does not put them into the standard job que which is already listed as the preferred solution.