diff --git a/gstreamer/src/tag_setter.rs b/gstreamer/src/tag_setter.rs index 4c7ffa5b4..8eaeeed6c 100644 --- a/gstreamer/src/tag_setter.rs +++ b/gstreamer/src/tag_setter.rs @@ -15,13 +15,13 @@ use glib::value::ToSendValue; use tags::*; pub trait TagSetterExtManual { - fn add<'a, T: Tag<'a>>(&mut self, value: T::TagType, mode: TagMergeMode) + fn add<'a, T: Tag<'a>>(&self, value: T::TagType, mode: TagMergeMode) where T::TagType: ToSendValue; } impl> TagSetterExtManual for O { - fn add<'a, T: Tag<'a>>(&mut self, value: T::TagType, mode: TagMergeMode) + fn add<'a, T: Tag<'a>>(&self, value: T::TagType, mode: TagMergeMode) where T::TagType: ToSendValue, {