mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-22 08:07:07 +00:00
Regenerate with latest gir (assert safe gerror)
This commit is contained in:
parent
d9a88b7cb7
commit
d1cc8d1298
144 changed files with 184 additions and 157 deletions
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -226,12 +226,13 @@ impl<O: IsA<Clip>> ClipExt for O {
|
||||||
fn add_top_effect(&self, effect: &impl IsA<BaseEffect>, index: i32) -> Result<(), glib::Error> {
|
fn add_top_effect(&self, effect: &impl IsA<BaseEffect>, index: i32) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_clip_add_top_effect(
|
let is_ok = ffi::ges_clip_add_top_effect(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
effect.as_ref().to_glib_none().0,
|
effect.as_ref().to_glib_none().0,
|
||||||
index,
|
index,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -403,11 +404,12 @@ impl<O: IsA<Clip>> ClipExt for O {
|
||||||
fn move_to_layer_full(&self, layer: &impl IsA<Layer>) -> Result<(), glib::Error> {
|
fn move_to_layer_full(&self, layer: &impl IsA<Layer>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_clip_move_to_layer_full(
|
let is_ok = ffi::ges_clip_move_to_layer_full(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
layer.as_ref().to_glib_none().0,
|
layer.as_ref().to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -421,11 +423,12 @@ impl<O: IsA<Clip>> ClipExt for O {
|
||||||
fn remove_top_effect(&self, effect: &impl IsA<BaseEffect>) -> Result<(), glib::Error> {
|
fn remove_top_effect(&self, effect: &impl IsA<BaseEffect>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_clip_remove_top_effect(
|
let is_ok = ffi::ges_clip_remove_top_effect(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
effect.as_ref().to_glib_none().0,
|
effect.as_ref().to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -469,12 +472,13 @@ impl<O: IsA<Clip>> ClipExt for O {
|
||||||
) -> Result<(), glib::Error> {
|
) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_clip_set_top_effect_index_full(
|
let is_ok = ffi::ges_clip_set_top_effect_index_full(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
effect.as_ref().to_glib_none().0,
|
effect.as_ref().to_glib_none().0,
|
||||||
newindex,
|
newindex,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -27,7 +27,8 @@ impl Formatter {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_formatter_can_load_uri(uri.to_glib_none().0, &mut error);
|
let is_ok = ffi::ges_formatter_can_load_uri(uri.to_glib_none().0, &mut error);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -41,7 +42,8 @@ impl Formatter {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_formatter_can_save_uri(uri.to_glib_none().0, &mut error);
|
let is_ok = ffi::ges_formatter_can_save_uri(uri.to_glib_none().0, &mut error);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -77,12 +79,13 @@ impl<O: IsA<Formatter>> FormatterExt for O {
|
||||||
fn load_from_uri(&self, timeline: &impl IsA<Timeline>, uri: &str) -> Result<(), glib::Error> {
|
fn load_from_uri(&self, timeline: &impl IsA<Timeline>, uri: &str) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_formatter_load_from_uri(
|
let is_ok = ffi::ges_formatter_load_from_uri(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
timeline.as_ref().to_glib_none().0,
|
timeline.as_ref().to_glib_none().0,
|
||||||
uri.to_glib_none().0,
|
uri.to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -99,13 +102,14 @@ impl<O: IsA<Formatter>> FormatterExt for O {
|
||||||
) -> Result<(), glib::Error> {
|
) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_formatter_save_to_uri(
|
let is_ok = ffi::ges_formatter_save_to_uri(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
timeline.as_ref().to_glib_none().0,
|
timeline.as_ref().to_glib_none().0,
|
||||||
uri.to_glib_none().0,
|
uri.to_glib_none().0,
|
||||||
overwrite.into_glib(),
|
overwrite.into_glib(),
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -221,11 +221,12 @@ impl<O: IsA<Layer>> LayerExt for O {
|
||||||
fn add_clip_full(&self, clip: &impl IsA<Clip>) -> Result<(), glib::Error> {
|
fn add_clip_full(&self, clip: &impl IsA<Clip>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_layer_add_clip_full(
|
let is_ok = ffi::ges_layer_add_clip_full(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
clip.as_ref().to_glib_none().0,
|
clip.as_ref().to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -200,7 +200,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
||||||
) -> Result<(), glib::Error> {
|
) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_pipeline_save_thumbnail(
|
let is_ok = ffi::ges_pipeline_save_thumbnail(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
|
@ -208,6 +208,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
||||||
location.to_glib_none().0,
|
location.to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -242,11 +242,12 @@ impl<O: IsA<Project>> ProjectExt for O {
|
||||||
fn load(&self, timeline: &impl IsA<Timeline>) -> Result<(), glib::Error> {
|
fn load(&self, timeline: &impl IsA<Timeline>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_project_load(
|
let is_ok = ffi::ges_project_load(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
timeline.as_ref().to_glib_none().0,
|
timeline.as_ref().to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -276,7 +277,7 @@ impl<O: IsA<Project>> ProjectExt for O {
|
||||||
) -> Result<(), glib::Error> {
|
) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_project_save(
|
let is_ok = ffi::ges_project_save(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
timeline.as_ref().to_glib_none().0,
|
timeline.as_ref().to_glib_none().0,
|
||||||
uri.to_glib_none().0,
|
uri.to_glib_none().0,
|
||||||
|
@ -284,6 +285,7 @@ impl<O: IsA<Project>> ProjectExt for O {
|
||||||
overwrite.into_glib(),
|
overwrite.into_glib(),
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -412,11 +412,12 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
||||||
fn load_from_uri(&self, uri: &str) -> Result<(), glib::Error> {
|
fn load_from_uri(&self, uri: &str) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_timeline_load_from_uri(
|
let is_ok = ffi::ges_timeline_load_from_uri(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
uri.to_glib_none().0,
|
uri.to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -492,13 +493,14 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
||||||
) -> Result<(), glib::Error> {
|
) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_timeline_save_to_uri(
|
let is_ok = ffi::ges_timeline_save_to_uri(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
uri.to_glib_none().0,
|
uri.to_glib_none().0,
|
||||||
formatter_asset.map(|p| p.as_ref()).to_glib_none().0,
|
formatter_asset.map(|p| p.as_ref()).to_glib_none().0,
|
||||||
overwrite.into_glib(),
|
overwrite.into_glib(),
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -320,7 +320,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
) -> Result<(), glib::Error> {
|
) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_timeline_element_edit_full(
|
let is_ok = ffi::ges_timeline_element_edit_full(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
new_layer_priority,
|
new_layer_priority,
|
||||||
mode.into_glib(),
|
mode.into_glib(),
|
||||||
|
@ -328,6 +328,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
position,
|
position,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -568,12 +569,13 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
) -> Result<(), glib::Error> {
|
) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_timeline_element_set_child_property_full(
|
let is_ok = ffi::ges_timeline_element_set_child_property_full(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
property_name.to_glib_none().0,
|
property_name.to_glib_none().0,
|
||||||
value.to_glib_none().0,
|
value.to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -163,11 +163,12 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
||||||
fn add_element_full(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::Error> {
|
fn add_element_full(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_track_add_element_full(
|
let is_ok = ffi::ges_track_add_element_full(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
object.as_ref().to_glib_none().0,
|
object.as_ref().to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -230,11 +231,12 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
||||||
fn remove_element_full(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::Error> {
|
fn remove_element_full(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::ges_track_remove_element_full(
|
let is_ok = ffi::ges_track_remove_element_full(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
object.as_ref().to_glib_none().0,
|
object.as_ref().to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -216,11 +216,12 @@ impl<O: IsA<GLContext>> GLContextExt for O {
|
||||||
fn create(&self, other_context: Option<&impl IsA<GLContext>>) -> Result<(), glib::Error> {
|
fn create(&self, other_context: Option<&impl IsA<GLContext>>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_gl_context_create(
|
let is_ok = ffi::gst_gl_context_create(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
other_context.map(|p| p.as_ref()).to_glib_none().0,
|
other_context.map(|p| p.as_ref()).to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -238,7 +239,8 @@ impl<O: IsA<GLContext>> GLContextExt for O {
|
||||||
fn fill_info(&self) -> Result<(), glib::Error> {
|
fn fill_info(&self) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_gl_context_fill_info(self.as_ref().to_glib_none().0, &mut error);
|
let is_ok = ffi::gst_gl_context_fill_info(self.as_ref().to_glib_none().0, &mut error);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -119,12 +119,13 @@ impl<O: IsA<GLDisplay>> GLDisplayExt for O {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut p_context = ptr::null_mut();
|
let mut p_context = ptr::null_mut();
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_gl_display_create_context(
|
let is_ok = ffi::gst_gl_display_create_context(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
other_context.as_ref().to_glib_none().0,
|
other_context.as_ref().to_glib_none().0,
|
||||||
&mut p_context,
|
&mut p_context,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(from_glib_full(p_context))
|
Ok(from_glib_full(p_context))
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -107,11 +107,12 @@ impl GLShader {
|
||||||
pub fn compile_attach_stage(&self, stage: &GLSLStage) -> Result<(), glib::Error> {
|
pub fn compile_attach_stage(&self, stage: &GLSLStage) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_gl_shader_compile_attach_stage(
|
let is_ok = ffi::gst_gl_shader_compile_attach_stage(
|
||||||
self.to_glib_none().0,
|
self.to_glib_none().0,
|
||||||
stage.to_glib_none().0,
|
stage.to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -157,7 +158,8 @@ impl GLShader {
|
||||||
pub fn link(&self) -> Result<(), glib::Error> {
|
pub fn link(&self) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_gl_shader_link(self.to_glib_none().0, &mut error);
|
let is_ok = ffi::gst_gl_shader_link(self.to_glib_none().0, &mut error);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -99,7 +99,8 @@ impl GLSLStage {
|
||||||
pub fn compile(&self) -> Result<(), glib::Error> {
|
pub fn compile(&self) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_glsl_stage_compile(self.to_glib_none().0, &mut error);
|
let is_ok = ffi::gst_glsl_stage_compile(self.to_glib_none().0, &mut error);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -91,7 +91,8 @@ impl EncodingTarget {
|
||||||
pub fn save(&self) -> Result<(), glib::Error> {
|
pub fn save(&self) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_encoding_target_save(self.to_glib_none().0, &mut error);
|
let is_ok = ffi::gst_encoding_target_save(self.to_glib_none().0, &mut error);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
@ -104,11 +105,12 @@ impl EncodingTarget {
|
||||||
pub fn save_to_file(&self, filepath: impl AsRef<std::path::Path>) -> Result<(), glib::Error> {
|
pub fn save_to_file(&self, filepath: impl AsRef<std::path::Path>) -> Result<(), glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
let _ = ffi::gst_encoding_target_save_to_file(
|
let is_ok = ffi::gst_encoding_target_save_to_file(
|
||||||
self.to_glib_none().0,
|
self.to_glib_none().0,
|
||||||
filepath.as_ref().to_glib_none().0,
|
filepath.as_ref().to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
assert_eq!(is_ok == 0, !error.is_null());
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 878c7cdd654c)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0220d4948268)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue