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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1549>
This commit is contained in:
Maksym Khomenko 2024-04-21 16:45:08 +03:00 committed by GStreamer Marge Bot
parent 88cbc93338
commit a87eaa4b79

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 {