mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
structure: Call _full()
serialize function for GST_SERIALIZE_FLAG_STRICT
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1394>
This commit is contained in:
parent
36269458f2
commit
b08ed23989
1 changed files with 2 additions and 1 deletions
|
@ -747,12 +747,13 @@ impl StructureRef {
|
||||||
#[cfg(feature = "v1_24")]
|
#[cfg(feature = "v1_24")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
#[doc(alias = "gst_structure_serialize")]
|
#[doc(alias = "gst_structure_serialize")]
|
||||||
|
#[doc(alias = "gst_structure_serialize_full")]
|
||||||
pub fn serialize_strict(
|
pub fn serialize_strict(
|
||||||
&self,
|
&self,
|
||||||
flags: crate::SerializeFlags,
|
flags: crate::SerializeFlags,
|
||||||
) -> Result<glib::GString, glib::BoolError> {
|
) -> Result<glib::GString, glib::BoolError> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let res = ffi::gst_structure_serialize(
|
let res = ffi::gst_structure_serialize_full(
|
||||||
&self.0,
|
&self.0,
|
||||||
flags.into_glib() | ffi::GST_SERIALIZE_FLAG_STRICT,
|
flags.into_glib() | ffi::GST_SERIALIZE_FLAG_STRICT,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue