Regen with more doc alias for enums and consts

This commit is contained in:
Guillaume Gomez 2020-12-18 15:23:05 +01:00
parent 8ff1a78dfc
commit 2f0e386037
145 changed files with 1430 additions and 260 deletions

View file

@ -11,9 +11,13 @@ use glib::Type;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstAppStreamType")]
pub enum AppStreamType {
#[doc(alias = "GST_APP_STREAM_TYPE_STREAM")]
Stream,
#[doc(alias = "GST_APP_STREAM_TYPE_SEEKABLE")]
Seekable,
#[doc(alias = "GST_APP_STREAM_TYPE_RANDOM_ACCESS")]
RandomAccess,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_app_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -12,37 +12,69 @@ use std::fmt;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstAudioChannelPosition")]
pub enum AudioChannelPosition {
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_NONE")]
None,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_MONO")]
Mono,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_INVALID")]
Invalid,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT")]
FrontLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT")]
FrontRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER")]
FrontCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_LFE1")]
Lfe1,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_REAR_LEFT")]
RearLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT")]
RearRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER")]
FrontLeftOfCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER")]
FrontRightOfCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_REAR_CENTER")]
RearCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_LFE2")]
Lfe2,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT")]
SideLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT")]
SideRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT")]
TopFrontLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT")]
TopFrontRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER")]
TopFrontCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_CENTER")]
TopCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT")]
TopRearLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT")]
TopRearRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT")]
TopSideLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT")]
TopSideRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER")]
TopRearCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER")]
BottomFrontCenter,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT")]
BottomFrontLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT")]
BottomFrontRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT")]
WideLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT")]
WideRight,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT")]
SurroundLeft,
#[doc(alias = "GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT")]
SurroundRight,
#[doc(hidden)]
__Unknown(i32),
@ -169,38 +201,71 @@ impl SetValue for AudioChannelPosition {
#[derive(Debug, Eq, PartialEq, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstAudioFormat")]
pub enum AudioFormat {
#[doc(alias = "GST_AUDIO_FORMAT_UNKNOWN")]
Unknown,
#[doc(alias = "GST_AUDIO_FORMAT_ENCODED")]
Encoded,
#[doc(alias = "GST_AUDIO_FORMAT_S8")]
S8,
#[doc(alias = "GST_AUDIO_FORMAT_U8")]
U8,
#[doc(alias = "GST_AUDIO_FORMAT_S16LE")]
S16le,
#[doc(alias = "GST_AUDIO_FORMAT_S16BE")]
S16be,
#[doc(alias = "GST_AUDIO_FORMAT_U16LE")]
U16le,
#[doc(alias = "GST_AUDIO_FORMAT_U16BE")]
U16be,
#[doc(alias = "GST_AUDIO_FORMAT_S24_32LE")]
S2432le,
#[doc(alias = "GST_AUDIO_FORMAT_S24_32BE")]
S2432be,
#[doc(alias = "GST_AUDIO_FORMAT_U24_32LE")]
U2432le,
#[doc(alias = "GST_AUDIO_FORMAT_U24_32BE")]
U2432be,
#[doc(alias = "GST_AUDIO_FORMAT_S32LE")]
S32le,
#[doc(alias = "GST_AUDIO_FORMAT_S32BE")]
S32be,
#[doc(alias = "GST_AUDIO_FORMAT_U32LE")]
U32le,
#[doc(alias = "GST_AUDIO_FORMAT_U32BE")]
U32be,
#[doc(alias = "GST_AUDIO_FORMAT_S24LE")]
S24le,
#[doc(alias = "GST_AUDIO_FORMAT_S24BE")]
S24be,
#[doc(alias = "GST_AUDIO_FORMAT_U24LE")]
U24le,
#[doc(alias = "GST_AUDIO_FORMAT_U24BE")]
U24be,
#[doc(alias = "GST_AUDIO_FORMAT_S20LE")]
S20le,
#[doc(alias = "GST_AUDIO_FORMAT_S20BE")]
S20be,
#[doc(alias = "GST_AUDIO_FORMAT_U20LE")]
U20le,
#[doc(alias = "GST_AUDIO_FORMAT_U20BE")]
U20be,
#[doc(alias = "GST_AUDIO_FORMAT_S18LE")]
S18le,
#[doc(alias = "GST_AUDIO_FORMAT_S18BE")]
S18be,
#[doc(alias = "GST_AUDIO_FORMAT_U18LE")]
U18le,
#[doc(alias = "GST_AUDIO_FORMAT_U18BE")]
U18be,
#[doc(alias = "GST_AUDIO_FORMAT_F32LE")]
F32le,
#[doc(alias = "GST_AUDIO_FORMAT_F32BE")]
F32be,
#[doc(alias = "GST_AUDIO_FORMAT_F64LE")]
F64le,
#[doc(alias = "GST_AUDIO_FORMAT_F64BE")]
F64be,
#[doc(hidden)]
__Unknown(i32),
@ -332,8 +397,11 @@ impl SetValue for AudioFormat {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstAudioLayout")]
pub enum AudioLayout {
#[doc(alias = "GST_AUDIO_LAYOUT_INTERLEAVED")]
Interleaved,
#[doc(alias = "GST_AUDIO_LAYOUT_NON_INTERLEAVED")]
NonInterleaved,
#[doc(hidden)]
__Unknown(i32),
@ -390,27 +458,43 @@ impl SetValue for AudioLayout {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstAudioRingBufferFormatType")]
pub enum AudioRingBufferFormatType {
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW")]
Raw,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW")]
MuLaw,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW")]
ALaw,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM")]
ImaAdpcm,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG")]
Mpeg,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM")]
Gsm,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958")]
Iec958,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3")]
Ac3,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3")]
Eac3,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS")]
Dts,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC")]
Mpeg2Aac,
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC")]
Mpeg4Aac,
#[cfg(any(feature = "v1_12", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW")]
Mpeg2AacRaw,
#[cfg(any(feature = "v1_12", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW")]
Mpeg4AacRaw,
#[cfg(any(feature = "v1_12", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC")]
Flac,
#[doc(hidden)]
__Unknown(i32),
@ -503,9 +587,13 @@ impl SetValue for AudioRingBufferFormatType {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstStreamVolumeFormat")]
pub enum StreamVolumeFormat {
#[doc(alias = "GST_STREAM_VOLUME_FORMAT_LINEAR")]
Linear,
#[doc(alias = "GST_STREAM_VOLUME_FORMAT_CUBIC")]
Cubic,
#[doc(alias = "GST_STREAM_VOLUME_FORMAT_DB")]
Db,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_audio_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -13,9 +13,13 @@ use glib::Type;
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstAggregatorStartTimeSelection")]
pub enum AggregatorStartTimeSelection {
#[doc(alias = "GST_AGGREGATOR_START_TIME_SELECTION_ZERO")]
Zero,
#[doc(alias = "GST_AGGREGATOR_START_TIME_SELECTION_FIRST")]
First,
#[doc(alias = "GST_AGGREGATOR_START_TIME_SELECTION_SET")]
Set,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_base_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_check_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -11,10 +11,15 @@ use glib::Type;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstInterpolationMode")]
pub enum InterpolationMode {
#[doc(alias = "GST_INTERPOLATION_MODE_NONE")]
None,
#[doc(alias = "GST_INTERPOLATION_MODE_LINEAR")]
Linear,
#[doc(alias = "GST_INTERPOLATION_MODE_CUBIC")]
Cubic,
#[doc(alias = "GST_INTERPOLATION_MODE_CUBIC_MONOTONIC")]
CubicMonotonic,
#[doc(hidden)]
__Unknown(i32),
@ -75,11 +80,17 @@ impl SetValue for InterpolationMode {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstLFOWaveform")]
pub enum LFOWaveform {
#[doc(alias = "GST_LFO_WAVEFORM_SINE")]
Sine,
#[doc(alias = "GST_LFO_WAVEFORM_SQUARE")]
Square,
#[doc(alias = "GST_LFO_WAVEFORM_SAW")]
Saw,
#[doc(alias = "GST_LFO_WAVEFORM_REVERSE_SAW")]
ReverseSaw,
#[doc(alias = "GST_LFO_WAVEFORM_TRIANGLE")]
Triangle,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_controller_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -17,9 +17,13 @@ use std::fmt;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GESEdge")]
pub enum Edge {
#[doc(alias = "GES_EDGE_START")]
Start,
#[doc(alias = "GES_EDGE_END")]
End,
#[doc(alias = "GES_EDGE_NONE")]
None,
#[doc(hidden)]
__Unknown(i32),
@ -103,11 +107,17 @@ impl SetValue for Edge {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GESEditMode")]
pub enum EditMode {
#[doc(alias = "GES_EDIT_MODE_NORMAL")]
Normal,
#[doc(alias = "GES_EDIT_MODE_RIPPLE")]
Ripple,
#[doc(alias = "GES_EDIT_MODE_ROLL")]
Roll,
#[doc(alias = "GES_EDIT_MODE_TRIM")]
Trim,
#[doc(alias = "GES_EDIT_MODE_SLIDE")]
Slide,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_editing_services_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_gl_egl_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -21,12 +21,19 @@ use std::mem;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLContextError")]
pub enum GLContextError {
#[doc(alias = "GST_GL_CONTEXT_ERROR_FAILED")]
Failed,
#[doc(alias = "GST_GL_CONTEXT_ERROR_WRONG_CONFIG")]
WrongConfig,
#[doc(alias = "GST_GL_CONTEXT_ERROR_WRONG_API")]
WrongApi,
#[doc(alias = "GST_GL_CONTEXT_ERROR_OLD_LIBS")]
OldLibs,
#[doc(alias = "GST_GL_CONTEXT_ERROR_CREATE_CONTEXT")]
CreateContext,
#[doc(alias = "GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE")]
ResourceUnavailable,
#[doc(hidden)]
__Unknown(i32),
@ -116,25 +123,45 @@ impl SetValue for GLContextError {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLFormat")]
pub enum GLFormat {
#[doc(alias = "GST_GL_LUMINANCE")]
Luminance,
#[doc(alias = "GST_GL_ALPHA")]
Alpha,
#[doc(alias = "GST_GL_LUMINANCE_ALPHA")]
LuminanceAlpha,
#[doc(alias = "GST_GL_RED")]
Red,
#[doc(alias = "GST_GL_R8")]
R8,
#[doc(alias = "GST_GL_RG")]
Rg,
#[doc(alias = "GST_GL_RG8")]
Rg8,
#[doc(alias = "GST_GL_RGB")]
Rgb,
#[doc(alias = "GST_GL_RGB8")]
Rgb8,
#[doc(alias = "GST_GL_RGB565")]
Rgb565,
#[doc(alias = "GST_GL_RGB16")]
Rgb16,
#[doc(alias = "GST_GL_RGBA")]
Rgba,
#[doc(alias = "GST_GL_RGBA8")]
Rgba8,
#[doc(alias = "GST_GL_RGBA16")]
Rgba16,
#[doc(alias = "GST_GL_DEPTH_COMPONENT16")]
DepthComponent16,
#[doc(alias = "GST_GL_DEPTH24_STENCIL8")]
Depth24Stencil8,
#[doc(alias = "GST_GL_RGB10_A2")]
Rgb10A2,
#[doc(alias = "GST_GL_R16")]
R16,
#[doc(alias = "GST_GL_RG16")]
Rg16,
#[doc(hidden)]
__Unknown(i32),
@ -270,9 +297,13 @@ impl SetValue for GLFormat {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLQueryType")]
pub enum GLQueryType {
#[doc(alias = "GST_GL_QUERY_NONE")]
None,
#[doc(alias = "GST_GL_QUERY_TIME_ELAPSED")]
TimeElapsed,
#[doc(alias = "GST_GL_QUERY_TIMESTAMP")]
Timestamp,
#[doc(hidden)]
__Unknown(i32),
@ -331,9 +362,13 @@ impl SetValue for GLQueryType {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLSLError")]
pub enum GLSLError {
#[doc(alias = "GST_GLSL_ERROR_COMPILE")]
Compile,
#[doc(alias = "GST_GLSL_ERROR_LINK")]
Link,
#[doc(alias = "GST_GLSL_ERROR_PROGRAM")]
Program,
#[doc(hidden)]
__Unknown(i32),
@ -414,23 +449,41 @@ impl SetValue for GLSLError {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLSLVersion")]
pub enum GLSLVersion {
#[doc(alias = "GST_GLSL_VERSION_NONE")]
None,
#[doc(alias = "GST_GLSL_VERSION_100")]
_100,
#[doc(alias = "GST_GLSL_VERSION_110")]
_110,
#[doc(alias = "GST_GLSL_VERSION_120")]
_120,
#[doc(alias = "GST_GLSL_VERSION_130")]
_130,
#[doc(alias = "GST_GLSL_VERSION_140")]
_140,
#[doc(alias = "GST_GLSL_VERSION_150")]
_150,
#[doc(alias = "GST_GLSL_VERSION_300")]
_300,
#[doc(alias = "GST_GLSL_VERSION_310")]
_310,
#[doc(alias = "GST_GLSL_VERSION_320")]
_320,
#[doc(alias = "GST_GLSL_VERSION_330")]
_330,
#[doc(alias = "GST_GLSL_VERSION_400")]
_400,
#[doc(alias = "GST_GLSL_VERSION_410")]
_410,
#[doc(alias = "GST_GLSL_VERSION_420")]
_420,
#[doc(alias = "GST_GLSL_VERSION_430")]
_430,
#[doc(alias = "GST_GLSL_VERSION_440")]
_440,
#[doc(alias = "GST_GLSL_VERSION_450")]
_450,
#[doc(hidden)]
__Unknown(i32),
@ -563,9 +616,13 @@ impl SetValue for GLSLVersion {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLStereoDownmix")]
pub enum GLStereoDownmix {
#[doc(alias = "GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS")]
GreenMagentaDubois,
#[doc(alias = "GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS")]
RedCyanDubois,
#[doc(alias = "GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS")]
AmberBlueDubois,
#[doc(hidden)]
__Unknown(i32),
@ -628,10 +685,15 @@ impl SetValue for GLStereoDownmix {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLTextureTarget")]
pub enum GLTextureTarget {
#[doc(alias = "GST_GL_TEXTURE_TARGET_NONE")]
None,
#[doc(alias = "GST_GL_TEXTURE_TARGET_2D")]
_2d,
#[doc(alias = "GST_GL_TEXTURE_TARGET_RECTANGLE")]
Rectangle,
#[doc(alias = "GST_GL_TEXTURE_TARGET_EXTERNAL_OES")]
ExternalOes,
#[doc(hidden)]
__Unknown(i32),
@ -728,11 +790,17 @@ impl SetValue for GLTextureTarget {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLUploadReturn")]
pub enum GLUploadReturn {
#[doc(alias = "GST_GL_UPLOAD_DONE")]
Done,
#[doc(alias = "GST_GL_UPLOAD_ERROR")]
Error,
#[doc(alias = "GST_GL_UPLOAD_UNSUPPORTED")]
Unsupported,
#[doc(alias = "GST_GL_UPLOAD_RECONFIGURE")]
Reconfigure,
#[doc(alias = "GST_GL_UPLOAD_UNSHARED_GL_CONTEXT")]
UnsharedGlContext,
#[doc(hidden)]
__Unknown(i32),
@ -795,9 +863,13 @@ impl SetValue for GLUploadReturn {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstGLWindowError")]
pub enum GLWindowError {
#[doc(alias = "GST_GL_WINDOW_ERROR_FAILED")]
Failed,
#[doc(alias = "GST_GL_WINDOW_ERROR_OLD_LIBS")]
OldLibs,
#[doc(alias = "GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE")]
ResourceUnavailable,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_gl_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_gl_wayland_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_gl_x11_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_mpegts_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_net_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -11,12 +11,19 @@ use glib::Type;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstDiscovererResult")]
pub enum DiscovererResult {
#[doc(alias = "GST_DISCOVERER_OK")]
Ok,
#[doc(alias = "GST_DISCOVERER_URI_INVALID")]
UriInvalid,
#[doc(alias = "GST_DISCOVERER_ERROR")]
Error,
#[doc(alias = "GST_DISCOVERER_TIMEOUT")]
Timeout,
#[doc(alias = "GST_DISCOVERER_BUSY")]
Busy,
#[doc(alias = "GST_DISCOVERER_MISSING_PLUGINS")]
MissingPlugins,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_pbutils_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -13,10 +13,15 @@ use glib::Type;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstPlayerColorBalanceType")]
pub enum PlayerColorBalanceType {
#[doc(alias = "GST_PLAYER_COLOR_BALANCE_HUE")]
Hue,
#[doc(alias = "GST_PLAYER_COLOR_BALANCE_BRIGHTNESS")]
Brightness,
#[doc(alias = "GST_PLAYER_COLOR_BALANCE_SATURATION")]
Saturation,
#[doc(alias = "GST_PLAYER_COLOR_BALANCE_CONTRAST")]
Contrast,
#[doc(hidden)]
__Unknown(i32),
@ -85,7 +90,9 @@ impl SetValue for PlayerColorBalanceType {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstPlayerError")]
pub enum PlayerError {
#[doc(alias = "GST_PLAYER_ERROR_FAILED")]
Failed,
#[doc(hidden)]
__Unknown(i32),
@ -168,11 +175,17 @@ impl SetValue for PlayerError {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstPlayerSnapshotFormat")]
pub enum PlayerSnapshotFormat {
#[doc(alias = "GST_PLAYER_THUMBNAIL_RAW_NATIVE")]
RawNative,
#[doc(alias = "GST_PLAYER_THUMBNAIL_RAW_xRGB")]
RawXrgb,
#[doc(alias = "GST_PLAYER_THUMBNAIL_RAW_BGRx")]
RawBgrx,
#[doc(alias = "GST_PLAYER_THUMBNAIL_JPG")]
Jpg,
#[doc(alias = "GST_PLAYER_THUMBNAIL_PNG")]
Png,
#[doc(hidden)]
__Unknown(i32),
@ -211,10 +224,15 @@ impl FromGlib<ffi::GstPlayerSnapshotFormat> for PlayerSnapshotFormat {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstPlayerState")]
pub enum PlayerState {
#[doc(alias = "GST_PLAYER_STATE_STOPPED")]
Stopped,
#[doc(alias = "GST_PLAYER_STATE_BUFFERING")]
Buffering,
#[doc(alias = "GST_PLAYER_STATE_PAUSED")]
Paused,
#[doc(alias = "GST_PLAYER_STATE_PLAYING")]
Playing,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_player_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -4,198 +4,232 @@
use std::ffi::CStr;
#[doc(alias = "GST_RTP_HDREXT_BASE")]
pub static RTP_HDREXT_BASE: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_HDREXT_BASE).to_str().unwrap()
});
#[doc(alias = "GST_RTP_HDREXT_NTP_56")]
pub static RTP_HDREXT_NTP_56: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_HDREXT_NTP_56).to_str().unwrap()
});
#[doc(alias = "GST_RTP_HDREXT_NTP_64")]
pub static RTP_HDREXT_NTP_64: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_HDREXT_NTP_64).to_str().unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_1016_STRING")]
pub static RTP_PAYLOAD_1016_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_1016_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_CELLB_STRING")]
pub static RTP_PAYLOAD_CELLB_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_CELLB_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_CN_STRING")]
pub static RTP_PAYLOAD_CN_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_CN_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_11025_STRING")]
pub static RTP_PAYLOAD_DVI4_11025_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_DVI4_11025_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_16000_STRING")]
pub static RTP_PAYLOAD_DVI4_16000_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_DVI4_16000_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_22050_STRING")]
pub static RTP_PAYLOAD_DVI4_22050_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_DVI4_22050_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_8000_STRING")]
pub static RTP_PAYLOAD_DVI4_8000_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_DVI4_8000_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_DYNAMIC_STRING")]
pub static RTP_PAYLOAD_DYNAMIC_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_DYNAMIC_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_G721_STRING")]
pub static RTP_PAYLOAD_G721_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_G721_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_G722_STRING")]
pub static RTP_PAYLOAD_G722_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_G722_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_G723_53_STRING")]
pub static RTP_PAYLOAD_G723_53_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_G723_53_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_G723_63_STRING")]
pub static RTP_PAYLOAD_G723_63_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_G723_63_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_G723_STRING")]
pub static RTP_PAYLOAD_G723_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_G723_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_G728_STRING")]
pub static RTP_PAYLOAD_G728_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_G728_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_G729_STRING")]
pub static RTP_PAYLOAD_G729_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_G729_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_GSM_STRING")]
pub static RTP_PAYLOAD_GSM_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_GSM_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_H261_STRING")]
pub static RTP_PAYLOAD_H261_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_H261_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_H263_STRING")]
pub static RTP_PAYLOAD_H263_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_H263_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_JPEG_STRING")]
pub static RTP_PAYLOAD_JPEG_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_JPEG_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_L16_MONO_STRING")]
pub static RTP_PAYLOAD_L16_MONO_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_L16_MONO_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_L16_STEREO_STRING")]
pub static RTP_PAYLOAD_L16_STEREO_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_L16_STEREO_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_LPC_STRING")]
pub static RTP_PAYLOAD_LPC_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_LPC_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_MP2T_STRING")]
pub static RTP_PAYLOAD_MP2T_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_MP2T_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_MPA_STRING")]
pub static RTP_PAYLOAD_MPA_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_MPA_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_MPV_STRING")]
pub static RTP_PAYLOAD_MPV_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_MPV_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_NV_STRING")]
pub static RTP_PAYLOAD_NV_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_NV_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_PCMA_STRING")]
pub static RTP_PAYLOAD_PCMA_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_PCMA_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_PCMU_STRING")]
pub static RTP_PAYLOAD_PCMU_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_PCMU_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_QCELP_STRING")]
pub static RTP_PAYLOAD_QCELP_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_QCELP_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_TS41_STRING")]
pub static RTP_PAYLOAD_TS41_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_TS41_STRING)
.to_str()
.unwrap()
});
#[doc(alias = "GST_RTP_PAYLOAD_TS48_STRING")]
pub static RTP_PAYLOAD_TS48_STRING: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_PAYLOAD_TS48_STRING)

View file

@ -11,15 +11,25 @@ use glib::Type;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTCPFBType")]
pub enum RTCPFBType {
#[doc(alias = "GST_RTCP_FB_TYPE_INVALID")]
FbTypeInvalid,
#[doc(alias = "GST_RTCP_RTPFB_TYPE_NACK")]
RtpfbTypeNack,
#[doc(alias = "GST_RTCP_RTPFB_TYPE_TMMBR")]
RtpfbTypeTmmbr,
#[doc(alias = "GST_RTCP_RTPFB_TYPE_TMMBN")]
RtpfbTypeTmmbn,
#[doc(alias = "GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ")]
RtpfbTypeRtcpSrReq,
#[doc(alias = "GST_RTCP_RTPFB_TYPE_TWCC")]
RtpfbTypeTwcc,
#[doc(alias = "GST_RTCP_PSFB_TYPE_SLI")]
PsfbTypeSli,
#[doc(alias = "GST_RTCP_PSFB_TYPE_TSTN")]
PsfbTypeTstn,
#[doc(alias = "GST_RTCP_PSFB_TYPE_VBCN")]
PsfbTypeVbcn,
#[doc(hidden)]
__Unknown(i32),
@ -90,16 +100,27 @@ impl SetValue for RTCPFBType {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTCPSDESType")]
pub enum RTCPSDESType {
#[doc(alias = "GST_RTCP_SDES_INVALID")]
Invalid,
#[doc(alias = "GST_RTCP_SDES_END")]
End,
#[doc(alias = "GST_RTCP_SDES_CNAME")]
Cname,
#[doc(alias = "GST_RTCP_SDES_NAME")]
Name,
#[doc(alias = "GST_RTCP_SDES_EMAIL")]
Email,
#[doc(alias = "GST_RTCP_SDES_PHONE")]
Phone,
#[doc(alias = "GST_RTCP_SDES_LOC")]
Loc,
#[doc(alias = "GST_RTCP_SDES_TOOL")]
Tool,
#[doc(alias = "GST_RTCP_SDES_NOTE")]
Note,
#[doc(alias = "GST_RTCP_SDES_PRIV")]
Priv,
#[doc(hidden)]
__Unknown(i32),
@ -172,15 +193,25 @@ impl SetValue for RTCPSDESType {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTCPType")]
pub enum RTCPType {
#[doc(alias = "GST_RTCP_TYPE_INVALID")]
Invalid,
#[doc(alias = "GST_RTCP_TYPE_SR")]
Sr,
#[doc(alias = "GST_RTCP_TYPE_RR")]
Rr,
#[doc(alias = "GST_RTCP_TYPE_SDES")]
Sdes,
#[doc(alias = "GST_RTCP_TYPE_BYE")]
Bye,
#[doc(alias = "GST_RTCP_TYPE_APP")]
App,
#[doc(alias = "GST_RTCP_TYPE_RTPFB")]
Rtpfb,
#[doc(alias = "GST_RTCP_TYPE_PSFB")]
Psfb,
#[doc(alias = "GST_RTCP_TYPE_XR")]
Xr,
#[doc(hidden)]
__Unknown(i32),
@ -253,14 +284,23 @@ impl SetValue for RTCPType {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTCPXRType")]
pub enum RTCPXRType {
#[doc(alias = "GST_RTCP_XR_TYPE_INVALID")]
Invalid,
#[doc(alias = "GST_RTCP_XR_TYPE_LRLE")]
Lrle,
#[doc(alias = "GST_RTCP_XR_TYPE_DRLE")]
Drle,
#[doc(alias = "GST_RTCP_XR_TYPE_PRT")]
Prt,
#[doc(alias = "GST_RTCP_XR_TYPE_RRT")]
Rrt,
#[doc(alias = "GST_RTCP_XR_TYPE_DLRR")]
Dlrr,
#[doc(alias = "GST_RTCP_XR_TYPE_SSUMM")]
Ssumm,
#[doc(alias = "GST_RTCP_XR_TYPE_VOIP_METRICS")]
VoipMetrics,
#[doc(hidden)]
__Unknown(i32),
@ -341,32 +381,59 @@ impl SetValue for RTCPXRType {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTPPayload")]
pub enum RTPPayload {
#[doc(alias = "GST_RTP_PAYLOAD_PCMU")]
Pcmu,
#[doc(alias = "GST_RTP_PAYLOAD_1016")]
_1016,
#[doc(alias = "GST_RTP_PAYLOAD_G721")]
G721,
#[doc(alias = "GST_RTP_PAYLOAD_GSM")]
Gsm,
#[doc(alias = "GST_RTP_PAYLOAD_G723")]
G723,
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_8000")]
Dvi48000,
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_16000")]
Dvi416000,
#[doc(alias = "GST_RTP_PAYLOAD_LPC")]
Lpc,
#[doc(alias = "GST_RTP_PAYLOAD_PCMA")]
Pcma,
#[doc(alias = "GST_RTP_PAYLOAD_G722")]
G722,
#[doc(alias = "GST_RTP_PAYLOAD_L16_STEREO")]
L16Stereo,
#[doc(alias = "GST_RTP_PAYLOAD_L16_MONO")]
L16Mono,
#[doc(alias = "GST_RTP_PAYLOAD_QCELP")]
Qcelp,
#[doc(alias = "GST_RTP_PAYLOAD_CN")]
Cn,
#[doc(alias = "GST_RTP_PAYLOAD_MPA")]
Mpa,
#[doc(alias = "GST_RTP_PAYLOAD_G728")]
G728,
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_11025")]
Dvi411025,
#[doc(alias = "GST_RTP_PAYLOAD_DVI4_22050")]
Dvi422050,
#[doc(alias = "GST_RTP_PAYLOAD_G729")]
G729,
#[doc(alias = "GST_RTP_PAYLOAD_CELLB")]
Cellb,
#[doc(alias = "GST_RTP_PAYLOAD_JPEG")]
Jpeg,
#[doc(alias = "GST_RTP_PAYLOAD_NV")]
Nv,
#[doc(alias = "GST_RTP_PAYLOAD_H261")]
H261,
#[doc(alias = "GST_RTP_PAYLOAD_MPV")]
Mpv,
#[doc(alias = "GST_RTP_PAYLOAD_MP2T")]
Mp2t,
#[doc(alias = "GST_RTP_PAYLOAD_H263")]
H263,
#[doc(hidden)]
__Unknown(i32),
@ -471,11 +538,17 @@ impl SetValue for RTPPayload {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTPProfile")]
pub enum RTPProfile {
#[doc(alias = "GST_RTP_PROFILE_UNKNOWN")]
Unknown,
#[doc(alias = "GST_RTP_PROFILE_AVP")]
Avp,
#[doc(alias = "GST_RTP_PROFILE_SAVP")]
Savp,
#[doc(alias = "GST_RTP_PROFILE_AVPF")]
Avpf,
#[doc(alias = "GST_RTP_PROFILE_SAVPF")]
Savpf,
#[doc(hidden)]
__Unknown(i32),

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
Generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
use gstreamer_rtp_sys::*;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977)
// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 00040a2)
// from gir-files (https://github.com/gtk-rs/gir-files @ 8ff1a78d)
// DO NOT EDIT
#include "manual.h"

View file

@ -11,11 +11,17 @@ use glib::Type;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTSPAddressPoolResult")]
pub enum RTSPAddressPoolResult {
#[doc(alias = "GST_RTSP_ADDRESS_POOL_OK")]
Ok,
#[doc(alias = "GST_RTSP_ADDRESS_POOL_EINVAL")]
Einval,
#[doc(alias = "GST_RTSP_ADDRESS_POOL_ERESERVED")]
Ereserved,
#[doc(alias = "GST_RTSP_ADDRESS_POOL_ERANGE")]
Erange,
#[doc(alias = "GST_RTSP_ADDRESS_POOL_ELAST")]
Elast,
#[doc(hidden)]
__Unknown(i32),
@ -54,9 +60,13 @@ impl FromGlib<ffi::GstRTSPAddressPoolResult> for RTSPAddressPoolResult {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTSPFilterResult")]
pub enum RTSPFilterResult {
#[doc(alias = "GST_RTSP_FILTER_REMOVE")]
Remove,
#[doc(alias = "GST_RTSP_FILTER_KEEP")]
Keep,
#[doc(alias = "GST_RTSP_FILTER_REF")]
Ref,
#[doc(hidden)]
__Unknown(i32),
@ -91,12 +101,19 @@ impl FromGlib<ffi::GstRTSPFilterResult> for RTSPFilterResult {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTSPMediaStatus")]
pub enum RTSPMediaStatus {
#[doc(alias = "GST_RTSP_MEDIA_STATUS_UNPREPARED")]
Unprepared,
#[doc(alias = "GST_RTSP_MEDIA_STATUS_UNPREPARING")]
Unpreparing,
#[doc(alias = "GST_RTSP_MEDIA_STATUS_PREPARING")]
Preparing,
#[doc(alias = "GST_RTSP_MEDIA_STATUS_PREPARED")]
Prepared,
#[doc(alias = "GST_RTSP_MEDIA_STATUS_SUSPENDED")]
Suspended,
#[doc(alias = "GST_RTSP_MEDIA_STATUS_ERROR")]
Error,
#[doc(hidden)]
__Unknown(i32),
@ -137,9 +154,13 @@ impl FromGlib<ffi::GstRTSPMediaStatus> for RTSPMediaStatus {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTSPPublishClockMode")]
pub enum RTSPPublishClockMode {
#[doc(alias = "GST_RTSP_PUBLISH_CLOCK_MODE_NONE")]
None,
#[doc(alias = "GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK")]
Clock,
#[doc(alias = "GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK_AND_OFFSET")]
ClockAndOffset,
#[doc(hidden)]
__Unknown(i32),
@ -200,9 +221,13 @@ impl SetValue for RTSPPublishClockMode {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTSPSuspendMode")]
pub enum RTSPSuspendMode {
#[doc(alias = "GST_RTSP_SUSPEND_MODE_NONE")]
None,
#[doc(alias = "GST_RTSP_SUSPEND_MODE_PAUSE")]
Pause,
#[doc(alias = "GST_RTSP_SUSPEND_MODE_RESET")]
Reset,
#[doc(hidden)]
__Unknown(i32),
@ -261,8 +286,11 @@ impl SetValue for RTSPSuspendMode {
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstRTSPThreadType")]
pub enum RTSPThreadType {
#[doc(alias = "GST_RTSP_THREAD_TYPE_CLIENT")]
Client,
#[doc(alias = "GST_RTSP_THREAD_TYPE_MEDIA")]
Media,
#[doc(hidden)]
__Unknown(i32),

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