parent
e7f5384427
commit
3b3bb36377
|
@ -144,9 +144,9 @@ class Timelapse(object):
|
||||||
filters = []
|
filters = []
|
||||||
|
|
||||||
# flip video if configured
|
# flip video if configured
|
||||||
if settings().getBoolean(["webcam", "flipX"]):
|
if settings().getBoolean(["webcam", "flipH"]):
|
||||||
filters.append('hflip')
|
filters.append('hflip')
|
||||||
if settings().getBoolean(["webcam", "flipY"]):
|
if settings().getBoolean(["webcam", "flipV"]):
|
||||||
filters.append('vflip')
|
filters.append('vflip')
|
||||||
|
|
||||||
# add watermark if configured
|
# add watermark if configured
|
||||||
|
@ -178,7 +178,7 @@ class Timelapse(object):
|
||||||
command.append(output)
|
command.append(output)
|
||||||
try:
|
try:
|
||||||
subprocess.check_call(command)
|
subprocess.check_call(command)
|
||||||
eventManager().fire("MovieDone", output);
|
eventManager().fire("MovieDone", output)
|
||||||
except subprocess.CalledProcessError as (e):
|
except subprocess.CalledProcessError as (e):
|
||||||
self._logger.warn("Could not render movie, got return code %r" % e.returncode)
|
self._logger.warn("Could not render movie, got return code %r" % e.returncode)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue