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:
Marijn Suijten 2021-06-02 09:47:51 +02:00
parent 170f7214eb
commit 7fcd560d18
288 changed files with 917 additions and 423 deletions

2
gir

@ -1 +1 @@
Subproject commit de679ce5e7c26674ad788084227ec52f03f1df59
Subproject commit 72e79f771ec2a79f2a1b70ff8bd24ecab1791dcd

View file

@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAppSink")]
pub struct AppSink(Object<ffi::GstAppSink, ffi::GstAppSinkClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
match fn {

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAppSrc")]
pub struct AppSrc(Object<ffi::GstAppSrc, ffi::GstAppSrcClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
match fn {

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAudioBaseSink")]
pub struct AudioBaseSink(Object<ffi::GstAudioBaseSink, ffi::GstAudioBaseSinkClass>) @extends gst_base::BaseSink, gst::Element, gst::Object;
match fn {

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAudioBaseSrc")]
pub struct AudioBaseSrc(Object<ffi::GstAudioBaseSrc, ffi::GstAudioBaseSrcClass>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
match fn {

View file

@ -14,6 +14,7 @@ use std::mem;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAudioDecoder")]
pub struct AudioDecoder(Object<ffi::GstAudioDecoder, ffi::GstAudioDecoderClass>) @extends gst::Element, gst::Object;
match fn {

View file

@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAudioEncoder")]
pub struct AudioEncoder(Object<ffi::GstAudioEncoder, ffi::GstAudioEncoderClass>) @extends gst::Element, gst::Object;
match fn {

View file

@ -6,6 +6,7 @@
use crate::AudioBaseSink;
glib::wrapper! {
#[doc(alias = "GstAudioSink")]
pub struct AudioSink(Object<ffi::GstAudioSink, ffi::GstAudioSinkClass>) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object;
match fn {

View file

@ -6,6 +6,7 @@
use crate::AudioBaseSrc;
glib::wrapper! {
#[doc(alias = "GstAudioSrc")]
pub struct AudioSrc(Object<ffi::GstAudioSrc, ffi::GstAudioSrcClass>) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object;
match fn {

View file

@ -11,8 +11,10 @@ use glib::StaticType;
use glib::Type;
bitflags! {
#[doc(alias = "GstAudioFlags")]
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! {
#[doc(alias = "GstAudioFormatFlags")]
pub struct AudioFormatFlags: u32 {
const INTEGER = 1;
const FLOAT = 2;
const SIGNED = 4;
const COMPLEX = 16;
const UNPACK = 32;
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_INTEGER")]
const INTEGER = ffi::GST_AUDIO_FORMAT_FLAG_INTEGER as u32;
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_FLOAT")]
const FLOAT = ffi::GST_AUDIO_FORMAT_FLAG_FLOAT as u32;
#[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! {
#[doc(alias = "GstAudioPackFlags")]
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;
}
}

View file

@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstStreamVolume")]
pub struct StreamVolume(Interface<ffi::GstStreamVolume, ffi::GstStreamVolumeInterface>);
match fn {

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -8,6 +8,7 @@ use glib::ObjectExt;
use std::mem;
glib::wrapper! {
#[doc(alias = "GstAdapter")]
pub struct Adapter(Object<ffi::GstAdapter, ffi::GstAdapterClass>);
match fn {

View file

@ -20,6 +20,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAggregator")]
pub struct Aggregator(Object<ffi::GstAggregator, ffi::GstAggregatorClass>) @extends gst::Element, gst::Object;
match fn {

View file

@ -18,6 +18,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstAggregatorPad")]
pub struct AggregatorPad(Object<ffi::GstAggregatorPad, ffi::GstAggregatorPadClass>) @extends gst::Pad, gst::Object;
match fn {

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstBaseParse")]
pub struct BaseParse(Object<ffi::GstBaseParse, ffi::GstBaseParseClass>) @extends gst::Element, gst::Object;
match fn {

View file

@ -15,6 +15,7 @@ use std::mem;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstBaseSink")]
pub struct BaseSink(Object<ffi::GstBaseSink, ffi::GstBaseSinkClass>) @extends gst::Element, gst::Object;
match fn {

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstBaseSrc")]
pub struct BaseSrc(Object<ffi::GstBaseSrc, ffi::GstBaseSrcClass>) @extends gst::Element, gst::Object;
match fn {

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstBaseTransform")]
pub struct BaseTransform(Object<ffi::GstBaseTransform, ffi::GstBaseTransformClass>) @extends gst::Element, gst::Object;
match fn {

View file

@ -7,12 +7,18 @@ use bitflags::bitflags;
use glib::translate::*;
bitflags! {
#[doc(alias = "GstBaseParseFrameFlags")]
pub struct BaseParseFrameFlags: u32 {
const NEW_FRAME = 1;
const NO_FRAME = 2;
const CLIP = 4;
const DROP = 8;
const QUEUE = 16;
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME")]
const NEW_FRAME = ffi::GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME as u32;
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NO_FRAME")]
const NO_FRAME = ffi::GST_BASE_PARSE_FRAME_FLAG_NO_FRAME as u32;
#[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;
}
}

View file

@ -6,6 +6,7 @@
use crate::BaseSrc;
glib::wrapper! {
#[doc(alias = "GstPushSrc")]
pub struct PushSrc(Object<ffi::GstPushSrc, ffi::GstPushSrcClass>) @extends BaseSrc, gst::Element, gst::Object;
match fn {

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstTestClock")]
pub struct TestClock(Object<ffi::GstTestClock, ffi::GstTestClockClass>) @extends gst::Clock, gst::Object;
match fn {

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstARGBControlBinding")]
pub struct ARGBControlBinding(Object<ffi::GstARGBControlBinding, ffi::GstARGBControlBindingClass>) @extends gst::ControlBinding, gst::Object;
match fn {

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstDirectControlBinding")]
pub struct DirectControlBinding(Object<ffi::GstDirectControlBinding, ffi::GstDirectControlBindingClass>) @extends gst::ControlBinding, gst::Object;
match fn {

View file

@ -16,6 +16,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstInterpolationControlSource")]
pub struct InterpolationControlSource(Object<ffi::GstInterpolationControlSource, ffi::GstInterpolationControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
match fn {

View file

@ -15,6 +15,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstLFOControlSource")]
pub struct LFOControlSource(Object<ffi::GstLFOControlSource, ffi::GstLFOControlSourceClass>) @extends gst::ControlSource, gst::Object;
match fn {

View file

@ -8,6 +8,7 @@ use glib::object::IsA;
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GstProxyControlBinding")]
pub struct ProxyControlBinding(Object<ffi::GstProxyControlBinding, ffi::GstProxyControlBindingClass>) @extends gst::ControlBinding, gst::Object;
match fn {

View file

@ -13,6 +13,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstTimedValueControlSource")]
pub struct TimedValueControlSource(Object<ffi::GstTimedValueControlSource, ffi::GstTimedValueControlSourceClass>) @extends gst::ControlSource, gst::Object;
match fn {

View file

@ -15,6 +15,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstTriggerControlSource")]
pub struct TriggerControlSource(Object<ffi::GstTriggerControlSource, ffi::GstTriggerControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
match fn {

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -15,6 +15,7 @@ use std::pin::Pin;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESAsset")]
pub struct Asset(Object<ffi::GESAsset, ffi::GESAssetClass>);
match fn {

View file

@ -12,6 +12,7 @@ use glib::object::IsA;
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GESBaseEffect")]
pub struct BaseEffect(Object<ffi::GESBaseEffect, ffi::GESBaseEffectClass>) @extends TrackElement, TimelineElement, @implements Extractable;
match fn {

View file

@ -10,6 +10,7 @@ use crate::OperationClip;
use crate::TimelineElement;
glib::wrapper! {
#[doc(alias = "GESBaseTransitionClip")]
pub struct BaseTransitionClip(Object<ffi::GESBaseTransitionClip, ffi::GESBaseTransitionClipClass>) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable;
match fn {

View file

@ -27,6 +27,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESClip")]
pub struct Clip(Object<ffi::GESClip, ffi::GESClipClass>) @extends Container, TimelineElement, @implements Extractable;
match fn {

View file

@ -18,6 +18,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GESContainer")]
pub struct Container(Object<ffi::GESContainer, ffi::GESContainerClass>) @extends TimelineElement, @implements Extractable;
match fn {

View file

@ -12,6 +12,7 @@ use glib::translate::*;
use glib::StaticType;
glib::wrapper! {
#[doc(alias = "GESEffect")]
pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable;
match fn {

View file

@ -8,6 +8,7 @@ use glib::object::IsA;
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GESExtractable")]
pub struct Extractable(Interface<ffi::GESExtractable, ffi::GESExtractableInterface>);
match fn {

View file

@ -13,12 +13,18 @@ use std::ffi::CStr;
use std::fmt;
bitflags! {
#[doc(alias = "GESPipelineFlags")]
pub struct PipelineFlags: u32 {
const AUDIO_PREVIEW = 1;
const VIDEO_PREVIEW = 2;
const FULL_PREVIEW = 3;
const RENDER = 4;
const SMART_RENDER = 8;
#[doc(alias = "GES_PIPELINE_MODE_PREVIEW_AUDIO")]
const AUDIO_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW_AUDIO as u32;
#[doc(alias = "GES_PIPELINE_MODE_PREVIEW_VIDEO")]
const VIDEO_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW_VIDEO as u32;
#[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! {
#[doc(alias = "GESTrackType")]
pub struct TrackType: u32 {
const UNKNOWN = 1;
const AUDIO = 2;
const VIDEO = 4;
const TEXT = 8;
const CUSTOM = 16;
#[doc(alias = "GES_TRACK_TYPE_UNKNOWN")]
const UNKNOWN = ffi::GES_TRACK_TYPE_UNKNOWN as u32;
#[doc(alias = "GES_TRACK_TYPE_AUDIO")]
const AUDIO = ffi::GES_TRACK_TYPE_AUDIO as u32;
#[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;
}
}

View file

@ -17,6 +17,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GESGroup")]
pub struct Group(Object<ffi::GESGroup, ffi::GESGroupClass>) @extends Container, TimelineElement, @implements Extractable;
match fn {

View file

@ -23,6 +23,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESLayer")]
pub struct Layer(Object<ffi::GESLayer, ffi::GESLayerClass>) @implements Extractable;
match fn {

View file

@ -9,6 +9,7 @@ use crate::Extractable;
use crate::TimelineElement;
glib::wrapper! {
#[doc(alias = "GESOperationClip")]
pub struct OperationClip(Object<ffi::GESOperationClip, ffi::GESOperationClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
match fn {

View file

@ -17,6 +17,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESPipeline")]
pub struct Pipeline(Object<ffi::GESPipeline, ffi::GESPipelineClass>) @extends gst::Pipeline, gst::Bin, gst::Element, gst::Object;
match fn {

View file

@ -15,6 +15,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESProject")]
pub struct Project(Object<ffi::GESProject, ffi::GESProjectClass>) @extends Asset;
match fn {

View file

@ -26,6 +26,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESTimeline")]
pub struct Timeline(Object<ffi::GESTimeline, ffi::GESTimelineClass>) @extends gst::Bin, gst::Element, gst::Object, @implements Extractable;
match fn {

View file

@ -32,6 +32,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESTimelineElement")]
pub struct TimelineElement(Object<ffi::GESTimelineElement, ffi::GESTimelineElementClass>) @implements Extractable;
match fn {

View file

@ -22,6 +22,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESTrack")]
pub struct Track(Object<ffi::GESTrack, ffi::GESTrackClass>) @extends gst::Bin, gst::Element, gst::Object;
match fn {

View file

@ -19,6 +19,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GESTrackElement")]
pub struct TrackElement(Object<ffi::GESTrackElement, ffi::GESTrackElementClass>) @extends TimelineElement, @implements Extractable;
match fn {

View file

@ -21,6 +21,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GESTransitionClip")]
pub struct TransitionClip(Object<ffi::GESTransitionClip, ffi::GESTransitionClipClass>) @extends BaseTransitionClip, OperationClip, Clip, Container, TimelineElement, @implements Extractable;
match fn {

View file

@ -16,6 +16,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GESUriClip")]
pub struct UriClip(Object<ffi::GESUriClip, ffi::GESUriClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
match fn {

View file

@ -19,6 +19,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GESUriClipAsset")]
pub struct UriClipAsset(Object<ffi::GESUriClipAsset, ffi::GESUriClipAssetClass>) @extends Asset;
match fn {

View file

@ -9,6 +9,7 @@ use glib::object::IsA;
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GESUriSourceAsset")]
pub struct UriSourceAsset(Object<ffi::GESUriSourceAsset, ffi::GESUriSourceAssetClass>) @extends Asset;
match fn {

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -7,6 +7,7 @@ use glib::object::IsA;
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GstGLDisplayEGL")]
pub struct GLDisplayEGL(Object<ffi::GstGLDisplayEGL, ffi::GstGLDisplayEGLClass>) @extends gst_gl::GLDisplay, gst::Object;
match fn {

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT

View file

@ -12,11 +12,16 @@ use glib::Type;
use std::fmt;
bitflags! {
#[doc(alias = "GstGLAPI")]
pub struct GLAPI: u32 {
const OPENGL = 1;
const OPENGL3 = 2;
const GLES1 = 32768;
const GLES2 = 65536;
#[doc(alias = "GST_GL_API_OPENGL")]
const OPENGL = ffi::GST_GL_API_OPENGL as u32;
#[doc(alias = "GST_GL_API_OPENGL3")]
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! {
#[doc(alias = "GstGLDisplayType")]
pub struct GLDisplayType: u32 {
const X11 = 1;
const WAYLAND = 2;
const COCOA = 4;
const WIN32 = 8;
const DISPMANX = 16;
const EGL = 32;
const VIV_FB = 64;
const GBM = 128;
#[doc(alias = "GST_GL_DISPLAY_TYPE_X11")]
const X11 = ffi::GST_GL_DISPLAY_TYPE_X11 as u32;
#[doc(alias = "GST_GL_DISPLAY_TYPE_WAYLAND")]
const WAYLAND = ffi::GST_GL_DISPLAY_TYPE_WAYLAND as u32;
#[doc(alias = "GST_GL_DISPLAY_TYPE_COCOA")]
const COCOA = ffi::GST_GL_DISPLAY_TYPE_COCOA as u32;
#[doc(alias = "GST_GL_DISPLAY_TYPE_WIN32")]
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_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! {
#[doc(alias = "GstGLPlatform")]
pub struct GLPlatform: u32 {
const EGL = 1;
const GLX = 2;
const WGL = 4;
const CGL = 8;
const EAGL = 16;
#[doc(alias = "GST_GL_PLATFORM_EGL")]
const EGL = ffi::GST_GL_PLATFORM_EGL as u32;
#[doc(alias = "GST_GL_PLATFORM_GLX")]
const GLX = ffi::GST_GL_PLATFORM_GLX as u32;
#[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! {
#[doc(alias = "GstGLSLProfile")]
pub struct GLSLProfile: u32 {
const ES = 1;
const CORE = 2;
const COMPATIBILITY = 4;
#[doc(alias = "GST_GLSL_PROFILE_ES")]
const ES = ffi::GST_GLSL_PROFILE_ES as u32;
#[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;
}
}

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstGLBaseFilter")]
pub struct GLBaseFilter(Object<ffi::GstGLBaseFilter, ffi::GstGLBaseFilterClass>) @extends gst_base::BaseTransform, gst::Element, gst::Object;
match fn {

View file

@ -4,6 +4,7 @@
// DO NOT EDIT
glib::wrapper! {
#[doc(alias = "GstGLBaseMemoryAllocator")]
pub struct GLBaseMemoryAllocator(Object<ffi::GstGLBaseMemoryAllocator, ffi::GstGLBaseMemoryAllocatorClass>) @extends gst::Allocator, gst::Object;
match fn {

View file

@ -14,6 +14,7 @@ use std::boxed::Box as Box_;
use std::mem::transmute;
glib::wrapper! {
#[doc(alias = "GstGLBaseSrc")]
pub struct GLBaseSrc(Object<ffi::GstGLBaseSrc, ffi::GstGLBaseSrcClass>) @extends gst_base::PushSrc, gst_base::BaseSrc, gst::Element, gst::Object;
match fn {

View file

@ -8,6 +8,7 @@ use glib::object::IsA;
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GstGLColorConvert")]
pub struct GLColorConvert(Object<ffi::GstGLColorConvert, ffi::GstGLColorConvertClass>) @extends gst::Object;
match fn {

View file

@ -15,6 +15,7 @@ use std::mem;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GstGLContext")]
pub struct GLContext(Object<ffi::GstGLContext, ffi::GstGLContextClass>) @extends gst::Object;
match fn {

View file

@ -17,6 +17,7 @@ use std::mem::transmute;
use std::ptr;
glib::wrapper! {
#[doc(alias = "GstGLDisplay")]
pub struct GLDisplay(Object<ffi::GstGLDisplay, ffi::GstGLDisplayClass>) @extends gst::Object;
match fn {

View file

@ -10,6 +10,7 @@ use glib::object::IsA;
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GstGLFilter")]
pub struct GLFilter(Object<ffi::GstGLFilter, ffi::GstGLFilterClass>) @extends GLBaseFilter, gst_base::BaseTransform, gst::Element, gst::Object;
match fn {

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