Regenerate with latest gir

This commit is contained in:
Philippe Renon 2022-05-18 22:27:53 +02:00
parent 5ed8416717
commit 8f1c94f45d
162 changed files with 231 additions and 283 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -188,11 +188,9 @@ impl<O: IsA<AudioDecoder>> AudioDecoderExt for O {
min.as_mut_ptr(),
max.as_mut_ptr(),
);
let min = min.assume_init();
let max = max.assume_init();
(
try_from_glib(min).expect("mandatory glib value is None"),
from_glib(max),
try_from_glib(min.assume_init()).expect("mandatory glib value is None"),
from_glib(max.assume_init()),
)
}
}
@ -227,9 +225,7 @@ impl<O: IsA<AudioDecoder>> AudioDecoderExt for O {
sync.as_mut_ptr(),
eos.as_mut_ptr(),
);
let sync = sync.assume_init();
let eos = eos.assume_init();
(from_glib(sync), from_glib(eos))
(from_glib(sync.assume_init()), from_glib(eos.assume_init()))
}
}

View file

@ -215,11 +215,9 @@ impl<O: IsA<AudioEncoder>> AudioEncoderExt for O {
min.as_mut_ptr(),
max.as_mut_ptr(),
);
let min = min.assume_init();
let max = max.assume_init();
(
try_from_glib(min).expect("mandatory glib value is None"),
from_glib(max),
try_from_glib(min.assume_init()).expect("mandatory glib value is None"),
from_glib(max.assume_init()),
)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -62,8 +62,7 @@ impl Adapter {
self.to_glib_none().0,
distance.as_mut_ptr(),
));
let distance = distance.assume_init();
(ret, distance)
(ret, distance.assume_init())
}
}
@ -76,8 +75,7 @@ impl Adapter {
offset,
distance.as_mut_ptr(),
));
let distance = distance.assume_init();
(ret, distance)
(ret, distance.assume_init())
}
}
@ -86,8 +84,7 @@ impl Adapter {
unsafe {
let mut distance = mem::MaybeUninit::uninit();
let ret = ffi::gst_adapter_prev_offset(self.to_glib_none().0, distance.as_mut_ptr());
let distance = distance.assume_init();
(ret, distance)
(ret, distance.assume_init())
}
}
@ -99,8 +96,7 @@ impl Adapter {
self.to_glib_none().0,
distance.as_mut_ptr(),
));
let distance = distance.assume_init();
(ret, distance)
(ret, distance.assume_init())
}
}
@ -113,8 +109,7 @@ impl Adapter {
offset,
distance.as_mut_ptr(),
));
let distance = distance.assume_init();
(ret, distance)
(ret, distance.assume_init())
}
}

View file

@ -373,8 +373,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
time.into().into_glib(),
jitter.as_mut_ptr(),
));
let jitter = jitter.assume_init();
(ret, jitter)
(ret, jitter.assume_init())
}
}
@ -392,8 +391,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
time.into_glib(),
jitter.as_mut_ptr(),
));
let jitter = jitter.assume_init();
(ret, jitter)
(ret, jitter.assume_init())
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -80,10 +80,8 @@ impl<O: IsA<ClipAsset>> ClipAssetExt for O {
framerate_n.as_mut_ptr(),
framerate_d.as_mut_ptr(),
));
let framerate_n = framerate_n.assume_init();
let framerate_d = framerate_d.assume_init();
if ret {
Some((framerate_n, framerate_d))
Some((framerate_n.assume_init(), framerate_d.assume_init()))
} else {
None
}

View file

@ -207,10 +207,11 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
flags.as_mut_ptr(),
type_.as_mut_ptr(),
));
let flags = flags.assume_init();
let type_ = type_.assume_init();
if ret {
Some((from_glib(flags), from_glib(type_)))
Some((
from_glib(flags.assume_init()),
from_glib(type_.assume_init()),
))
} else {
None
}
@ -250,9 +251,8 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
meta_item.to_glib_none().0,
dest.as_mut_ptr(),
));
let dest = dest.assume_init();
if ret {
Some(from_glib(dest))
Some(from_glib(dest.assume_init()))
} else {
None
}
@ -299,9 +299,8 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
meta_item.to_glib_none().0,
dest.as_mut_ptr(),
));
let dest = dest.assume_init();
if ret {
Some(dest)
Some(dest.assume_init())
} else {
None
}
@ -316,9 +315,8 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
meta_item.to_glib_none().0,
dest.as_mut_ptr(),
));
let dest = dest.assume_init();
if ret {
Some(dest)
Some(dest.assume_init())
} else {
None
}
@ -333,9 +331,8 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
meta_item.to_glib_none().0,
dest.as_mut_ptr(),
));
let dest = dest.assume_init();
if ret {
Some(dest)
Some(dest.assume_init())
} else {
None
}
@ -350,9 +347,8 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
meta_item.to_glib_none().0,
dest.as_mut_ptr(),
));
let dest = dest.assume_init();
if ret {
Some(dest)
Some(dest.assume_init())
} else {
None
}
@ -396,9 +392,8 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
meta_item.to_glib_none().0,
dest.as_mut_ptr(),
));
let dest = dest.assume_init();
if ret {
Some(dest)
Some(dest.assume_init())
} else {
None
}
@ -413,9 +408,8 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
meta_item.to_glib_none().0,
dest.as_mut_ptr(),
));
let dest = dest.assume_init();
if ret {
Some(dest)
Some(dest.assume_init())
} else {
None
}

View file

@ -418,10 +418,8 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
framerate_n.as_mut_ptr(),
framerate_d.as_mut_ptr(),
));
let framerate_n = framerate_n.assume_init();
let framerate_d = framerate_d.assume_init();
if ret {
Some((framerate_n, framerate_d))
Some((framerate_n.assume_init(), framerate_d.assume_init()))
} else {
None
}

View file

@ -60,10 +60,8 @@ impl<O: IsA<TrackElementAsset>> TrackElementAssetExt for O {
framerate_n.as_mut_ptr(),
framerate_d.as_mut_ptr(),
));
let framerate_n = framerate_n.assume_init();
let framerate_d = framerate_d.assume_init();
if ret {
Some((framerate_n, framerate_d))
Some((framerate_n.assume_init(), framerate_d.assume_init()))
} else {
None
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -49,10 +49,8 @@ impl<O: IsA<VideoSource>> VideoSourceExt for O {
width.as_mut_ptr(),
height.as_mut_ptr(),
));
let width = width.assume_init();
let height = height.assume_init();
if ret {
Some((width, height))
Some((width.assume_init(), height.assume_init()))
} else {
None
}

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -314,9 +314,10 @@ impl GLFormat {
unsized_format.as_mut_ptr(),
gl_type.as_mut_ptr(),
);
let unsized_format = unsized_format.assume_init();
let gl_type = gl_type.assume_init();
(from_glib(unsized_format), gl_type)
(
from_glib(unsized_format.assume_init()),
gl_type.assume_init(),
)
}
}
@ -649,10 +650,11 @@ impl GLSLVersion {
version_ret.as_mut_ptr(),
profile_ret.as_mut_ptr(),
));
let version_ret = version_ret.assume_init();
let profile_ret = profile_ret.assume_init();
if ret {
Some((from_glib(version_ret), from_glib(profile_ret)))
Some((
from_glib(version_ret.assume_init()),
from_glib(profile_ret.assume_init()),
))
} else {
None
}

View file

@ -46,10 +46,11 @@ pub fn glsl_string_get_version_profile(s: &str) -> Option<(GLSLVersion, GLSLProf
version.as_mut_ptr(),
profile.as_mut_ptr(),
));
let version = version.assume_init();
let profile = profile.assume_init();
if ret {
Some((from_glib(version), from_glib(profile)))
Some((
from_glib(version.assume_init()),
from_glib(profile.assume_init()),
))
} else {
None
}

View file

@ -51,9 +51,7 @@ impl GLContext {
major.as_mut_ptr(),
minor.as_mut_ptr(),
));
let major = major.assume_init();
let minor = minor.assume_init();
(ret, major, minor)
(ret, major.assume_init(), minor.assume_init())
}
}
}
@ -292,9 +290,7 @@ impl<O: IsA<GLContext>> GLContextExt for O {
major.as_mut_ptr(),
minor.as_mut_ptr(),
);
let major = major.assume_init();
let minor = minor.assume_init();
(major, minor)
(major.assume_init(), minor.assume_init())
}
}
@ -307,9 +303,7 @@ impl<O: IsA<GLContext>> GLContextExt for O {
maj.as_mut_ptr(),
min.as_mut_ptr(),
);
let maj = maj.assume_init();
let min = min.assume_init();
(maj, min)
(maj.assume_init(), min.assume_init())
}
}

View file

@ -99,9 +99,7 @@ impl<O: IsA<GLFramebuffer>> GLFramebufferExt for O {
width.as_mut_ptr(),
height.as_mut_ptr(),
);
let width = width.assume_init();
let height = height.assume_init();
(width, height)
(width.assume_init(), height.assume_init())
}
}

View file

@ -162,9 +162,7 @@ impl<O: IsA<GLWindow>> GLWindowExt for O {
width.as_mut_ptr(),
height.as_mut_ptr(),
);
let width = width.assume_init();
let height = height.assume_init();
(width, height)
(width.assume_init(), height.assume_init())
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -304,11 +304,12 @@ pub fn plugins_base_version() -> (u32, u32, u32, u32) {
micro.as_mut_ptr(),
nano.as_mut_ptr(),
);
let major = major.assume_init();
let minor = minor.assume_init();
let micro = micro.assume_init();
let nano = nano.assume_init();
(major, minor, micro, nano)
(
major.assume_init(),
minor.assume_init(),
micro.assume_init(),
nano.assume_init(),
)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)
// DO NOT EDIT

View file

@ -47,11 +47,12 @@ impl PlayerVideoOverlayVideoRenderer {
width.as_mut_ptr(),
height.as_mut_ptr(),
);
let x = x.assume_init();
let y = y.assume_init();
let width = width.assume_init();
let height = height.assume_init();
(x, y, width, height)
(
x.assume_init(),
y.assume_init(),
width.assume_init(),
height.assume_init(),
)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551)
Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307)

Some files were not shown because too many files have changed in this diff Show more