Same error on Leap 15.5. Patch already applied to the official pitivi package in my forked project: https://build.opensuse.org/package/show/home:asoraruf:branches:openSUSE:Backports:SLE-15-SP5/pitivi and works well.