mirror of
https://github.com/blw1138/Zordon.git
synced 2025-12-17 16:58:12 +00:00
Add raw args then validate for duplicate flags
This commit is contained in:
@@ -44,9 +44,9 @@ class FFMPEGRenderWorker(BaseRenderWorker):
|
||||
cmd.extend(['-vf', f"scale={self.args['x_resolution']}:{self.args['y_resolution']}"])
|
||||
|
||||
# Convert raw args from string if available
|
||||
raw_args = self.args.get('raw', None)
|
||||
raw_args = self.get_raw_args()
|
||||
if raw_args:
|
||||
cmd.extend(raw_args.split(' '))
|
||||
cmd.extend(raw_args)
|
||||
|
||||
# Close with output path
|
||||
cmd.append(self.output_path)
|
||||
|
||||
Reference in New Issue
Block a user