From fa72d53437d054bdb3f8f9b27935b9316d941170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 24 Oct 2021 19:29:24 +0300 Subject: [PATCH] pbutils/encoding_profile: Remove unnecessary lifetime annotations --- gstreamer-pbutils/src/encoding_profile.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gstreamer-pbutils/src/encoding_profile.rs b/gstreamer-pbutils/src/encoding_profile.rs index 72f2e29da..1eb53231e 100644 --- a/gstreamer-pbutils/src/encoding_profile.rs +++ b/gstreamer-pbutils/src/encoding_profile.rs @@ -174,7 +174,7 @@ impl EncodingAudioProfile { } #[doc(alias = "gst_encoding_audio_profile_new")] - pub fn builder<'a>(format: &'a gst::Caps) -> EncodingAudioProfileBuilder<'a> { + pub fn builder(format: &gst::Caps) -> EncodingAudioProfileBuilder { EncodingAudioProfileBuilder::new(format) } } @@ -202,7 +202,7 @@ impl EncodingVideoProfile { } #[doc(alias = "gst_encoding_video_profile_new")] - pub fn builder<'a>(format: &'a gst::Caps) -> EncodingVideoProfileBuilder<'a> { + pub fn builder(format: &gst::Caps) -> EncodingVideoProfileBuilder { EncodingVideoProfileBuilder::new(format) } @@ -246,7 +246,7 @@ impl EncodingContainerProfile { } #[doc(alias = "gst_encoding_container_profile_new")] - pub fn builder<'a>(format: &'a gst::Caps) -> EncodingContainerProfileBuilder<'a> { + pub fn builder(format: &gst::Caps) -> EncodingContainerProfileBuilder { EncodingContainerProfileBuilder::new(format) }