transpose=2 is counter clockwise, plus filter order should be rotation
last to match the css application order
This commit is contained in:
parent
1f6c85228b
commit
bdb55e0efc
1 changed files with 2 additions and 2 deletions
|
|
@ -281,12 +281,12 @@ class Timelapse(object):
|
||||||
filters = []
|
filters = []
|
||||||
|
|
||||||
# flip video if configured
|
# flip video if configured
|
||||||
if settings().getBoolean(["webcam", "rotate90"]):
|
|
||||||
filters.append('transpose=1')
|
|
||||||
if settings().getBoolean(["webcam", "flipH"]):
|
if settings().getBoolean(["webcam", "flipH"]):
|
||||||
filters.append('hflip')
|
filters.append('hflip')
|
||||||
if settings().getBoolean(["webcam", "flipV"]):
|
if settings().getBoolean(["webcam", "flipV"]):
|
||||||
filters.append('vflip')
|
filters.append('vflip')
|
||||||
|
if settings().getBoolean(["webcam", "rotate90"]):
|
||||||
|
filters.append('transpose=2')
|
||||||
|
|
||||||
# add watermark if configured
|
# add watermark if configured
|
||||||
watermarkFilter = None
|
watermarkFilter = None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue