Regenerate with latest GStreamer gir files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1401>
This commit is contained in:
Sebastian Dröge 2024-02-26 11:36:09 +02:00 committed by GStreamer Marge Bot
parent 4e6ddf6663
commit d5917be045
56 changed files with 141 additions and 51 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1167,6 +1167,10 @@ bitflags! {
pub struct ObjectFlags: u32 {
#[doc(alias = "GST_OBJECT_FLAG_MAY_BE_LEAKED")]
const MAY_BE_LEAKED = ffi::GST_OBJECT_FLAG_MAY_BE_LEAKED as _;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_OBJECT_FLAG_CONSTRUCTED")]
const CONSTRUCTED = ffi::GST_OBJECT_FLAG_CONSTRUCTED as _;
}
}

View file

@ -54,6 +54,33 @@ impl Plugin {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_plugin_add_status_error")]
pub fn add_status_error(&self, message: &str) {
unsafe {
ffi::gst_plugin_add_status_error(self.to_glib_none().0, message.to_glib_none().0);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_plugin_add_status_info")]
pub fn add_status_info(&self, message: &str) {
unsafe {
ffi::gst_plugin_add_status_info(self.to_glib_none().0, message.to_glib_none().0);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_plugin_add_status_warning")]
pub fn add_status_warning(&self, message: &str) {
unsafe {
ffi::gst_plugin_add_status_warning(self.to_glib_none().0, message.to_glib_none().0);
}
}
#[doc(alias = "gst_plugin_get_description")]
#[doc(alias = "get_description")]
pub fn description(&self) -> glib::GString {
@ -106,6 +133,42 @@ impl Plugin {
unsafe { from_glib_none(ffi::gst_plugin_get_source(self.to_glib_none().0)) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_plugin_get_status_errors")]
#[doc(alias = "get_status_errors")]
pub fn status_errors(&self) -> Vec<glib::GString> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_plugin_get_status_errors(
self.to_glib_none().0,
))
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_plugin_get_status_infos")]
#[doc(alias = "get_status_infos")]
pub fn status_infos(&self) -> Vec<glib::GString> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_plugin_get_status_infos(
self.to_glib_none().0,
))
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_plugin_get_status_warnings")]
#[doc(alias = "get_status_warnings")]
pub fn status_warnings(&self) -> Vec<glib::GString> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_plugin_get_status_warnings(
self.to_glib_none().0,
))
}
}
#[doc(alias = "gst_plugin_get_version")]
#[doc(alias = "get_version")]
pub fn version(&self) -> glib::GString {

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5975266da3b0)
from gir-files (https://github.com/gtk-rs/gir-files @ fe8258109e60)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 39e21eeb5d10)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62c7d3c33ce8)

View file

@ -797,6 +797,9 @@ pub const GST_MINI_OBJECT_FLAG_LAST: GstMiniObjectFlags = 16;
pub type GstObjectFlags = c_uint;
pub const GST_OBJECT_FLAG_MAY_BE_LEAKED: GstObjectFlags = 1;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_OBJECT_FLAG_CONSTRUCTED: GstObjectFlags = 2;
pub const GST_OBJECT_FLAG_LAST: GstObjectFlags = 16;
pub type GstPadFlags = c_uint;
@ -8405,6 +8408,15 @@ extern "C" {
names: *const c_char,
flags: GstPluginDependencyFlags,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_plugin_add_status_error(plugin: *mut GstPlugin, message: *const c_char);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_plugin_add_status_info(plugin: *mut GstPlugin, message: *const c_char);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_plugin_add_status_warning(plugin: *mut GstPlugin, message: *const c_char);
pub fn gst_plugin_get_cache_data(plugin: *mut GstPlugin) -> *const GstStructure;
pub fn gst_plugin_get_description(plugin: *mut GstPlugin) -> *const c_char;
pub fn gst_plugin_get_filename(plugin: *mut GstPlugin) -> *const c_char;
@ -8414,6 +8426,15 @@ extern "C" {
pub fn gst_plugin_get_package(plugin: *mut GstPlugin) -> *const c_char;
pub fn gst_plugin_get_release_date_string(plugin: *mut GstPlugin) -> *const c_char;
pub fn gst_plugin_get_source(plugin: *mut GstPlugin) -> *const c_char;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_plugin_get_status_errors(plugin: *mut GstPlugin) -> *mut *mut c_char;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_plugin_get_status_infos(plugin: *mut GstPlugin) -> *mut *mut c_char;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_plugin_get_status_warnings(plugin: *mut GstPlugin) -> *mut *mut c_char;
pub fn gst_plugin_get_version(plugin: *mut GstPlugin) -> *const c_char;
pub fn gst_plugin_is_loaded(plugin: *mut GstPlugin) -> gboolean;
pub fn gst_plugin_load(plugin: *mut GstPlugin) -> *mut GstPlugin;

View file

@ -1826,6 +1826,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(guint) GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED", "4"),
("GST_MSECOND", "1000000"),
("GST_NSECOND", "1"),
("(guint) GST_OBJECT_FLAG_CONSTRUCTED", "2"),
("(guint) GST_OBJECT_FLAG_LAST", "16"),
("(guint) GST_OBJECT_FLAG_MAY_BE_LEAKED", "1"),
("(gint) GST_PAD_ALWAYS", "0"),

View file

@ -364,6 +364,7 @@ int main() {
PRINT_CONSTANT((guint) GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED);
PRINT_CONSTANT(GST_MSECOND);
PRINT_CONSTANT(GST_NSECOND);
PRINT_CONSTANT((guint) GST_OBJECT_FLAG_CONSTRUCTED);
PRINT_CONSTANT((guint) GST_OBJECT_FLAG_LAST);
PRINT_CONSTANT((guint) GST_OBJECT_FLAG_MAY_BE_LEAKED);
PRINT_CONSTANT((gint) GST_PAD_ALWAYS);