forked from mirrors/gstreamer-rs
Regenerate with latest gir and gir-files
This commit is contained in:
parent
19f7aaf413
commit
67e3183922
257 changed files with 803 additions and 711 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -21,7 +21,7 @@ shell-words = "1.0.0"
|
|||
tempfile = "3"
|
||||
|
||||
[features]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gobject/dox", "gst/dox"]
|
||||
v1_16 = []
|
||||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-allocators/sys/src/auto/versions.txt
Normal file
3
gstreamer-allocators/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_allocators_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -25,7 +25,7 @@ v1_16 = []
|
|||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gst/dox", "gst_base/dox"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_app_sys"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-app/sys/src/auto/versions.txt
Normal file
3
gstreamer-app/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_app_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -31,11 +31,11 @@ unsafe impl Sync for AudioDecoder {}
|
|||
|
||||
pub trait AudioDecoderExt: 'static {
|
||||
#[doc(alias = "gst_audio_decoder_allocate_output_buffer")]
|
||||
fn allocate_output_buffer(&self, size: usize) -> Result<gst::Buffer, glib::BoolError>;
|
||||
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer;
|
||||
|
||||
#[doc(alias = "gst_audio_decoder_get_audio_info")]
|
||||
#[doc(alias = "get_audio_info")]
|
||||
fn audio_info(&self) -> Option<AudioInfo>;
|
||||
fn audio_info(&self) -> AudioInfo;
|
||||
|
||||
#[doc(alias = "gst_audio_decoder_get_delay")]
|
||||
#[doc(alias = "get_delay")]
|
||||
|
@ -145,17 +145,16 @@ pub trait AudioDecoderExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<AudioDecoder>> AudioDecoderExt for O {
|
||||
fn allocate_output_buffer(&self, size: usize) -> Result<gst::Buffer, glib::BoolError> {
|
||||
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer {
|
||||
unsafe {
|
||||
Option::<_>::from_glib_full(ffi::gst_audio_decoder_allocate_output_buffer(
|
||||
from_glib_full(ffi::gst_audio_decoder_allocate_output_buffer(
|
||||
self.as_ref().to_glib_none().0,
|
||||
size,
|
||||
))
|
||||
.ok_or_else(|| glib::bool_error!("Failed to allocate output buffer"))
|
||||
}
|
||||
}
|
||||
|
||||
fn audio_info(&self) -> Option<AudioInfo> {
|
||||
fn audio_info(&self) -> AudioInfo {
|
||||
unsafe {
|
||||
from_glib_none(ffi::gst_audio_decoder_get_audio_info(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -31,11 +31,11 @@ unsafe impl Sync for AudioEncoder {}
|
|||
|
||||
pub trait AudioEncoderExt: 'static {
|
||||
#[doc(alias = "gst_audio_encoder_allocate_output_buffer")]
|
||||
fn allocate_output_buffer(&self, size: usize) -> Result<gst::Buffer, glib::BoolError>;
|
||||
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer;
|
||||
|
||||
#[doc(alias = "gst_audio_encoder_get_audio_info")]
|
||||
#[doc(alias = "get_audio_info")]
|
||||
fn audio_info(&self) -> Option<AudioInfo>;
|
||||
fn audio_info(&self) -> AudioInfo;
|
||||
|
||||
#[doc(alias = "gst_audio_encoder_get_drainable")]
|
||||
#[doc(alias = "get_drainable")]
|
||||
|
@ -152,17 +152,16 @@ pub trait AudioEncoderExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<AudioEncoder>> AudioEncoderExt for O {
|
||||
fn allocate_output_buffer(&self, size: usize) -> Result<gst::Buffer, glib::BoolError> {
|
||||
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer {
|
||||
unsafe {
|
||||
Option::<_>::from_glib_full(ffi::gst_audio_encoder_allocate_output_buffer(
|
||||
from_glib_full(ffi::gst_audio_encoder_allocate_output_buffer(
|
||||
self.as_ref().to_glib_none().0,
|
||||
size,
|
||||
))
|
||||
.ok_or_else(|| glib::bool_error!("Failed to allocate output buffer"))
|
||||
}
|
||||
}
|
||||
|
||||
fn audio_info(&self) -> Option<AudioInfo> {
|
||||
fn audio_info(&self) -> AudioInfo {
|
||||
unsafe {
|
||||
from_glib_none(ffi::gst_audio_encoder_get_audio_info(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -29,7 +29,7 @@ v1_16 = []
|
|||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gobject/dox", "gst/dox", "gst_base/dox"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_audio_sys"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-audio/sys/src/auto/versions.txt
Normal file
3
gstreamer-audio/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_audio_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -27,7 +27,7 @@ v1_16 = ["v1_14_3"]
|
|||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gobject/dox", "gst/dox"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_base_sys"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-base/sys/src/auto/versions.txt
Normal file
3
gstreamer-base/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_base_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -25,7 +25,7 @@ v1_16 = []
|
|||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gobject/dox", "gst/dox"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_check_sys"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-check/sys/src/auto/versions.txt
Normal file
3
gstreamer-check/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_check_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -26,7 +26,7 @@ v1_16 = []
|
|||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gobject/dox", "gst/dox"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_controller_sys"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-controller/sys/src/auto/versions.txt
Normal file
3
gstreamer-controller/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_controller_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -144,7 +144,7 @@ pub trait AssetExt: 'static {
|
|||
|
||||
#[doc(alias = "ges_asset_get_id")]
|
||||
#[doc(alias = "get_id")]
|
||||
fn id(&self) -> Option<glib::GString>;
|
||||
fn id(&self) -> glib::GString;
|
||||
|
||||
#[doc(alias = "ges_asset_get_proxy")]
|
||||
#[doc(alias = "get_proxy")]
|
||||
|
@ -197,7 +197,7 @@ impl<O: IsA<Asset>> AssetExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn id(&self) -> Option<glib::GString> {
|
||||
fn id(&self) -> glib::GString {
|
||||
unsafe { from_glib_none(ffi::ges_asset_get_id(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ pub trait ExtractableExt: 'static {
|
|||
|
||||
#[doc(alias = "ges_extractable_get_id")]
|
||||
#[doc(alias = "get_id")]
|
||||
fn id(&self) -> Option<glib::GString>;
|
||||
fn id(&self) -> glib::GString;
|
||||
|
||||
#[doc(alias = "ges_extractable_set_asset")]
|
||||
fn set_asset(&self, asset: &impl IsA<Asset>) -> Result<(), glib::error::BoolError>;
|
||||
|
@ -42,7 +42,7 @@ impl<O: IsA<Extractable>> ExtractableExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn id(&self) -> Option<glib::GString> {
|
||||
fn id(&self) -> glib::GString {
|
||||
unsafe { from_glib_full(ffi::ges_extractable_get_id(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ impl Formatter {
|
|||
|
||||
#[doc(alias = "ges_formatter_get_default")]
|
||||
#[doc(alias = "get_default")]
|
||||
pub fn default() -> Option<Asset> {
|
||||
pub fn default() -> Asset {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_none(ffi::ges_formatter_get_default()) }
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ impl MarkerList {
|
|||
}
|
||||
|
||||
#[doc(alias = "ges_marker_list_add")]
|
||||
pub fn add(&self, position: impl Into<Option<gst::ClockTime>>) -> Option<Marker> {
|
||||
pub fn add(&self, position: impl Into<Option<gst::ClockTime>>) -> Marker {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_marker_list_add(
|
||||
self.to_glib_none().0,
|
||||
|
|
|
@ -91,7 +91,7 @@ pub trait MetaContainerExt: 'static {
|
|||
fn uint64(&self, meta_item: &str) -> Option<u64>;
|
||||
|
||||
#[doc(alias = "ges_meta_container_metas_to_string")]
|
||||
fn metas_to_string(&self) -> Option<glib::GString>;
|
||||
fn metas_to_string(&self) -> glib::GString;
|
||||
|
||||
#[doc(alias = "ges_meta_container_register_meta")]
|
||||
fn register_meta(&self, flags: MetaFlag, meta_item: &str, value: &glib::Value) -> bool;
|
||||
|
@ -416,7 +416,7 @@ impl<O: IsA<MetaContainer>> MetaContainerExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn metas_to_string(&self) -> Option<glib::GString> {
|
||||
fn metas_to_string(&self) -> glib::GString {
|
||||
unsafe {
|
||||
from_glib_full(ffi::ges_meta_container_metas_to_string(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -61,10 +61,10 @@ pub trait GESPipelineExt: 'static {
|
|||
fn preview_get_video_sink(&self) -> Option<gst::Element>;
|
||||
|
||||
#[doc(alias = "ges_pipeline_preview_set_audio_sink")]
|
||||
fn preview_set_audio_sink(&self, sink: &impl IsA<gst::Element>);
|
||||
fn preview_set_audio_sink(&self, sink: Option<&impl IsA<gst::Element>>);
|
||||
|
||||
#[doc(alias = "ges_pipeline_preview_set_video_sink")]
|
||||
fn preview_set_video_sink(&self, sink: &impl IsA<gst::Element>);
|
||||
fn preview_set_video_sink(&self, sink: Option<&impl IsA<gst::Element>>);
|
||||
|
||||
#[doc(alias = "ges_pipeline_save_thumbnail")]
|
||||
fn save_thumbnail(
|
||||
|
@ -173,20 +173,20 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn preview_set_audio_sink(&self, sink: &impl IsA<gst::Element>) {
|
||||
fn preview_set_audio_sink(&self, sink: Option<&impl IsA<gst::Element>>) {
|
||||
unsafe {
|
||||
ffi::ges_pipeline_preview_set_audio_sink(
|
||||
self.as_ref().to_glib_none().0,
|
||||
sink.as_ref().to_glib_none().0,
|
||||
sink.map(|p| p.as_ref()).to_glib_none().0,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
fn preview_set_video_sink(&self, sink: &impl IsA<gst::Element>) {
|
||||
fn preview_set_video_sink(&self, sink: Option<&impl IsA<gst::Element>>) {
|
||||
unsafe {
|
||||
ffi::ges_pipeline_preview_set_video_sink(
|
||||
self.as_ref().to_glib_none().0,
|
||||
sink.as_ref().to_glib_none().0,
|
||||
sink.map(|p| p.as_ref()).to_glib_none().0,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,13 +66,13 @@ pub trait TextOverlayExt: 'static {
|
|||
fn set_color(&self, color: u32);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_set_font_desc")]
|
||||
fn set_font_desc(&self, font_desc: &str);
|
||||
fn set_font_desc(&self, font_desc: Option<&str>);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_set_halignment")]
|
||||
fn set_halignment(&self, halign: TextHAlign);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_set_text")]
|
||||
fn set_text(&self, text: &str);
|
||||
fn set_text(&self, text: Option<&str>);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_set_valignment")]
|
||||
fn set_valignment(&self, valign: TextVAlign);
|
||||
|
@ -135,7 +135,7 @@ impl<O: IsA<TextOverlay>> TextOverlayExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_font_desc(&self, font_desc: &str) {
|
||||
fn set_font_desc(&self, font_desc: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_text_overlay_set_font_desc(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
@ -153,7 +153,7 @@ impl<O: IsA<TextOverlay>> TextOverlayExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_text(&self, text: &str) {
|
||||
fn set_text(&self, text: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_text_overlay_set_text(self.as_ref().to_glib_none().0, text.to_glib_none().0);
|
||||
}
|
||||
|
|
|
@ -73,13 +73,13 @@ pub trait TextOverlayClipExt: 'static {
|
|||
fn set_color(&self, color: u32);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_clip_set_font_desc")]
|
||||
fn set_font_desc(&self, font_desc: &str);
|
||||
fn set_font_desc(&self, font_desc: Option<&str>);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_clip_set_halign")]
|
||||
fn set_halign(&self, halign: TextHAlign);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_clip_set_text")]
|
||||
fn set_text(&self, text: &str);
|
||||
fn set_text(&self, text: Option<&str>);
|
||||
|
||||
#[doc(alias = "ges_text_overlay_clip_set_valign")]
|
||||
fn set_valign(&self, valign: TextVAlign);
|
||||
|
@ -167,7 +167,7 @@ impl<O: IsA<TextOverlayClip>> TextOverlayClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_font_desc(&self, font_desc: &str) {
|
||||
fn set_font_desc(&self, font_desc: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_text_overlay_clip_set_font_desc(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
@ -185,7 +185,7 @@ impl<O: IsA<TextOverlayClip>> TextOverlayClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_text(&self, text: &str) {
|
||||
fn set_text(&self, text: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_text_overlay_clip_set_text(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -52,7 +52,7 @@ impl Timeline {
|
|||
|
||||
#[doc(alias = "ges_timeline_new_from_uri")]
|
||||
#[doc(alias = "new_from_uri")]
|
||||
pub fn from_uri(uri: &str) -> Result<Option<Timeline>, glib::Error> {
|
||||
pub fn from_uri(uri: &str) -> Result<Timeline, glib::Error> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
let mut error = ptr::null_mut();
|
||||
|
@ -212,7 +212,7 @@ pub trait TimelineExt: 'static {
|
|||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "select-element-track")]
|
||||
fn connect_select_element_track<F: Fn(&Self, &Clip, &TrackElement) -> Track + 'static>(
|
||||
fn connect_select_element_track<F: Fn(&Self, &Clip, &TrackElement) -> Option<Track> + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId;
|
||||
|
@ -646,13 +646,15 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
|||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn connect_select_element_track<F: Fn(&Self, &Clip, &TrackElement) -> Track + 'static>(
|
||||
fn connect_select_element_track<
|
||||
F: Fn(&Self, &Clip, &TrackElement) -> Option<Track> + 'static,
|
||||
>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId {
|
||||
unsafe extern "C" fn select_element_track_trampoline<
|
||||
P: IsA<Timeline>,
|
||||
F: Fn(&P, &Clip, &TrackElement) -> Track + 'static,
|
||||
F: Fn(&P, &Clip, &TrackElement) -> Option<Track> + 'static,
|
||||
>(
|
||||
this: *mut ffi::GESTimeline,
|
||||
clip: *mut ffi::GESClip,
|
||||
|
|
|
@ -50,7 +50,8 @@ pub trait TimelineElementExt: 'static {
|
|||
) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
#[doc(alias = "ges_timeline_element_copy")]
|
||||
fn copy(&self, deep: bool) -> Result<TimelineElement, glib::BoolError>;
|
||||
#[must_use]
|
||||
fn copy(&self, deep: bool) -> TimelineElement;
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
|
@ -139,7 +140,7 @@ pub trait TimelineElementExt: 'static {
|
|||
#[doc(alias = "ges_timeline_element_get_toplevel_parent")]
|
||||
#[doc(alias = "get_toplevel_parent")]
|
||||
#[must_use]
|
||||
fn toplevel_parent(&self) -> Option<TimelineElement>;
|
||||
fn toplevel_parent(&self) -> TimelineElement;
|
||||
|
||||
#[doc(alias = "ges_timeline_element_get_track_types")]
|
||||
#[doc(alias = "get_track_types")]
|
||||
|
@ -305,13 +306,12 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn copy(&self, deep: bool) -> Result<TimelineElement, glib::BoolError> {
|
||||
fn copy(&self, deep: bool) -> TimelineElement {
|
||||
unsafe {
|
||||
Option::<_>::from_glib_none(ffi::ges_timeline_element_copy(
|
||||
from_glib_none(ffi::ges_timeline_element_copy(
|
||||
self.as_ref().to_glib_none().0,
|
||||
deep.into_glib(),
|
||||
))
|
||||
.ok_or_else(|| glib::bool_error!("Failed to copy timeline element"))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -489,7 +489,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn toplevel_parent(&self) -> Option<TimelineElement> {
|
||||
fn toplevel_parent(&self) -> TimelineElement {
|
||||
unsafe {
|
||||
from_glib_full(ffi::ges_timeline_element_get_toplevel_parent(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -90,7 +90,7 @@ pub trait TitleClipExt: 'static {
|
|||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[doc(alias = "ges_title_clip_set_font_desc")]
|
||||
fn set_font_desc(&self, font_desc: &str);
|
||||
fn set_font_desc(&self, font_desc: Option<&str>);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[doc(alias = "ges_title_clip_set_halignment")]
|
||||
|
@ -98,7 +98,7 @@ pub trait TitleClipExt: 'static {
|
|||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[doc(alias = "ges_title_clip_set_text")]
|
||||
fn set_text(&self, text: &str);
|
||||
fn set_text(&self, text: Option<&str>);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[doc(alias = "ges_title_clip_set_valignment")]
|
||||
|
@ -158,7 +158,7 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
|
||||
fn font_desc(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_title_clip_get_font_desc(
|
||||
from_glib_full(ffi::ges_title_clip_get_font_desc(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
|
@ -173,7 +173,7 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
|
||||
fn text(&self) -> Option<glib::GString> {
|
||||
unsafe { from_glib_none(ffi::ges_title_clip_get_text(self.as_ref().to_glib_none().0)) }
|
||||
unsafe { from_glib_full(ffi::ges_title_clip_get_text(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
fn text_color(&self) -> u32 {
|
||||
|
@ -208,7 +208,7 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_font_desc(&self, font_desc: &str) {
|
||||
fn set_font_desc(&self, font_desc: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_font_desc(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
@ -223,7 +223,7 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_text(&self, text: &str) {
|
||||
fn set_text(&self, text: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_text(self.as_ref().to_glib_none().0, text.to_glib_none().0);
|
||||
}
|
||||
|
|
|
@ -66,13 +66,13 @@ pub trait TitleSourceExt: 'static {
|
|||
fn set_background_color(&self, color: u32);
|
||||
|
||||
#[doc(alias = "ges_title_source_set_font_desc")]
|
||||
fn set_font_desc(&self, font_desc: &str);
|
||||
fn set_font_desc(&self, font_desc: Option<&str>);
|
||||
|
||||
#[doc(alias = "ges_title_source_set_halignment")]
|
||||
fn set_halignment(&self, halign: TextHAlign);
|
||||
|
||||
#[doc(alias = "ges_title_source_set_text")]
|
||||
fn set_text(&self, text: &str);
|
||||
fn set_text(&self, text: Option<&str>);
|
||||
|
||||
#[doc(alias = "ges_title_source_set_text_color")]
|
||||
fn set_text_color(&self, color: u32);
|
||||
|
@ -142,7 +142,7 @@ impl<O: IsA<TitleSource>> TitleSourceExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_font_desc(&self, font_desc: &str) {
|
||||
fn set_font_desc(&self, font_desc: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_title_source_set_font_desc(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
@ -160,7 +160,7 @@ impl<O: IsA<TitleSource>> TitleSourceExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_text(&self, text: &str) {
|
||||
fn set_text(&self, text: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_title_source_set_text(self.as_ref().to_glib_none().0, text.to_glib_none().0);
|
||||
}
|
||||
|
|
|
@ -95,11 +95,11 @@ pub trait TrackElementExt: 'static {
|
|||
|
||||
#[doc(alias = "ges_track_element_get_gnlobject")]
|
||||
#[doc(alias = "get_gnlobject")]
|
||||
fn gnlobject(&self) -> Option<gst::Element>;
|
||||
fn gnlobject(&self) -> gst::Element;
|
||||
|
||||
#[doc(alias = "ges_track_element_get_nleobject")]
|
||||
#[doc(alias = "get_nleobject")]
|
||||
fn nleobject(&self) -> Option<gst::Element>;
|
||||
fn nleobject(&self) -> gst::Element;
|
||||
|
||||
#[doc(alias = "ges_track_element_get_track")]
|
||||
#[doc(alias = "get_track")]
|
||||
|
@ -324,7 +324,7 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn gnlobject(&self) -> Option<gst::Element> {
|
||||
fn gnlobject(&self) -> gst::Element {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_track_element_get_gnlobject(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
@ -332,7 +332,7 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn nleobject(&self) -> Option<gst::Element> {
|
||||
fn nleobject(&self) -> gst::Element {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_track_element_get_nleobject(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -42,7 +42,7 @@ impl UriClip {
|
|||
pub trait UriClipExt: 'static {
|
||||
#[doc(alias = "ges_uri_clip_get_uri")]
|
||||
#[doc(alias = "get_uri")]
|
||||
fn uri(&self) -> Option<glib::GString>;
|
||||
fn uri(&self) -> glib::GString;
|
||||
|
||||
#[doc(alias = "ges_uri_clip_is_image")]
|
||||
fn is_image(&self) -> bool;
|
||||
|
@ -64,7 +64,7 @@ pub trait UriClipExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<UriClip>> UriClipExt for O {
|
||||
fn uri(&self) -> Option<glib::GString> {
|
||||
fn uri(&self) -> glib::GString {
|
||||
unsafe { from_glib_none(ffi::ges_uri_clip_get_uri(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ pub trait UriClipAssetExt: 'static {
|
|||
|
||||
#[doc(alias = "ges_uri_clip_asset_get_info")]
|
||||
#[doc(alias = "get_info")]
|
||||
fn info(&self) -> Option<gst_pbutils::DiscovererInfo>;
|
||||
fn info(&self) -> gst_pbutils::DiscovererInfo;
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
|
@ -123,7 +123,7 @@ impl<O: IsA<UriClipAsset>> UriClipAssetExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn info(&self) -> Option<gst_pbutils::DiscovererInfo> {
|
||||
fn info(&self) -> gst_pbutils::DiscovererInfo {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_uri_clip_asset_get_info(const_override(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -26,15 +26,15 @@ impl UriSourceAsset {
|
|||
pub trait UriSourceAssetExt: 'static {
|
||||
#[doc(alias = "ges_uri_source_asset_get_filesource_asset")]
|
||||
#[doc(alias = "get_filesource_asset")]
|
||||
fn filesource_asset(&self) -> Option<UriClipAsset>;
|
||||
fn filesource_asset(&self) -> UriClipAsset;
|
||||
|
||||
#[doc(alias = "ges_uri_source_asset_get_stream_info")]
|
||||
#[doc(alias = "get_stream_info")]
|
||||
fn stream_info(&self) -> Option<gst_pbutils::DiscovererStreamInfo>;
|
||||
fn stream_info(&self) -> gst_pbutils::DiscovererStreamInfo;
|
||||
|
||||
#[doc(alias = "ges_uri_source_asset_get_stream_uri")]
|
||||
#[doc(alias = "get_stream_uri")]
|
||||
fn stream_uri(&self) -> Option<glib::GString>;
|
||||
fn stream_uri(&self) -> glib::GString;
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
|
@ -43,7 +43,7 @@ pub trait UriSourceAssetExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<UriSourceAsset>> UriSourceAssetExt for O {
|
||||
fn filesource_asset(&self) -> Option<UriClipAsset> {
|
||||
fn filesource_asset(&self) -> UriClipAsset {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_uri_source_asset_get_filesource_asset(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
@ -51,7 +51,7 @@ impl<O: IsA<UriSourceAsset>> UriSourceAssetExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn stream_info(&self) -> Option<gst_pbutils::DiscovererStreamInfo> {
|
||||
fn stream_info(&self) -> gst_pbutils::DiscovererStreamInfo {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_uri_source_asset_get_stream_info(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
@ -59,7 +59,7 @@ impl<O: IsA<UriSourceAsset>> UriSourceAssetExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn stream_uri(&self) -> Option<glib::GString> {
|
||||
fn stream_uri(&self) -> glib::GString {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_uri_source_asset_get_stream_uri(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -33,7 +33,7 @@ v1_16 = []
|
|||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gobject/dox", "gio/dox", "gst/dox", "gst_pbutils/dox"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_editing_services_sys"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-editing-services/sys/src/auto/versions.txt
Normal file
3
gstreamer-editing-services/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_editing_services_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -8,6 +8,7 @@ concurrency = "send+sync"
|
|||
generate_safety_asserts = true
|
||||
single_version_file = true
|
||||
generate_display_trait = false
|
||||
trust_return_value_nullability = true
|
||||
|
||||
external_libraries = [
|
||||
"GLib",
|
||||
|
@ -18,9 +19,7 @@ external_libraries = [
|
|||
"GstVideo",
|
||||
]
|
||||
|
||||
generate = [
|
||||
"GstGLEGL.GLDisplayEGL",
|
||||
]
|
||||
generate = []
|
||||
|
||||
manual = [
|
||||
"GLib.Error",
|
||||
|
@ -52,3 +51,11 @@ ref_mode = "ref"
|
|||
name = "Gst.Structure"
|
||||
status = "manual"
|
||||
ref_mode = "ref"
|
||||
|
||||
[[object]]
|
||||
name = "GstGLEGL.GLDisplayEGL"
|
||||
status = "generate"
|
||||
[[object.function]]
|
||||
name = "new"
|
||||
[object.function.return]
|
||||
nullable_return_is_error = "Failed to create EGL display"
|
||||
|
|
|
@ -19,9 +19,12 @@ impl GLDisplayEGL {
|
|||
pub const NONE: Option<&'static GLDisplayEGL> = None;
|
||||
|
||||
#[doc(alias = "gst_gl_display_egl_new")]
|
||||
pub fn new() -> GLDisplayEGL {
|
||||
pub fn new() -> Result<GLDisplayEGL, glib::BoolError> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_full(ffi::gst_gl_display_egl_new()) }
|
||||
unsafe {
|
||||
Option::<_>::from_glib_full(ffi::gst_gl_display_egl_new())
|
||||
.ok_or_else(|| glib::bool_error!("Failed to create EGL display"))
|
||||
}
|
||||
}
|
||||
|
||||
//#[doc(alias = "gst_gl_display_egl_new_with_egl_display")]
|
||||
|
@ -47,11 +50,5 @@ impl GLDisplayEGL {
|
|||
//}
|
||||
}
|
||||
|
||||
impl Default for GLDisplayEGL {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for GLDisplayEGL {}
|
||||
unsafe impl Sync for GLDisplayEGL {}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -53,7 +53,7 @@ shell-words = "1.0.0"
|
|||
tempfile = "3"
|
||||
|
||||
[features]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gst_gl/dox"]
|
||||
v1_16 = []
|
||||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-gl/egl/sys/src/auto/versions.txt
Normal file
3
gstreamer-gl/egl/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_egl_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -51,7 +51,7 @@ impl GLColorConvert {
|
|||
direction: gst::PadDirection,
|
||||
caps: &gst::Caps,
|
||||
filter: &gst::Caps,
|
||||
) -> Option<gst::Caps> {
|
||||
) -> gst::Caps {
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_gl_color_convert_transform_caps(
|
||||
|
|
|
@ -93,7 +93,9 @@ pub trait GLDisplayExt: 'static {
|
|||
//fn retrieve_window(&self, data: /*Unimplemented*/Option<Basic: Pointer>, compare_func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>, /*Unimplemented*/Option<Basic: Pointer>) -> i32) -> Option<GLWindow>;
|
||||
|
||||
#[doc(alias = "create-context")]
|
||||
fn connect_create_context<F: Fn(&Self, &GLContext) -> GLContext + Send + Sync + 'static>(
|
||||
fn connect_create_context<
|
||||
F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static,
|
||||
>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId;
|
||||
|
@ -202,13 +204,15 @@ impl<O: IsA<GLDisplay>> GLDisplayExt for O {
|
|||
// unsafe { TODO: call ffi:gst_gl_display_retrieve_window() }
|
||||
//}
|
||||
|
||||
fn connect_create_context<F: Fn(&Self, &GLContext) -> GLContext + Send + Sync + 'static>(
|
||||
fn connect_create_context<
|
||||
F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static,
|
||||
>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId {
|
||||
unsafe extern "C" fn create_context_trampoline<
|
||||
P: IsA<GLDisplay>,
|
||||
F: Fn(&P, &GLContext) -> GLContext + Send + Sync + 'static,
|
||||
F: Fn(&P, &GLContext) -> Option<GLContext> + Send + Sync + 'static,
|
||||
>(
|
||||
this: *mut ffi::GstGLDisplay,
|
||||
context: *mut ffi::GstGLContext,
|
||||
|
|
|
@ -22,7 +22,7 @@ impl GLMemoryAllocator {
|
|||
|
||||
#[doc(alias = "gst_gl_memory_allocator_get_default")]
|
||||
#[doc(alias = "get_default")]
|
||||
pub fn default(context: &impl IsA<GLContext>) -> Option<GLMemoryAllocator> {
|
||||
pub fn default(context: &impl IsA<GLContext>) -> GLMemoryAllocator {
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_gl_memory_allocator_get_default(
|
||||
|
|
|
@ -75,7 +75,7 @@ impl GLOverlayCompositor {
|
|||
}
|
||||
|
||||
#[doc(alias = "gst_gl_overlay_compositor_add_caps")]
|
||||
pub fn add_caps(caps: &gst::Caps) -> Option<gst::Caps> {
|
||||
pub fn add_caps(caps: &gst::Caps) -> gst::Caps {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_gl_overlay_compositor_add_caps(
|
||||
|
|
|
@ -383,7 +383,7 @@ impl GLShader {
|
|||
context: &impl IsA<GLContext>,
|
||||
version: GLSLVersion,
|
||||
profile: GLSLProfile,
|
||||
) -> Option<glib::GString> {
|
||||
) -> glib::GString {
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_gl_shader_string_fragment_external_oes_get_default(
|
||||
|
@ -401,7 +401,7 @@ impl GLShader {
|
|||
context: &impl IsA<GLContext>,
|
||||
version: GLSLVersion,
|
||||
profile: GLSLProfile,
|
||||
) -> Option<glib::GString> {
|
||||
) -> glib::GString {
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_gl_shader_string_fragment_get_default(
|
||||
|
@ -419,7 +419,7 @@ impl GLShader {
|
|||
context: &impl IsA<GLContext>,
|
||||
version: GLSLVersion,
|
||||
profile: GLSLProfile,
|
||||
) -> Option<glib::GString> {
|
||||
) -> glib::GString {
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
from_glib_none(ffi::gst_gl_shader_string_get_highest_precision(
|
||||
|
|
|
@ -70,7 +70,7 @@ impl GLUpload {
|
|||
direction: gst::PadDirection,
|
||||
caps: &gst::Caps,
|
||||
filter: &gst::Caps,
|
||||
) -> Option<gst::Caps> {
|
||||
) -> gst::Caps {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_gl_upload_transform_caps(
|
||||
self.to_glib_none().0,
|
||||
|
|
|
@ -47,7 +47,7 @@ pub trait GLWindowExt: 'static {
|
|||
|
||||
#[doc(alias = "gst_gl_window_get_context")]
|
||||
#[doc(alias = "get_context")]
|
||||
fn context(&self) -> Option<GLContext>;
|
||||
fn context(&self) -> GLContext;
|
||||
|
||||
#[doc(alias = "gst_gl_window_get_surface_dimensions")]
|
||||
#[doc(alias = "get_surface_dimensions")]
|
||||
|
@ -145,7 +145,7 @@ impl<O: IsA<GLWindow>> GLWindowExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn context(&self) -> Option<GLContext> {
|
||||
fn context(&self) -> GLContext {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_gl_window_get_context(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
||||
|
|
|
@ -33,7 +33,7 @@ v1_16 = []
|
|||
v1_18 = ["v1_16"]
|
||||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
dox = []
|
||||
dox = ["glib/dox", "gobject/dox", "gst/dox", "gst_base/dox", "gst_video/dox"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_gl_sys"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
3
gstreamer-gl/sys/src/auto/versions.txt
Normal file
3
gstreamer-gl/sys/src/auto/versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d0371b812964)
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ b3147f2b6043)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 2860909848fa)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -8,6 +8,7 @@ concurrency = "send+sync"
|
|||
generate_safety_asserts = true
|
||||
single_version_file = true
|
||||
generate_display_trait = false
|
||||
trust_return_value_nullability = true
|
||||
|
||||
external_libraries = [
|
||||
"GLib",
|
||||
|
@ -18,9 +19,7 @@ external_libraries = [
|
|||
"GstVideo",
|
||||
]
|
||||
|
||||
generate = [
|
||||
"GstGLWayland.GLDisplayWayland",
|
||||
]
|
||||
generate = []
|
||||
|
||||
manual = [
|
||||
"GLib.Error",
|
||||
|
@ -51,3 +50,11 @@ ref_mode = "ref"
|
|||
name = "Gst.Structure"
|
||||
status = "manual"
|
||||
ref_mode = "ref"
|
||||
|
||||
[[object]]
|
||||
name = "GstGLWayland.GLDisplayWayland"
|
||||
status = "generate"
|
||||
[[object.function]]
|
||||
name = "new"
|
||||
[object.function.return]
|
||||
nullable_return_is_error = "Failed to create Wayland display"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue