mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-05-23 10:48:12 +00:00
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:
commit
bad595ca66
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue