Also the default BaseTransform::transform_caps() should not take the caps parameter owned

This commit is contained in:
Sebastian Dröge 2018-01-03 17:48:59 +02:00
parent 8df8b68555
commit 8a41656f40

View file

@ -121,7 +121,7 @@ pub unsafe trait BaseTransformBase
Some(f) => from_glib_full(f(
self.to_glib_none().0,
direction.to_glib(),
caps.into_ptr(),
caps.to_glib_none().0,
filter.to_glib_none().0,
)),
None => caps,