Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-01-01 13:50:51 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-01-02 20:28:43 +0300
commit43d38d0951f30825f0b031a711bf43db9ff0931f (patch)
treeb56bc712b81c8e9abeb88de0eb6b8589958656c6
parent3181631bb7a59eb41833289547cff1108c88d86d (diff)
Caps in BaseTransform::transform_caps() are not owned
-rw-r--r--gst-plugin/src/base_transform.rs3
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()