mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 19:41:09 +00:00
Toc::merge() doesn't take ownership of the taglist
This commit is contained in:
parent
8c697b3a27
commit
029527a6d4
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