mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-18 14:16:45 +00:00
video: fix order of arguments for VideoFormat::from_masks()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1609>
This commit is contained in:
parent
1410e2f3a3
commit
6deb59062a
1 changed files with 2 additions and 2 deletions
|
@ -262,8 +262,8 @@ impl crate::VideoFormat {
|
||||||
bpp: u32,
|
bpp: u32,
|
||||||
endianness: crate::VideoEndianness,
|
endianness: crate::VideoEndianness,
|
||||||
red_mask: u32,
|
red_mask: u32,
|
||||||
blue_mask: u32,
|
|
||||||
green_mask: u32,
|
green_mask: u32,
|
||||||
|
blue_mask: u32,
|
||||||
alpha_mask: u32,
|
alpha_mask: u32,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
|
@ -274,8 +274,8 @@ impl crate::VideoFormat {
|
||||||
bpp as i32,
|
bpp as i32,
|
||||||
endianness.into_glib(),
|
endianness.into_glib(),
|
||||||
red_mask,
|
red_mask,
|
||||||
blue_mask,
|
|
||||||
green_mask,
|
green_mask,
|
||||||
|
blue_mask,
|
||||||
alpha_mask,
|
alpha_mask,
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue