diff --git a/gstreamer/src/tags.rs b/gstreamer/src/tags.rs index cefbadec3..d9b7838ac 100644 --- a/gstreamer/src/tags.rs +++ b/gstreamer/src/tags.rs @@ -480,7 +480,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!(