Toc::merge() doesn't take ownership of the taglist

This commit is contained in:
Sebastian Dröge 2017-11-27 00:07:57 +02:00
parent 2364bbe85d
commit a871d71d34

View file

@ -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());
}
}