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:
Sebastian Dröge 2024-02-12 16:10:24 +02:00
parent 040a194700
commit 798ee29b98

View file

@ -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,
);