Fix file problem when combine videos on Windows

This commit is contained in:
pdcxs
2019-01-13 23:35:05 +08:00
parent 56ed3538f6
commit cb76ec1270

View File

@@ -719,7 +719,7 @@ class Scene(Container):
)
with open(file_list, 'w') as fp:
for pf_path in partial_movie_files:
fp.write("file {}\n".format(pf_path))
fp.write("file {}\n".format(pf_path).replace('\\', '/'))
movie_file_path = self.get_movie_file_path()
commands = [