Freeze when setting aspect ratio of aspectratiocrop effect
Steps to reproduce:
- Add simpsons clip to an empty timeline
- Add the aspectratiocrop effect
- Set the aspect-ratio to 4:3, notice app frozen and stacktrace:
Traceback (most recent call last):
File "/home/aleb/dev/ptv-stable/pitivi/pitivi/effects.py", line 667, in _onValueChangedCb
toplevel=True):
File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File "/home/aleb/dev/ptv-stable/pitivi/pitivi/undo/undo.py", line 190, in started
self.begin(action_group_name, **kwargs)
File "/home/aleb/dev/ptv-stable/pitivi/pitivi/undo/undo.py", line 215, in begin
raise UndoWrongStateError("Toplevel operation started as suboperation", self.stacks)
pitivi.undo.undo.UndoWrongStateError: ('Toplevel operation started as suboperation', [Effect property change: [<TrackElementPropertyChanged <GES.Effect object at 0x7fc0ede71f30 (GESEffect at 0x2b50ec0)>.GstVideoCrop::right: 0 -> 277>]])
Traceback (most recent call last):
File "/home/aleb/dev/ptv-stable/pitivi/pitivi/effects.py", line 667, in _onValueChangedCb
toplevel=True):
File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File "/home/aleb/dev/ptv-stable/pitivi/pitivi/undo/undo.py", line 190, in started
self.begin(action_group_name, **kwargs)
File "/home/aleb/dev/ptv-stable/pitivi/pitivi/undo/undo.py", line 215, in begin
raise UndoWrongStateError("Toplevel operation started as suboperation", self.stacks)
pitivi.undo.undo.UndoWrongStateError: ('Toplevel operation started as suboperation', [Effect property change: [<TrackElementPropertyChanged <GES.Effect object at 0x7fc0ede71f30 (GESEffect at 0x2b50ec0)>.GstVideoCrop::right: 0 -> 277>, <TrackElementPropertyChanged <GES.Effect object at 0x7fc0ede71f30 (GESEffect at 0x2b50ec0)>.GstVideoCrop::left: 0 -> 277>]])