Commit 0dc0d618 authored by Sergio Costas's avatar Sergio Costas

Fixed bug when adding several subtitles to the same movie

parent 361240ad
## History of versions ##
* version 4.8.2 (2016-09-24)
* Fixed a problem when adding several subtitles to the same movie (thanks to Rocco Barisci)
* version 4.8.1 (2016-09-05)
* Fixed a float value used for volume where it expected an integer
......
......@@ -64,7 +64,7 @@ except:
setup(
name='devedeng',
version='4.8.1',
version='4.8.2',
description='A video DVD creator',
long_description = "A program that allows to create video DVDs",
......
......@@ -42,7 +42,7 @@ class subtitles_mux(devedeng.executor.executor):
self.duration = duration
self.text = _("Adding %(L)s subtitles to %(X)s") % {"X": os.path.basename(file_path), "L": subt_lang}
out_xml = open(file_path+".xml","w")
out_xml = open(file_path+"_s"+str(stream_id)+".xml","w")
out_xml.write('<subpictures format="')
if pal:
out_xml.write('PAL')
......@@ -83,7 +83,7 @@ class subtitles_mux(devedeng.executor.executor):
self.command_var.append(mode)
self.command_var.append("-s")
self.command_var.append(str(stream_id))
self.command_var.append(file_path+".xml")
self.command_var.append(file_path+"_s"+str(stream_id)+".xml")
self.stdin_file = file_path+".tmp"
self.stdout_file = file_path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment