diff --git a/manimlib/scene/scene_file_writer.py b/manimlib/scene/scene_file_writer.py index 1817be68..46875e83 100644 --- a/manimlib/scene/scene_file_writer.py +++ b/manimlib/scene/scene_file_writer.py @@ -313,18 +313,9 @@ class SceneFileWriter(object): '-safe', '0', '-i', file_list, '-loglevel', 'error', - + '-c', 'copy', + movie_file_path ] - if not self.save_as_gif: - commands +=[ - '-c', 'copy', - movie_file_path - ] - if self.save_as_gif: - movie_file_path=self.gif_file_path - commands +=[ - movie_file_path, - ] if not self.includes_sound: commands.insert(-1, '-an')