From 45708832dd21ad42294e5ba3e6a9be579f943aaf Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 7 Jan 2022 15:29:28 +0200 Subject: [PATCH] gstreamer_gl: fix typos --- gstreamer-gl/Gir.toml | 6 +++--- gstreamer-gl/src/auto/gl_view_convert.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gstreamer-gl/Gir.toml b/gstreamer-gl/Gir.toml index e4c1fa481..9344e4ab8 100644 --- a/gstreamer-gl/Gir.toml +++ b/gstreamer-gl/Gir.toml @@ -190,7 +190,7 @@ manual_traits = ["GLContextExtManual"] [[object.function]] name = "error_quark" - # bad error domian definition in gir + # bad error domain definition in gir ignore = true [[object.function]] @@ -463,7 +463,7 @@ final_type = true ignore = true [[object.function]] - name = "tranform_caps" + name = "transform_caps" [object.function.return] nullable = false @@ -523,5 +523,5 @@ status = "generate" [[object.function]] name = "error_quark" - # bad error domian definition in gir + # bad error domain definition in gir ignore = true diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index bc761cfa8..c0eae1a28 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -82,7 +82,7 @@ impl GLViewConvert { direction: gst::PadDirection, caps: &gst::Caps, filter: &gst::Caps, - ) -> Option { + ) -> gst::Caps { unsafe { from_glib_full(ffi::gst_gl_view_convert_transform_caps( self.to_glib_none().0,