mpegize: fix dng mode

This commit is contained in:
Pavel Machek
2024-08-31 16:19:29 +00:00
parent 7b25364b8a
commit 8ba6d0b96b

View File

@@ -445,7 +445,7 @@ class Mpegize:
print("Message: proc") print("Message: proc")
sys.stdout.flush() sys.stdout.flush()
gst_convert(m.base, argv[3], argv[4]=="dng") gst_convert(m.base, argv[3], ext=="dng")
m.cleanup() m.cleanup()
return return
if mode == "convert" or mode == "stop": if mode == "convert" or mode == "stop":
@@ -459,7 +459,7 @@ class Mpegize:
print("Phase 2: mpegize -- ", argv[3], file=sys.stderr) print("Phase 2: mpegize -- ", argv[3], file=sys.stderr)
print("Message: enc") print("Message: enc")
sys.stdout.flush() sys.stdout.flush()
gst_convert(m.base, argv[3], argv[4]=="dng") gst_convert(m.base, argv[3], ext=="dng")
m.cleanup() m.cleanup()
return return
if mode == "gaps": if mode == "gaps":