mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-22 09:00:59 +00:00
element: element_is_capsfilter
This commit is contained in:
parent
cc42cdeaeb
commit
078940fd48
1 changed files with 4 additions and 0 deletions
|
@ -200,6 +200,10 @@ impl ElementInfo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn element_is_capsfilter(element_name: &str) -> bool {
|
||||||
|
matches!(element_name, "capsfilter")
|
||||||
|
}
|
||||||
|
|
||||||
pub fn element_supports_new_pad_request(
|
pub fn element_supports_new_pad_request(
|
||||||
element_name: &str,
|
element_name: &str,
|
||||||
direction: PortDirection,
|
direction: PortDirection,
|
||||||
|
|
Loading…
Reference in a new issue