fixed a bug encoding video task doesn't perform correctly