mirror of
https://gitlab.freedesktop.org/pipewire/helvum
synced 2026-03-15 19:46:10 +08:00
pipewire: Edit fixme about port media type
This commit is contained in:
@@ -88,7 +88,7 @@ fn handle_node(node: &GlobalObject<ForeignDict>, sender: &glib::Sender<PipewireM
|
|||||||
.unwrap_or_default(),
|
.unwrap_or_default(),
|
||||||
);
|
);
|
||||||
|
|
||||||
// FIXME: This relies on the node being passed to us by the pipwire server before its port.
|
// FIXME: Instead of checking these props, the "EnumFormat" parameter should be checked instead.
|
||||||
let media_type = props
|
let media_type = props
|
||||||
.get("media.class")
|
.get("media.class")
|
||||||
.map(|class| {
|
.map(|class| {
|
||||||
|
|||||||
Reference in New Issue
Block a user