From 6deb59062ab070359a785a70eae8e8d9c6b5c73d Mon Sep 17 00:00:00 2001 From: acpiccolo Date: Tue, 10 Dec 2024 11:50:07 +0100 Subject: [PATCH] video: fix order of arguments for VideoFormat::from_masks() Part-of: --- gstreamer-video/src/video_format.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gstreamer-video/src/video_format.rs b/gstreamer-video/src/video_format.rs index 158a24431..97193dcf9 100644 --- a/gstreamer-video/src/video_format.rs +++ b/gstreamer-video/src/video_format.rs @@ -262,8 +262,8 @@ impl crate::VideoFormat { bpp: u32, endianness: crate::VideoEndianness, red_mask: u32, - blue_mask: u32, green_mask: u32, + blue_mask: u32, alpha_mask: u32, ) -> Self { assert_initialized_main_thread!(); @@ -274,8 +274,8 @@ impl crate::VideoFormat { bpp as i32, endianness.into_glib(), red_mask, - blue_mask, green_mask, + blue_mask, alpha_mask, )) }