From a871d71d344eb3beda3428ca0d5689c3f9bf4e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 27 Nov 2017 00:07:57 +0200 Subject: [PATCH] Toc::merge() doesn't take ownership of the taglist --- gstreamer/src/toc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer/src/toc.rs b/gstreamer/src/toc.rs index 482935acf..efa070965 100644 --- a/gstreamer/src/toc.rs +++ b/gstreamer/src/toc.rs @@ -82,7 +82,7 @@ impl TocRef { pub fn merge_tags(&mut self, tag_list: TagList, mode: TagMergeMode) { unsafe { - ffi::gst_toc_merge_tags(self.as_mut_ptr(), tag_list.into_ptr(), mode.to_glib()); + ffi::gst_toc_merge_tags(self.as_mut_ptr(), tag_list.as_mut_ptr(), mode.to_glib()); } }