Merge branch 'fix/use-channel-mask-not-int' into 'main'

hrtfrender: use bitmask, not int, to prevent a capsnego failure

See merge request gstreamer/gst-plugins-rs!1549
This commit is contained in:
Maksym Khomenko 2024-04-26 20:25:25 +00:00
commit bad595ca66

View file

@ -649,7 +649,7 @@ impl BaseTransformImpl for HrtfRender {
if direction == gst::PadDirection::Sink {
s.set("channels", 2);
s.set("channel-mask", 0x3);
s.set("channel-mask", gst::Bitmask(0x3));
} else {
let settings = self.settings.lock().unwrap();
if let Some(objs) = &settings.spatial_objects {