mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
Toc::merge() doesn't take ownership of the taglist
This commit is contained in:
parent
2364bbe85d
commit
a871d71d34
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ impl TocRef {
|
||||||
|
|
||||||
pub fn merge_tags(&mut self, tag_list: TagList, mode: TagMergeMode) {
|
pub fn merge_tags(&mut self, tag_list: TagList, mode: TagMergeMode) {
|
||||||
unsafe {
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue