mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
Update gir and regenerate
- Doc aliases for types; - ffi constants for bitflags too; - Completely overhauled docs generation under the hood (only emitting valid links, more types receive documentation now).
This commit is contained in:
parent
170f7214eb
commit
7fcd560d18
288 changed files with 917 additions and 423 deletions
2
gir
2
gir
|
@ -1 +1 @@
|
||||||
Subproject commit de679ce5e7c26674ad788084227ec52f03f1df59
|
Subproject commit 72e79f771ec2a79f2a1b70ff8bd24ecab1791dcd
|
|
@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAppSink")]
|
||||||
pub struct AppSink(Object<ffi::GstAppSink, ffi::GstAppSinkClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
|
pub struct AppSink(Object<ffi::GstAppSink, ffi::GstAppSinkClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAppSrc")]
|
||||||
pub struct AppSrc(Object<ffi::GstAppSrc, ffi::GstAppSrcClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
|
pub struct AppSrc(Object<ffi::GstAppSrc, ffi::GstAppSrcClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAudioBaseSink")]
|
||||||
pub struct AudioBaseSink(Object<ffi::GstAudioBaseSink, ffi::GstAudioBaseSinkClass>) @extends gst_base::BaseSink, gst::Element, gst::Object;
|
pub struct AudioBaseSink(Object<ffi::GstAudioBaseSink, ffi::GstAudioBaseSinkClass>) @extends gst_base::BaseSink, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAudioBaseSrc")]
|
||||||
pub struct AudioBaseSrc(Object<ffi::GstAudioBaseSrc, ffi::GstAudioBaseSrcClass>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
|
pub struct AudioBaseSrc(Object<ffi::GstAudioBaseSrc, ffi::GstAudioBaseSrcClass>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::mem;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAudioDecoder")]
|
||||||
pub struct AudioDecoder(Object<ffi::GstAudioDecoder, ffi::GstAudioDecoderClass>) @extends gst::Element, gst::Object;
|
pub struct AudioDecoder(Object<ffi::GstAudioDecoder, ffi::GstAudioDecoderClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAudioEncoder")]
|
||||||
pub struct AudioEncoder(Object<ffi::GstAudioEncoder, ffi::GstAudioEncoderClass>) @extends gst::Element, gst::Object;
|
pub struct AudioEncoder(Object<ffi::GstAudioEncoder, ffi::GstAudioEncoderClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
use crate::AudioBaseSink;
|
use crate::AudioBaseSink;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAudioSink")]
|
||||||
pub struct AudioSink(Object<ffi::GstAudioSink, ffi::GstAudioSinkClass>) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object;
|
pub struct AudioSink(Object<ffi::GstAudioSink, ffi::GstAudioSinkClass>) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
use crate::AudioBaseSrc;
|
use crate::AudioBaseSrc;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAudioSrc")]
|
||||||
pub struct AudioSrc(Object<ffi::GstAudioSrc, ffi::GstAudioSrcClass>) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object;
|
pub struct AudioSrc(Object<ffi::GstAudioSrc, ffi::GstAudioSrcClass>) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -11,8 +11,10 @@ use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstAudioFlags")]
|
||||||
pub struct AudioFlags: u32 {
|
pub struct AudioFlags: u32 {
|
||||||
const UNPOSITIONED = 1;
|
#[doc(alias = "GST_AUDIO_FLAG_UNPOSITIONED")]
|
||||||
|
const UNPOSITIONED = ffi::GST_AUDIO_FLAG_UNPOSITIONED as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,12 +69,18 @@ impl ToValue for AudioFlags {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstAudioFormatFlags")]
|
||||||
pub struct AudioFormatFlags: u32 {
|
pub struct AudioFormatFlags: u32 {
|
||||||
const INTEGER = 1;
|
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_INTEGER")]
|
||||||
const FLOAT = 2;
|
const INTEGER = ffi::GST_AUDIO_FORMAT_FLAG_INTEGER as u32;
|
||||||
const SIGNED = 4;
|
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_FLOAT")]
|
||||||
const COMPLEX = 16;
|
const FLOAT = ffi::GST_AUDIO_FORMAT_FLAG_FLOAT as u32;
|
||||||
const UNPACK = 32;
|
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_SIGNED")]
|
||||||
|
const SIGNED = ffi::GST_AUDIO_FORMAT_FLAG_SIGNED as u32;
|
||||||
|
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_COMPLEX")]
|
||||||
|
const COMPLEX = ffi::GST_AUDIO_FORMAT_FLAG_COMPLEX as u32;
|
||||||
|
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_UNPACK")]
|
||||||
|
const UNPACK = ffi::GST_AUDIO_FORMAT_FLAG_UNPACK as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,8 +135,10 @@ impl ToValue for AudioFormatFlags {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstAudioPackFlags")]
|
||||||
pub struct AudioPackFlags: u32 {
|
pub struct AudioPackFlags: u32 {
|
||||||
const TRUNCATE_RANGE = 1;
|
#[doc(alias = "GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE")]
|
||||||
|
const TRUNCATE_RANGE = ffi::GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstStreamVolume")]
|
||||||
pub struct StreamVolume(Interface<ffi::GstStreamVolume, ffi::GstStreamVolumeInterface>);
|
pub struct StreamVolume(Interface<ffi::GstStreamVolume, ffi::GstStreamVolumeInterface>);
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -8,6 +8,7 @@ use glib::ObjectExt;
|
||||||
use std::mem;
|
use std::mem;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAdapter")]
|
||||||
pub struct Adapter(Object<ffi::GstAdapter, ffi::GstAdapterClass>);
|
pub struct Adapter(Object<ffi::GstAdapter, ffi::GstAdapterClass>);
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -20,6 +20,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAggregator")]
|
||||||
pub struct Aggregator(Object<ffi::GstAggregator, ffi::GstAggregatorClass>) @extends gst::Element, gst::Object;
|
pub struct Aggregator(Object<ffi::GstAggregator, ffi::GstAggregatorClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -18,6 +18,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstAggregatorPad")]
|
||||||
pub struct AggregatorPad(Object<ffi::GstAggregatorPad, ffi::GstAggregatorPadClass>) @extends gst::Pad, gst::Object;
|
pub struct AggregatorPad(Object<ffi::GstAggregatorPad, ffi::GstAggregatorPadClass>) @extends gst::Pad, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstBaseParse")]
|
||||||
pub struct BaseParse(Object<ffi::GstBaseParse, ffi::GstBaseParseClass>) @extends gst::Element, gst::Object;
|
pub struct BaseParse(Object<ffi::GstBaseParse, ffi::GstBaseParseClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -15,6 +15,7 @@ use std::mem;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstBaseSink")]
|
||||||
pub struct BaseSink(Object<ffi::GstBaseSink, ffi::GstBaseSinkClass>) @extends gst::Element, gst::Object;
|
pub struct BaseSink(Object<ffi::GstBaseSink, ffi::GstBaseSinkClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstBaseSrc")]
|
||||||
pub struct BaseSrc(Object<ffi::GstBaseSrc, ffi::GstBaseSrcClass>) @extends gst::Element, gst::Object;
|
pub struct BaseSrc(Object<ffi::GstBaseSrc, ffi::GstBaseSrcClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstBaseTransform")]
|
||||||
pub struct BaseTransform(Object<ffi::GstBaseTransform, ffi::GstBaseTransformClass>) @extends gst::Element, gst::Object;
|
pub struct BaseTransform(Object<ffi::GstBaseTransform, ffi::GstBaseTransformClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -7,12 +7,18 @@ use bitflags::bitflags;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstBaseParseFrameFlags")]
|
||||||
pub struct BaseParseFrameFlags: u32 {
|
pub struct BaseParseFrameFlags: u32 {
|
||||||
const NEW_FRAME = 1;
|
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME")]
|
||||||
const NO_FRAME = 2;
|
const NEW_FRAME = ffi::GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME as u32;
|
||||||
const CLIP = 4;
|
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NO_FRAME")]
|
||||||
const DROP = 8;
|
const NO_FRAME = ffi::GST_BASE_PARSE_FRAME_FLAG_NO_FRAME as u32;
|
||||||
const QUEUE = 16;
|
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_CLIP")]
|
||||||
|
const CLIP = ffi::GST_BASE_PARSE_FRAME_FLAG_CLIP as u32;
|
||||||
|
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_DROP")]
|
||||||
|
const DROP = ffi::GST_BASE_PARSE_FRAME_FLAG_DROP as u32;
|
||||||
|
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_QUEUE")]
|
||||||
|
const QUEUE = ffi::GST_BASE_PARSE_FRAME_FLAG_QUEUE as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
use crate::BaseSrc;
|
use crate::BaseSrc;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstPushSrc")]
|
||||||
pub struct PushSrc(Object<ffi::GstPushSrc, ffi::GstPushSrcClass>) @extends BaseSrc, gst::Element, gst::Object;
|
pub struct PushSrc(Object<ffi::GstPushSrc, ffi::GstPushSrcClass>) @extends BaseSrc, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstTestClock")]
|
||||||
pub struct TestClock(Object<ffi::GstTestClock, ffi::GstTestClockClass>) @extends gst::Clock, gst::Object;
|
pub struct TestClock(Object<ffi::GstTestClock, ffi::GstTestClockClass>) @extends gst::Clock, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstARGBControlBinding")]
|
||||||
pub struct ARGBControlBinding(Object<ffi::GstARGBControlBinding, ffi::GstARGBControlBindingClass>) @extends gst::ControlBinding, gst::Object;
|
pub struct ARGBControlBinding(Object<ffi::GstARGBControlBinding, ffi::GstARGBControlBindingClass>) @extends gst::ControlBinding, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstDirectControlBinding")]
|
||||||
pub struct DirectControlBinding(Object<ffi::GstDirectControlBinding, ffi::GstDirectControlBindingClass>) @extends gst::ControlBinding, gst::Object;
|
pub struct DirectControlBinding(Object<ffi::GstDirectControlBinding, ffi::GstDirectControlBindingClass>) @extends gst::ControlBinding, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -16,6 +16,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstInterpolationControlSource")]
|
||||||
pub struct InterpolationControlSource(Object<ffi::GstInterpolationControlSource, ffi::GstInterpolationControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
|
pub struct InterpolationControlSource(Object<ffi::GstInterpolationControlSource, ffi::GstInterpolationControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -15,6 +15,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstLFOControlSource")]
|
||||||
pub struct LFOControlSource(Object<ffi::GstLFOControlSource, ffi::GstLFOControlSourceClass>) @extends gst::ControlSource, gst::Object;
|
pub struct LFOControlSource(Object<ffi::GstLFOControlSource, ffi::GstLFOControlSourceClass>) @extends gst::ControlSource, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -8,6 +8,7 @@ use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstProxyControlBinding")]
|
||||||
pub struct ProxyControlBinding(Object<ffi::GstProxyControlBinding, ffi::GstProxyControlBindingClass>) @extends gst::ControlBinding, gst::Object;
|
pub struct ProxyControlBinding(Object<ffi::GstProxyControlBinding, ffi::GstProxyControlBindingClass>) @extends gst::ControlBinding, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstTimedValueControlSource")]
|
||||||
pub struct TimedValueControlSource(Object<ffi::GstTimedValueControlSource, ffi::GstTimedValueControlSourceClass>) @extends gst::ControlSource, gst::Object;
|
pub struct TimedValueControlSource(Object<ffi::GstTimedValueControlSource, ffi::GstTimedValueControlSourceClass>) @extends gst::ControlSource, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -15,6 +15,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstTriggerControlSource")]
|
||||||
pub struct TriggerControlSource(Object<ffi::GstTriggerControlSource, ffi::GstTriggerControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
|
pub struct TriggerControlSource(Object<ffi::GstTriggerControlSource, ffi::GstTriggerControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -15,6 +15,7 @@ use std::pin::Pin;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESAsset")]
|
||||||
pub struct Asset(Object<ffi::GESAsset, ffi::GESAssetClass>);
|
pub struct Asset(Object<ffi::GESAsset, ffi::GESAssetClass>);
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -12,6 +12,7 @@ use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESBaseEffect")]
|
||||||
pub struct BaseEffect(Object<ffi::GESBaseEffect, ffi::GESBaseEffectClass>) @extends TrackElement, TimelineElement, @implements Extractable;
|
pub struct BaseEffect(Object<ffi::GESBaseEffect, ffi::GESBaseEffectClass>) @extends TrackElement, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -10,6 +10,7 @@ use crate::OperationClip;
|
||||||
use crate::TimelineElement;
|
use crate::TimelineElement;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESBaseTransitionClip")]
|
||||||
pub struct BaseTransitionClip(Object<ffi::GESBaseTransitionClip, ffi::GESBaseTransitionClipClass>) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable;
|
pub struct BaseTransitionClip(Object<ffi::GESBaseTransitionClip, ffi::GESBaseTransitionClipClass>) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -27,6 +27,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESClip")]
|
||||||
pub struct Clip(Object<ffi::GESClip, ffi::GESClipClass>) @extends Container, TimelineElement, @implements Extractable;
|
pub struct Clip(Object<ffi::GESClip, ffi::GESClipClass>) @extends Container, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -18,6 +18,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESContainer")]
|
||||||
pub struct Container(Object<ffi::GESContainer, ffi::GESContainerClass>) @extends TimelineElement, @implements Extractable;
|
pub struct Container(Object<ffi::GESContainer, ffi::GESContainerClass>) @extends TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -12,6 +12,7 @@ use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESEffect")]
|
||||||
pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable;
|
pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -8,6 +8,7 @@ use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESExtractable")]
|
||||||
pub struct Extractable(Interface<ffi::GESExtractable, ffi::GESExtractableInterface>);
|
pub struct Extractable(Interface<ffi::GESExtractable, ffi::GESExtractableInterface>);
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -13,12 +13,18 @@ use std::ffi::CStr;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GESPipelineFlags")]
|
||||||
pub struct PipelineFlags: u32 {
|
pub struct PipelineFlags: u32 {
|
||||||
const AUDIO_PREVIEW = 1;
|
#[doc(alias = "GES_PIPELINE_MODE_PREVIEW_AUDIO")]
|
||||||
const VIDEO_PREVIEW = 2;
|
const AUDIO_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW_AUDIO as u32;
|
||||||
const FULL_PREVIEW = 3;
|
#[doc(alias = "GES_PIPELINE_MODE_PREVIEW_VIDEO")]
|
||||||
const RENDER = 4;
|
const VIDEO_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW_VIDEO as u32;
|
||||||
const SMART_RENDER = 8;
|
#[doc(alias = "GES_PIPELINE_MODE_PREVIEW")]
|
||||||
|
const FULL_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW as u32;
|
||||||
|
#[doc(alias = "GES_PIPELINE_MODE_RENDER")]
|
||||||
|
const RENDER = ffi::GES_PIPELINE_MODE_RENDER as u32;
|
||||||
|
#[doc(alias = "GES_PIPELINE_MODE_SMART_RENDER")]
|
||||||
|
const SMART_RENDER = ffi::GES_PIPELINE_MODE_SMART_RENDER as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,12 +79,18 @@ impl ToValue for PipelineFlags {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GESTrackType")]
|
||||||
pub struct TrackType: u32 {
|
pub struct TrackType: u32 {
|
||||||
const UNKNOWN = 1;
|
#[doc(alias = "GES_TRACK_TYPE_UNKNOWN")]
|
||||||
const AUDIO = 2;
|
const UNKNOWN = ffi::GES_TRACK_TYPE_UNKNOWN as u32;
|
||||||
const VIDEO = 4;
|
#[doc(alias = "GES_TRACK_TYPE_AUDIO")]
|
||||||
const TEXT = 8;
|
const AUDIO = ffi::GES_TRACK_TYPE_AUDIO as u32;
|
||||||
const CUSTOM = 16;
|
#[doc(alias = "GES_TRACK_TYPE_VIDEO")]
|
||||||
|
const VIDEO = ffi::GES_TRACK_TYPE_VIDEO as u32;
|
||||||
|
#[doc(alias = "GES_TRACK_TYPE_TEXT")]
|
||||||
|
const TEXT = ffi::GES_TRACK_TYPE_TEXT as u32;
|
||||||
|
#[doc(alias = "GES_TRACK_TYPE_CUSTOM")]
|
||||||
|
const CUSTOM = ffi::GES_TRACK_TYPE_CUSTOM as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESGroup")]
|
||||||
pub struct Group(Object<ffi::GESGroup, ffi::GESGroupClass>) @extends Container, TimelineElement, @implements Extractable;
|
pub struct Group(Object<ffi::GESGroup, ffi::GESGroupClass>) @extends Container, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -23,6 +23,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESLayer")]
|
||||||
pub struct Layer(Object<ffi::GESLayer, ffi::GESLayerClass>) @implements Extractable;
|
pub struct Layer(Object<ffi::GESLayer, ffi::GESLayerClass>) @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -9,6 +9,7 @@ use crate::Extractable;
|
||||||
use crate::TimelineElement;
|
use crate::TimelineElement;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESOperationClip")]
|
||||||
pub struct OperationClip(Object<ffi::GESOperationClip, ffi::GESOperationClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
|
pub struct OperationClip(Object<ffi::GESOperationClip, ffi::GESOperationClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -17,6 +17,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESPipeline")]
|
||||||
pub struct Pipeline(Object<ffi::GESPipeline, ffi::GESPipelineClass>) @extends gst::Pipeline, gst::Bin, gst::Element, gst::Object;
|
pub struct Pipeline(Object<ffi::GESPipeline, ffi::GESPipelineClass>) @extends gst::Pipeline, gst::Bin, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -15,6 +15,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESProject")]
|
||||||
pub struct Project(Object<ffi::GESProject, ffi::GESProjectClass>) @extends Asset;
|
pub struct Project(Object<ffi::GESProject, ffi::GESProjectClass>) @extends Asset;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -26,6 +26,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESTimeline")]
|
||||||
pub struct Timeline(Object<ffi::GESTimeline, ffi::GESTimelineClass>) @extends gst::Bin, gst::Element, gst::Object, @implements Extractable;
|
pub struct Timeline(Object<ffi::GESTimeline, ffi::GESTimelineClass>) @extends gst::Bin, gst::Element, gst::Object, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -32,6 +32,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESTimelineElement")]
|
||||||
pub struct TimelineElement(Object<ffi::GESTimelineElement, ffi::GESTimelineElementClass>) @implements Extractable;
|
pub struct TimelineElement(Object<ffi::GESTimelineElement, ffi::GESTimelineElementClass>) @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -22,6 +22,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESTrack")]
|
||||||
pub struct Track(Object<ffi::GESTrack, ffi::GESTrackClass>) @extends gst::Bin, gst::Element, gst::Object;
|
pub struct Track(Object<ffi::GESTrack, ffi::GESTrackClass>) @extends gst::Bin, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -19,6 +19,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESTrackElement")]
|
||||||
pub struct TrackElement(Object<ffi::GESTrackElement, ffi::GESTrackElementClass>) @extends TimelineElement, @implements Extractable;
|
pub struct TrackElement(Object<ffi::GESTrackElement, ffi::GESTrackElementClass>) @extends TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -21,6 +21,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESTransitionClip")]
|
||||||
pub struct TransitionClip(Object<ffi::GESTransitionClip, ffi::GESTransitionClipClass>) @extends BaseTransitionClip, OperationClip, Clip, Container, TimelineElement, @implements Extractable;
|
pub struct TransitionClip(Object<ffi::GESTransitionClip, ffi::GESTransitionClipClass>) @extends BaseTransitionClip, OperationClip, Clip, Container, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -16,6 +16,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESUriClip")]
|
||||||
pub struct UriClip(Object<ffi::GESUriClip, ffi::GESUriClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
|
pub struct UriClip(Object<ffi::GESUriClip, ffi::GESUriClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -19,6 +19,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESUriClipAsset")]
|
||||||
pub struct UriClipAsset(Object<ffi::GESUriClipAsset, ffi::GESUriClipAssetClass>) @extends Asset;
|
pub struct UriClipAsset(Object<ffi::GESUriClipAsset, ffi::GESUriClipAssetClass>) @extends Asset;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GESUriSourceAsset")]
|
||||||
pub struct UriSourceAsset(Object<ffi::GESUriSourceAsset, ffi::GESUriSourceAssetClass>) @extends Asset;
|
pub struct UriSourceAsset(Object<ffi::GESUriSourceAsset, ffi::GESUriSourceAssetClass>) @extends Asset;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -7,6 +7,7 @@ use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLDisplayEGL")]
|
||||||
pub struct GLDisplayEGL(Object<ffi::GstGLDisplayEGL, ffi::GstGLDisplayEGLClass>) @extends gst_gl::GLDisplay, gst::Object;
|
pub struct GLDisplayEGL(Object<ffi::GstGLDisplayEGL, ffi::GstGLDisplayEGLClass>) @extends gst_gl::GLDisplay, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ de679ce)
|
// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -12,11 +12,16 @@ use glib::Type;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstGLAPI")]
|
||||||
pub struct GLAPI: u32 {
|
pub struct GLAPI: u32 {
|
||||||
const OPENGL = 1;
|
#[doc(alias = "GST_GL_API_OPENGL")]
|
||||||
const OPENGL3 = 2;
|
const OPENGL = ffi::GST_GL_API_OPENGL as u32;
|
||||||
const GLES1 = 32768;
|
#[doc(alias = "GST_GL_API_OPENGL3")]
|
||||||
const GLES2 = 65536;
|
const OPENGL3 = ffi::GST_GL_API_OPENGL3 as u32;
|
||||||
|
#[doc(alias = "GST_GL_API_GLES1")]
|
||||||
|
const GLES1 = ffi::GST_GL_API_GLES1 as u32;
|
||||||
|
#[doc(alias = "GST_GL_API_GLES2")]
|
||||||
|
const GLES2 = ffi::GST_GL_API_GLES2 as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,18 +98,28 @@ impl ToValue for GLAPI {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstGLDisplayType")]
|
||||||
pub struct GLDisplayType: u32 {
|
pub struct GLDisplayType: u32 {
|
||||||
const X11 = 1;
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_X11")]
|
||||||
const WAYLAND = 2;
|
const X11 = ffi::GST_GL_DISPLAY_TYPE_X11 as u32;
|
||||||
const COCOA = 4;
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_WAYLAND")]
|
||||||
const WIN32 = 8;
|
const WAYLAND = ffi::GST_GL_DISPLAY_TYPE_WAYLAND as u32;
|
||||||
const DISPMANX = 16;
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_COCOA")]
|
||||||
const EGL = 32;
|
const COCOA = ffi::GST_GL_DISPLAY_TYPE_COCOA as u32;
|
||||||
const VIV_FB = 64;
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_WIN32")]
|
||||||
const GBM = 128;
|
const WIN32 = ffi::GST_GL_DISPLAY_TYPE_WIN32 as u32;
|
||||||
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_DISPMANX")]
|
||||||
|
const DISPMANX = ffi::GST_GL_DISPLAY_TYPE_DISPMANX as u32;
|
||||||
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_EGL")]
|
||||||
|
const EGL = ffi::GST_GL_DISPLAY_TYPE_EGL as u32;
|
||||||
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_VIV_FB")]
|
||||||
|
const VIV_FB = ffi::GST_GL_DISPLAY_TYPE_VIV_FB as u32;
|
||||||
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_GBM")]
|
||||||
|
const GBM = ffi::GST_GL_DISPLAY_TYPE_GBM as u32;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
const EGL_DEVICE = 256;
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_EGL_DEVICE")]
|
||||||
|
const EGL_DEVICE = ffi::GST_GL_DISPLAY_TYPE_EGL_DEVICE as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -159,12 +174,18 @@ impl ToValue for GLDisplayType {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstGLPlatform")]
|
||||||
pub struct GLPlatform: u32 {
|
pub struct GLPlatform: u32 {
|
||||||
const EGL = 1;
|
#[doc(alias = "GST_GL_PLATFORM_EGL")]
|
||||||
const GLX = 2;
|
const EGL = ffi::GST_GL_PLATFORM_EGL as u32;
|
||||||
const WGL = 4;
|
#[doc(alias = "GST_GL_PLATFORM_GLX")]
|
||||||
const CGL = 8;
|
const GLX = ffi::GST_GL_PLATFORM_GLX as u32;
|
||||||
const EAGL = 16;
|
#[doc(alias = "GST_GL_PLATFORM_WGL")]
|
||||||
|
const WGL = ffi::GST_GL_PLATFORM_WGL as u32;
|
||||||
|
#[doc(alias = "GST_GL_PLATFORM_CGL")]
|
||||||
|
const CGL = ffi::GST_GL_PLATFORM_CGL as u32;
|
||||||
|
#[doc(alias = "GST_GL_PLATFORM_EAGL")]
|
||||||
|
const EAGL = ffi::GST_GL_PLATFORM_EAGL as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -245,10 +266,14 @@ impl ToValue for GLPlatform {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[doc(alias = "GstGLSLProfile")]
|
||||||
pub struct GLSLProfile: u32 {
|
pub struct GLSLProfile: u32 {
|
||||||
const ES = 1;
|
#[doc(alias = "GST_GLSL_PROFILE_ES")]
|
||||||
const CORE = 2;
|
const ES = ffi::GST_GLSL_PROFILE_ES as u32;
|
||||||
const COMPATIBILITY = 4;
|
#[doc(alias = "GST_GLSL_PROFILE_CORE")]
|
||||||
|
const CORE = ffi::GST_GLSL_PROFILE_CORE as u32;
|
||||||
|
#[doc(alias = "GST_GLSL_PROFILE_COMPATIBILITY")]
|
||||||
|
const COMPATIBILITY = ffi::GST_GLSL_PROFILE_COMPATIBILITY as u32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLBaseFilter")]
|
||||||
pub struct GLBaseFilter(Object<ffi::GstGLBaseFilter, ffi::GstGLBaseFilterClass>) @extends gst_base::BaseTransform, gst::Element, gst::Object;
|
pub struct GLBaseFilter(Object<ffi::GstGLBaseFilter, ffi::GstGLBaseFilterClass>) @extends gst_base::BaseTransform, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLBaseMemoryAllocator")]
|
||||||
pub struct GLBaseMemoryAllocator(Object<ffi::GstGLBaseMemoryAllocator, ffi::GstGLBaseMemoryAllocatorClass>) @extends gst::Allocator, gst::Object;
|
pub struct GLBaseMemoryAllocator(Object<ffi::GstGLBaseMemoryAllocator, ffi::GstGLBaseMemoryAllocatorClass>) @extends gst::Allocator, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLBaseSrc")]
|
||||||
pub struct GLBaseSrc(Object<ffi::GstGLBaseSrc, ffi::GstGLBaseSrcClass>) @extends gst_base::PushSrc, gst_base::BaseSrc, gst::Element, gst::Object;
|
pub struct GLBaseSrc(Object<ffi::GstGLBaseSrc, ffi::GstGLBaseSrcClass>) @extends gst_base::PushSrc, gst_base::BaseSrc, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -8,6 +8,7 @@ use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLColorConvert")]
|
||||||
pub struct GLColorConvert(Object<ffi::GstGLColorConvert, ffi::GstGLColorConvertClass>) @extends gst::Object;
|
pub struct GLColorConvert(Object<ffi::GstGLColorConvert, ffi::GstGLColorConvertClass>) @extends gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -15,6 +15,7 @@ use std::mem;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLContext")]
|
||||||
pub struct GLContext(Object<ffi::GstGLContext, ffi::GstGLContextClass>) @extends gst::Object;
|
pub struct GLContext(Object<ffi::GstGLContext, ffi::GstGLContextClass>) @extends gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -17,6 +17,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLDisplay")]
|
||||||
pub struct GLDisplay(Object<ffi::GstGLDisplay, ffi::GstGLDisplayClass>) @extends gst::Object;
|
pub struct GLDisplay(Object<ffi::GstGLDisplay, ffi::GstGLDisplayClass>) @extends gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
|
@ -10,6 +10,7 @@ use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
|
#[doc(alias = "GstGLFilter")]
|
||||||
pub struct GLFilter(Object<ffi::GstGLFilter, ffi::GstGLFilterClass>) @extends GLBaseFilter, gst_base::BaseTransform, gst::Element, gst::Object;
|
pub struct GLFilter(Object<ffi::GstGLFilter, ffi::GstGLFilterClass>) @extends GLBaseFilter, gst_base::BaseTransform, gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue