Fixed bugs in autoProcessMusic and autoProcessMovie