forked from mirrors/gstreamer-rs
structure: Call _full()
serialize function for GST_SERIALIZE_FLAG_STRICT
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1393>
This commit is contained in:
parent
040a194700
commit
798ee29b98
1 changed files with 2 additions and 1 deletions
|
@ -747,12 +747,13 @@ impl StructureRef {
|
|||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
#[doc(alias = "gst_structure_serialize")]
|
||||
#[doc(alias = "gst_structure_serialize_full")]
|
||||
pub fn serialize_strict(
|
||||
&self,
|
||||
flags: crate::SerializeFlags,
|
||||
) -> Result<glib::GString, glib::BoolError> {
|
||||
unsafe {
|
||||
let res = ffi::gst_structure_serialize(
|
||||
let res = ffi::gst_structure_serialize_full(
|
||||
&self.0,
|
||||
flags.into_glib() | ffi::GST_SERIALIZE_FLAG_STRICT,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue