diff --git a/gstreamer/src/tags.rs b/gstreamer/src/tags.rs index 625e15ca5..89aec06bd 100644 --- a/gstreamer/src/tags.rs +++ b/gstreamer/src/tags.rs @@ -466,7 +466,7 @@ impl TagListRef { #[doc(alias = "get_index")] #[doc(alias = "gst_tag_list_get_index")] - pub fn index<'a, T: Tag<'a>>(&self, idx: u32) -> Option<&'a TagValue> { + pub fn index<'a, T: Tag<'a>>(&'a self, idx: u32) -> Option<&'a TagValue> { self.index_generic(T::TAG_NAME, idx).map(|value| { if !value.is::() { panic!(