video: Update for NavigationModifierType flags value rename

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1176>
This commit is contained in:
Sebastian Dröge 2022-12-16 18:48:32 +02:00
parent e8914592c0
commit 06bc1d7bc1

View file

@ -49,9 +49,9 @@ mod tests {
check_serialize!( check_serialize!(
crate::NavigationModifierType::all(), crate::NavigationModifierType::all(),
concat!( concat!(
"\"shift-mask+lock-mask+control-mask+alt-mask+button1-mask", "\"shift-mask+lock-mask+control-mask+mod1-mask+mod2-mask+mod3-mask",
"+button2-mask+button3-mask+button4-mask+button5-mask", "+mod4-mask+mod5-mask+button1-mask+button2-mask+button3-mask",
"+super-mask+hyper-mask+meta-mask\"" "+button4-mask+button5-mask+super-mask+hyper-mask+meta-mask\""
) )
); );
#[cfg(feature = "v1_18")] #[cfg(feature = "v1_18")]
@ -118,7 +118,8 @@ mod tests {
crate::NavigationModifierType, crate::NavigationModifierType,
crate::NavigationModifierType::all(), crate::NavigationModifierType::all(),
concat!( concat!(
"\"shift-mask+lock-mask+control-mask+alt-mask+button1-mask", "\"shift-mask+lock-mask+control-mask+mod1-mask+mod2-mask",
"+mod3-mask+mod4-mask+mod5-mask+button1-mask",
"+button2-mask+button3-mask+button4-mask+button5-mask", "+button2-mask+button3-mask+button4-mask+button5-mask",
"+super-mask+hyper-mask+meta-mask\"" "+super-mask+hyper-mask+meta-mask\""
) )