generate with latest gir files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1634>
This commit is contained in:
Simon Wülker 2025-05-04 12:34:17 +02:00 committed by Sebastian Dröge
parent 5f4c34d9a5
commit 43f4c21e0e
3 changed files with 8 additions and 8 deletions

View file

@ -37,12 +37,12 @@ impl SourceBuffer {
}
#[doc(alias = "gst_source_buffer_append_buffer")]
pub fn append_buffer(&self, buf: &gst::Buffer) -> Result<(), glib::Error> {
pub fn append_buffer(&self, buf: gst::Buffer) -> Result<(), glib::Error> {
unsafe {
let mut error = std::ptr::null_mut();
let is_ok = ffi::gst_source_buffer_append_buffer(
self.to_glib_none().0,
buf.to_glib_none().0,
buf.into_glib_ptr(),
&mut error,
);
debug_assert_eq!(is_ok == glib::ffi::GFALSE, !error.is_null());

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 491114ad76bd)
from gir-files (https://github.com/gtk-rs/gir-files @ 56728a5eb215)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ce667eb782d7)
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 76115738678a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 491114ad76bd)
from gir-files (https://github.com/gtk-rs/gir-files @ 56728a5eb215)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ce667eb782d7)
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 76115738678a)