mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-21 23:56:33 +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,
|
||||
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,
|
||||
))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue