diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2018-01-01 13:50:51 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-01-02 20:28:43 +0300 |
commit | 43d38d0951f30825f0b031a711bf43db9ff0931f (patch) | |
tree | b56bc712b81c8e9abeb88de0eb6b8589958656c6 | |
parent | 3181631bb7a59eb41833289547cff1108c88d86d (diff) |
Caps in BaseTransform::transform_caps() are not owned
-rw-r--r-- | gst-plugin/src/base_transform.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-plugin/src/base_transform.rs b/gst-plugin/src/base_transform.rs index 39516f0a1..65aea930f 100644 --- a/gst-plugin/src/base_transform.rs +++ b/gst-plugin/src/base_transform.rs @@ -471,7 +471,8 @@ where imp.transform_caps( &wrap, from_glib(direction), - from_glib_full(caps), + // FIXME: Should be &from_glib_borrow() + from_glib_none(caps), filter.as_ref(), ) }).into_ptr() |