forked from mirrors/gstreamer-rs
caps: Add .structure() to CapsBuilder
Allows us to get the structure, to read fields after adding them to the builder.
This commit is contained in:
parent
6d4ad712c7
commit
39bb9abc3c
1 changed files with 4 additions and 0 deletions
|
@ -934,6 +934,10 @@ impl<T> Builder<T> {
|
|||
.append_structure_full(self.s, self.features);
|
||||
caps
|
||||
}
|
||||
|
||||
pub fn structure(&self) -> &crate::Structure {
|
||||
&self.s
|
||||
}
|
||||
}
|
||||
|
||||
pub enum AnyFeatures {}
|
||||
|
|
Loading…
Reference in a new issue