Regenerate with latest gir

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1190>
This commit is contained in:
Sebastian Dröge 2023-01-06 11:13:12 +02:00
parent 6152dd7e3b
commit ea136515cf
75 changed files with 615 additions and 1081 deletions

View file

@ -3,22 +3,14 @@
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use std::ffi::CStr;
use glib::GStr;
#[doc(alias = "GST_ALLOCATOR_DMABUF")]
pub static ALLOCATOR_DMABUF: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_ALLOCATOR_DMABUF).to_str().unwrap()
});
pub static ALLOCATOR_DMABUF: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_ALLOCATOR_DMABUF) };
#[doc(alias = "GST_ALLOCATOR_FD")]
pub static ALLOCATOR_FD: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_ALLOCATOR_FD).to_str().unwrap()
});
pub static ALLOCATOR_FD: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_ALLOCATOR_FD) };
#[doc(alias = "GST_CAPS_FEATURE_MEMORY_DMABUF")]
pub static CAPS_FEATURE_MEMORY_DMABUF: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_CAPS_FEATURE_MEMORY_DMABUF)
.to_str()
.unwrap()
});
pub static CAPS_FEATURE_MEMORY_DMABUF: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_CAPS_FEATURE_MEMORY_DMABUF) };

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -22,10 +22,9 @@ use libc::{
use glib::{gboolean, gconstpointer, gpointer, GType};
// Constants
pub const GST_ALLOCATOR_DMABUF: *const c_char = b"dmabuf\0" as *const u8 as *const c_char;
pub const GST_ALLOCATOR_FD: *const c_char = b"fd\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_MEMORY_DMABUF: *const c_char =
b"memory:DMABuf\0" as *const u8 as *const c_char;
pub const GST_ALLOCATOR_DMABUF: &[u8] = b"dmabuf\0";
pub const GST_ALLOCATOR_FD: &[u8] = b"fd\0";
pub const GST_CAPS_FEATURE_MEMORY_DMABUF: &[u8] = b"memory:DMABuf\0";
// Flags
pub type GstFdMemoryFlags = c_uint;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -190,58 +190,45 @@ pub const GST_STREAM_VOLUME_FORMAT_CUBIC: GstStreamVolumeFormat = 1;
pub const GST_STREAM_VOLUME_FORMAT_DB: GstStreamVolumeFormat = 2;
// Constants
pub const GST_AUDIO_CHANNELS_RANGE: *const c_char =
b"(int) [ 1, max ]\0" as *const u8 as *const c_char;
pub const GST_AUDIO_CONVERTER_OPT_DITHER_METHOD: *const c_char =
b"GstAudioConverter.dither-method\0" as *const u8 as *const c_char;
pub const GST_AUDIO_CONVERTER_OPT_DITHER_THRESHOLD: *const c_char =
b"GstAudioConverter.dither-threshold\0" as *const u8 as *const c_char;
pub const GST_AUDIO_CONVERTER_OPT_MIX_MATRIX: *const c_char =
b"GstAudioConverter.mix-matrix\0" as *const u8 as *const c_char;
pub const GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD: *const c_char =
b"GstAudioConverter.noise-shaping-method\0" as *const u8 as *const c_char;
pub const GST_AUDIO_CONVERTER_OPT_QUANTIZATION: *const c_char =
b"GstAudioConverter.quantization\0" as *const u8 as *const c_char;
pub const GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD: *const c_char =
b"GstAudioConverter.resampler-method\0" as *const u8 as *const c_char;
pub const GST_AUDIO_CHANNELS_RANGE: &[u8] = b"(int) [ 1, max ]\0";
pub const GST_AUDIO_CONVERTER_OPT_DITHER_METHOD: &[u8] = b"GstAudioConverter.dither-method\0";
pub const GST_AUDIO_CONVERTER_OPT_DITHER_THRESHOLD: &[u8] = b"GstAudioConverter.dither-threshold\0";
pub const GST_AUDIO_CONVERTER_OPT_MIX_MATRIX: &[u8] = b"GstAudioConverter.mix-matrix\0";
pub const GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD: &[u8] =
b"GstAudioConverter.noise-shaping-method\0";
pub const GST_AUDIO_CONVERTER_OPT_QUANTIZATION: &[u8] = b"GstAudioConverter.quantization\0";
pub const GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD: &[u8] = b"GstAudioConverter.resampler-method\0";
pub const GST_AUDIO_DECODER_MAX_ERRORS: c_int = -1;
pub const GST_AUDIO_DECODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
pub const GST_AUDIO_DECODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char;
pub const GST_AUDIO_DECODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_AUDIO_DECODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_AUDIO_DEF_CHANNELS: c_int = 2;
pub const GST_AUDIO_DEF_FORMAT: *const c_char = b"S16LE\0" as *const u8 as *const c_char;
pub const GST_AUDIO_DEF_FORMAT: &[u8] = b"S16LE\0";
pub const GST_AUDIO_DEF_RATE: c_int = 44100;
pub const GST_AUDIO_ENCODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
pub const GST_AUDIO_ENCODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RATE_RANGE: *const c_char = b"(int) [ 1, max ]\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_CUBIC_B: *const c_char =
b"GstAudioResampler.cubic-b\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_CUBIC_C: *const c_char =
b"GstAudioResampler.cubic-c\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_CUTOFF: *const c_char =
b"GstAudioResampler.cutoff\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_INTERPOLATION: *const c_char =
b"GstAudioResampler.filter-interpolation\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_MODE: *const c_char =
b"GstAudioResampler.filter-mode\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_MODE_THRESHOLD: *const c_char =
b"GstAudioResampler.filter-mode-threshold\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_OVERSAMPLE: *const c_char =
b"GstAudioResampler.filter-oversample\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_MAX_PHASE_ERROR: *const c_char =
b"GstAudioResampler.max-phase-error\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_N_TAPS: *const c_char =
b"GstAudioResampler.n-taps\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_STOP_ATTENUATION: *const c_char =
b"GstAudioResampler.stop-attenutation\0" as *const u8 as *const c_char;
pub const GST_AUDIO_RESAMPLER_OPT_TRANSITION_BANDWIDTH: *const c_char =
b"GstAudioResampler.transition-bandwidth\0" as *const u8 as *const c_char;
pub const GST_AUDIO_ENCODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_AUDIO_ENCODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_AUDIO_RATE_RANGE: &[u8] = b"(int) [ 1, max ]\0";
pub const GST_AUDIO_RESAMPLER_OPT_CUBIC_B: &[u8] = b"GstAudioResampler.cubic-b\0";
pub const GST_AUDIO_RESAMPLER_OPT_CUBIC_C: &[u8] = b"GstAudioResampler.cubic-c\0";
pub const GST_AUDIO_RESAMPLER_OPT_CUTOFF: &[u8] = b"GstAudioResampler.cutoff\0";
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_INTERPOLATION: &[u8] =
b"GstAudioResampler.filter-interpolation\0";
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_MODE: &[u8] = b"GstAudioResampler.filter-mode\0";
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_MODE_THRESHOLD: &[u8] =
b"GstAudioResampler.filter-mode-threshold\0";
pub const GST_AUDIO_RESAMPLER_OPT_FILTER_OVERSAMPLE: &[u8] =
b"GstAudioResampler.filter-oversample\0";
pub const GST_AUDIO_RESAMPLER_OPT_MAX_PHASE_ERROR: &[u8] = b"GstAudioResampler.max-phase-error\0";
pub const GST_AUDIO_RESAMPLER_OPT_N_TAPS: &[u8] = b"GstAudioResampler.n-taps\0";
pub const GST_AUDIO_RESAMPLER_OPT_STOP_ATTENUATION: &[u8] =
b"GstAudioResampler.stop-attenutation\0";
pub const GST_AUDIO_RESAMPLER_OPT_TRANSITION_BANDWIDTH: &[u8] =
b"GstAudioResampler.transition-bandwidth\0";
pub const GST_AUDIO_RESAMPLER_QUALITY_DEFAULT: c_int = 4;
pub const GST_AUDIO_RESAMPLER_QUALITY_MAX: c_int = 10;
pub const GST_AUDIO_RESAMPLER_QUALITY_MIN: c_int = 0;
pub const GST_META_TAG_AUDIO_CHANNELS_STR: *const c_char =
b"channels\0" as *const u8 as *const c_char;
pub const GST_META_TAG_AUDIO_RATE_STR: *const c_char = b"rate\0" as *const u8 as *const c_char;
pub const GST_META_TAG_AUDIO_STR: *const c_char = b"audio\0" as *const u8 as *const c_char;
pub const GST_META_TAG_AUDIO_CHANNELS_STR: &[u8] = b"channels\0";
pub const GST_META_TAG_AUDIO_RATE_STR: &[u8] = b"rate\0";
pub const GST_META_TAG_AUDIO_STR: &[u8] = b"audio\0";
// Flags
pub type GstAudioChannelMixerFlags = c_uint;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -30,8 +30,8 @@ pub const GST_AGGREGATOR_START_TIME_SELECTION_SET: GstAggregatorStartTimeSelecti
// Constants
pub const GST_BASE_PARSE_FLAG_DRAINING: c_int = 2;
pub const GST_BASE_PARSE_FLAG_LOST_SYNC: c_int = 1;
pub const GST_BASE_TRANSFORM_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
pub const GST_BASE_TRANSFORM_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char;
pub const GST_BASE_TRANSFORM_SINK_NAME: &[u8] = b"sink\0";
pub const GST_BASE_TRANSFORM_SRC_NAME: &[u8] = b"src\0";
// Flags
pub type GstBaseParseFrameFlags = c_uint;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -3,10 +3,13 @@
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
use glib::GStr;
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
use std::{ffi::CStr, fmt};
use std::fmt;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
@ -119,15 +122,13 @@ pub enum Edge {
impl Edge {
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::ges_edge_name(self.into_glib())
.as_ref()
.expect("ges_edge_name returned NULL"),
)
.to_str()
.expect("ges_edge_name returned an invalid string")
}
}
}
@ -236,15 +237,13 @@ pub enum EditMode {
impl EditMode {
#[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::ges_edit_mode_name(self.into_glib())
.as_ref()
.expect("ges_edit_mode_name returned NULL"),
)
.to_str()
.expect("ges_edit_mode_name returned an invalid string")
}
}
}

View file

@ -4,8 +4,8 @@
// DO NOT EDIT
use bitflags::bitflags;
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
use std::{ffi::CStr, fmt};
use glib::{translate::*, value::FromValue, value::ToValue, GStr, StaticType, Type};
use std::fmt;
#[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! {
@ -270,15 +270,13 @@ bitflags! {
}
impl TrackType {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::ges_track_type_name(self.into_glib())
.as_ref()
.expect("ges_track_type_name returned NULL"),
)
.to_str()
.expect("ges_track_type_name returned an invalid string")
}
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -174,20 +174,17 @@ pub const GES_VIDEO_TEST_PATTERN_SOLID: GESVideoTestPattern = 17;
// Constants
pub const GES_FRAME_NUMBER_NONE: i64 = 9223372036854775807;
pub const GES_META_DESCRIPTION: *const c_char = b"description\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_EXTENSION: *const c_char =
b"extension\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_MIMETYPE: *const c_char = b"mimetype\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_NAME: *const c_char = b"name\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_RANK: *const c_char = b"rank\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_VERSION: *const c_char = b"version\0" as *const u8 as *const c_char;
pub const GES_META_FORMAT_VERSION: *const c_char =
b"format-version\0" as *const u8 as *const c_char;
pub const GES_META_MARKER_COLOR: *const c_char = b"marker-color\0" as *const u8 as *const c_char;
pub const GES_META_VOLUME: *const c_char = b"volume\0" as *const u8 as *const c_char;
pub const GES_META_DESCRIPTION: &[u8] = b"description\0";
pub const GES_META_FORMATTER_EXTENSION: &[u8] = b"extension\0";
pub const GES_META_FORMATTER_MIMETYPE: &[u8] = b"mimetype\0";
pub const GES_META_FORMATTER_NAME: &[u8] = b"name\0";
pub const GES_META_FORMATTER_RANK: &[u8] = b"rank\0";
pub const GES_META_FORMATTER_VERSION: &[u8] = b"version\0";
pub const GES_META_FORMAT_VERSION: &[u8] = b"format-version\0";
pub const GES_META_MARKER_COLOR: &[u8] = b"marker-color\0";
pub const GES_META_VOLUME: &[u8] = b"volume\0";
pub const GES_META_VOLUME_DEFAULT: c_double = 1.000000;
pub const GES_MULTI_FILE_URI_PREFIX: *const c_char =
b"multifile://\0" as *const u8 as *const c_char;
pub const GES_MULTI_FILE_URI_PREFIX: &[u8] = b"multifile://\0";
pub const GES_PADDING: c_int = 4;
pub const GES_PADDING_LARGE: c_int = 20;
pub const GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY: u32 = 4294967295;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -22,8 +22,7 @@ use libc::{
use glib::{gboolean, gconstpointer, gpointer, GType};
// Constants
pub const GST_GL_DISPLAY_EGL_NAME: *const c_char =
b"gst.gl.display.egl\0" as *const u8 as *const c_char;
pub const GST_GL_DISPLAY_EGL_NAME: &[u8] = b"gst.gl.display.egl\0";
// Records
#[derive(Copy, Clone)]

View file

@ -3,199 +3,93 @@
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use std::ffi::CStr;
use glib::GStr;
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_SYNC_META")]
pub static BUFFER_POOL_OPTION_GL_SYNC_META: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_BUFFER_POOL_OPTION_GL_SYNC_META)
.to_str()
.unwrap()
});
pub static BUFFER_POOL_OPTION_GL_SYNC_META: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_SYNC_META) };
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D")]
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D)
.to_str()
.unwrap()
});
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D) };
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES")]
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES)
.to_str()
.unwrap()
});
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: &GStr = unsafe {
GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES)
};
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE")]
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE)
.to_str()
.unwrap()
});
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: &GStr = unsafe {
GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE)
};
#[doc(alias = "GST_CAPS_FEATURE_MEMORY_GL_BUFFER")]
pub static CAPS_FEATURE_MEMORY_GL_BUFFER: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_CAPS_FEATURE_MEMORY_GL_BUFFER)
.to_str()
.unwrap()
});
pub static CAPS_FEATURE_MEMORY_GL_BUFFER: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_CAPS_FEATURE_MEMORY_GL_BUFFER) };
#[doc(alias = "GST_CAPS_FEATURE_MEMORY_GL_MEMORY")]
pub static CAPS_FEATURE_MEMORY_GL_MEMORY: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_CAPS_FEATURE_MEMORY_GL_MEMORY)
.to_str()
.unwrap()
});
pub static CAPS_FEATURE_MEMORY_GL_MEMORY: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_CAPS_FEATURE_MEMORY_GL_MEMORY) };
#[doc(alias = "GST_GL_API_GLES1_NAME")]
pub static GL_API_GLES1_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_API_GLES1_NAME).to_str().unwrap()
});
pub static GL_API_GLES1_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_GLES1_NAME) };
#[doc(alias = "GST_GL_API_GLES2_NAME")]
pub static GL_API_GLES2_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_API_GLES2_NAME).to_str().unwrap()
});
pub static GL_API_GLES2_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_GLES2_NAME) };
#[doc(alias = "GST_GL_API_OPENGL3_NAME")]
pub static GL_API_OPENGL3_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_API_OPENGL3_NAME)
.to_str()
.unwrap()
});
pub static GL_API_OPENGL3_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_OPENGL3_NAME) };
#[doc(alias = "GST_GL_API_OPENGL_NAME")]
pub static GL_API_OPENGL_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_API_OPENGL_NAME)
.to_str()
.unwrap()
});
pub static GL_API_OPENGL_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_OPENGL_NAME) };
#[doc(alias = "GST_GL_BASE_MEMORY_ALLOCATOR_NAME")]
pub static GL_BASE_MEMORY_ALLOCATOR_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_BASE_MEMORY_ALLOCATOR_NAME)
.to_str()
.unwrap()
});
pub static GL_BASE_MEMORY_ALLOCATOR_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_BASE_MEMORY_ALLOCATOR_NAME) };
#[doc(alias = "GST_GL_BUFFER_ALLOCATOR_NAME")]
pub static GL_BUFFER_ALLOCATOR_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_BUFFER_ALLOCATOR_NAME)
.to_str()
.unwrap()
});
pub static GL_BUFFER_ALLOCATOR_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_BUFFER_ALLOCATOR_NAME) };
#[doc(alias = "GST_GL_COLOR_CONVERT_EXT_FORMATS")]
pub static GL_COLOR_CONVERT_EXT_FORMATS: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_COLOR_CONVERT_EXT_FORMATS)
.to_str()
.unwrap()
});
pub static GL_COLOR_CONVERT_EXT_FORMATS: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_COLOR_CONVERT_EXT_FORMATS) };
#[doc(alias = "GST_GL_COLOR_CONVERT_VIDEO_CAPS")]
pub static GL_COLOR_CONVERT_VIDEO_CAPS: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_COLOR_CONVERT_VIDEO_CAPS)
.to_str()
.unwrap()
});
pub static GL_COLOR_CONVERT_VIDEO_CAPS: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_COLOR_CONVERT_VIDEO_CAPS) };
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
#[doc(alias = "GST_GL_CONFIG_STRUCTURE_NAME")]
pub static GL_CONFIG_STRUCTURE_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_CONFIG_STRUCTURE_NAME)
.to_str()
.unwrap()
});
pub static GL_CONFIG_STRUCTURE_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONFIG_STRUCTURE_NAME) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_CGL")]
pub static GL_CONTEXT_TYPE_CGL: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_CONTEXT_TYPE_CGL)
.to_str()
.unwrap()
});
pub static GL_CONTEXT_TYPE_CGL: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_CGL) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_EAGL")]
pub static GL_CONTEXT_TYPE_EAGL: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_CONTEXT_TYPE_EAGL)
.to_str()
.unwrap()
});
pub static GL_CONTEXT_TYPE_EAGL: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_EAGL) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_EGL")]
pub static GL_CONTEXT_TYPE_EGL: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_CONTEXT_TYPE_EGL)
.to_str()
.unwrap()
});
pub static GL_CONTEXT_TYPE_EGL: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_EGL) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_GLX")]
pub static GL_CONTEXT_TYPE_GLX: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_CONTEXT_TYPE_GLX)
.to_str()
.unwrap()
});
pub static GL_CONTEXT_TYPE_GLX: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_GLX) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_WGL")]
pub static GL_CONTEXT_TYPE_WGL: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_CONTEXT_TYPE_WGL)
.to_str()
.unwrap()
});
pub static GL_CONTEXT_TYPE_WGL: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_WGL) };
#[doc(alias = "GST_GL_DISPLAY_CONTEXT_TYPE")]
pub static GL_DISPLAY_CONTEXT_TYPE: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_DISPLAY_CONTEXT_TYPE)
.to_str()
.unwrap()
});
pub static GL_DISPLAY_CONTEXT_TYPE: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_DISPLAY_CONTEXT_TYPE) };
#[doc(alias = "GST_GL_MEMORY_ALLOCATOR_NAME")]
pub static GL_MEMORY_ALLOCATOR_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_MEMORY_ALLOCATOR_NAME)
.to_str()
.unwrap()
});
pub static GL_MEMORY_ALLOCATOR_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_MEMORY_ALLOCATOR_NAME) };
#[doc(alias = "GST_GL_MEMORY_PBO_ALLOCATOR_NAME")]
pub static GL_MEMORY_PBO_ALLOCATOR_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_MEMORY_PBO_ALLOCATOR_NAME)
.to_str()
.unwrap()
});
pub static GL_MEMORY_PBO_ALLOCATOR_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_MEMORY_PBO_ALLOCATOR_NAME) };
#[doc(alias = "GST_GL_MEMORY_VIDEO_EXT_FORMATS")]
pub static GL_MEMORY_VIDEO_EXT_FORMATS: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_MEMORY_VIDEO_EXT_FORMATS)
.to_str()
.unwrap()
});
pub static GL_MEMORY_VIDEO_EXT_FORMATS: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_MEMORY_VIDEO_EXT_FORMATS) };
#[doc(alias = "GST_GL_RENDERBUFFER_ALLOCATOR_NAME")]
pub static GL_RENDERBUFFER_ALLOCATOR_NAME: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_RENDERBUFFER_ALLOCATOR_NAME)
.to_str()
.unwrap()
});
pub static GL_RENDERBUFFER_ALLOCATOR_NAME: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_RENDERBUFFER_ALLOCATOR_NAME) };
#[doc(alias = "GST_GL_TEXTURE_TARGET_2D_STR")]
pub static GL_TEXTURE_TARGET_2D_STR: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_TEXTURE_TARGET_2D_STR)
.to_str()
.unwrap()
});
pub static GL_TEXTURE_TARGET_2D_STR: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_TEXTURE_TARGET_2D_STR) };
#[doc(alias = "GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR")]
pub static GL_TEXTURE_TARGET_EXTERNAL_OES_STR: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR)
.to_str()
.unwrap()
});
pub static GL_TEXTURE_TARGET_EXTERNAL_OES_STR: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR) };
#[doc(alias = "GST_GL_TEXTURE_TARGET_RECTANGLE_STR")]
pub static GL_TEXTURE_TARGET_RECTANGLE_STR: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_GL_TEXTURE_TARGET_RECTANGLE_STR)
.to_str()
.unwrap()
});
pub static GL_TEXTURE_TARGET_RECTANGLE_STR: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_TEXTURE_TARGET_RECTANGLE_STR) };

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -118,61 +118,44 @@ pub const GST_GL_WINDOW_ERROR_OLD_LIBS: GstGLWindowError = 1;
pub const GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE: GstGLWindowError = 2;
// Constants
pub const GST_BUFFER_POOL_OPTION_GL_SYNC_META: *const c_char =
b"GstBufferPoolOptionGLSyncMeta\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: *const c_char =
b"GstBufferPoolOptionGLTextureTarget2D\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: *const c_char =
b"GstBufferPoolOptionGLTextureTargetExternalOES\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: *const c_char =
b"GstBufferPoolOptionGLTextureTargetRectangle\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_MEMORY_GL_BUFFER: *const c_char =
b"memory:GLBuffer\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_MEMORY_GL_MEMORY: *const c_char =
b"memory:GLMemory\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_GL_SYNC_META: &[u8] = b"GstBufferPoolOptionGLSyncMeta\0";
pub const GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: &[u8] =
b"GstBufferPoolOptionGLTextureTarget2D\0";
pub const GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: &[u8] =
b"GstBufferPoolOptionGLTextureTargetExternalOES\0";
pub const GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: &[u8] =
b"GstBufferPoolOptionGLTextureTargetRectangle\0";
pub const GST_CAPS_FEATURE_MEMORY_GL_BUFFER: &[u8] = b"memory:GLBuffer\0";
pub const GST_CAPS_FEATURE_MEMORY_GL_MEMORY: &[u8] = b"memory:GLMemory\0";
pub const GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_ALLOC: c_int = 1;
pub const GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_BUFFER: c_int = 16;
pub const GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_USER: c_int = 65536;
pub const GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO: c_int = 8;
pub const GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE: c_int = 4;
pub const GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM: c_int = 2;
pub const GST_GL_API_GLES1_NAME: *const c_char = b"gles1\0" as *const u8 as *const c_char;
pub const GST_GL_API_GLES2_NAME: *const c_char = b"gles2\0" as *const u8 as *const c_char;
pub const GST_GL_API_OPENGL3_NAME: *const c_char = b"opengl3\0" as *const u8 as *const c_char;
pub const GST_GL_API_OPENGL_NAME: *const c_char = b"opengl\0" as *const u8 as *const c_char;
pub const GST_GL_BASE_MEMORY_ALLOCATOR_NAME: *const c_char =
b"GLBaseMemory\0" as *const u8 as *const c_char;
pub const GST_GL_BUFFER_ALLOCATOR_NAME: *const c_char = b"GLBuffer\0" as *const u8 as *const c_char;
pub const GST_GL_COLOR_CONVERT_EXT_FORMATS: *const c_char =
b", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE\0" as *const u8
as *const c_char;
pub const GST_GL_CONFIG_STRUCTURE_NAME: *const c_char =
b"gst-gl-context-config\0" as *const u8 as *const c_char;
pub const GST_GL_CONTEXT_TYPE_CGL: *const c_char =
b"gst.gl.context.CGL\0" as *const u8 as *const c_char;
pub const GST_GL_CONTEXT_TYPE_EAGL: *const c_char =
b"gst.gl.context.EAGL\0" as *const u8 as *const c_char;
pub const GST_GL_CONTEXT_TYPE_EGL: *const c_char =
b"gst.gl.context.EGL\0" as *const u8 as *const c_char;
pub const GST_GL_CONTEXT_TYPE_GLX: *const c_char =
b"gst.gl.context.GLX\0" as *const u8 as *const c_char;
pub const GST_GL_CONTEXT_TYPE_WGL: *const c_char =
b"gst.gl.context.WGL\0" as *const u8 as *const c_char;
pub const GST_GL_DISPLAY_CONTEXT_TYPE: *const c_char =
b"gst.gl.GLDisplay\0" as *const u8 as *const c_char;
pub const GST_GL_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLMemory\0" as *const u8 as *const c_char;
pub const GST_GL_MEMORY_PBO_ALLOCATOR_NAME: *const c_char =
b"GLMemoryPBO\0" as *const u8 as *const c_char;
pub const GST_GL_MEMORY_VIDEO_EXT_FORMATS: *const c_char =
b", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE\0" as *const u8
as *const c_char;
pub const GST_GL_RENDERBUFFER_ALLOCATOR_NAME: *const c_char =
b"GLRenderbuffer\0" as *const u8 as *const c_char;
pub const GST_GL_TEXTURE_TARGET_2D_STR: *const c_char = b"2D\0" as *const u8 as *const c_char;
pub const GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR: *const c_char =
b"external-oes\0" as *const u8 as *const c_char;
pub const GST_GL_TEXTURE_TARGET_RECTANGLE_STR: *const c_char =
b"rectangle\0" as *const u8 as *const c_char;
pub const GST_GL_API_GLES1_NAME: &[u8] = b"gles1\0";
pub const GST_GL_API_GLES2_NAME: &[u8] = b"gles2\0";
pub const GST_GL_API_OPENGL3_NAME: &[u8] = b"opengl3\0";
pub const GST_GL_API_OPENGL_NAME: &[u8] = b"opengl\0";
pub const GST_GL_BASE_MEMORY_ALLOCATOR_NAME: &[u8] = b"GLBaseMemory\0";
pub const GST_GL_BUFFER_ALLOCATOR_NAME: &[u8] = b"GLBuffer\0";
pub const GST_GL_COLOR_CONVERT_EXT_FORMATS: &[u8] =
b", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE\0";
pub const GST_GL_CONFIG_STRUCTURE_NAME: &[u8] = b"gst-gl-context-config\0";
pub const GST_GL_CONTEXT_TYPE_CGL: &[u8] = b"gst.gl.context.CGL\0";
pub const GST_GL_CONTEXT_TYPE_EAGL: &[u8] = b"gst.gl.context.EAGL\0";
pub const GST_GL_CONTEXT_TYPE_EGL: &[u8] = b"gst.gl.context.EGL\0";
pub const GST_GL_CONTEXT_TYPE_GLX: &[u8] = b"gst.gl.context.GLX\0";
pub const GST_GL_CONTEXT_TYPE_WGL: &[u8] = b"gst.gl.context.WGL\0";
pub const GST_GL_DISPLAY_CONTEXT_TYPE: &[u8] = b"gst.gl.GLDisplay\0";
pub const GST_GL_MEMORY_ALLOCATOR_NAME: &[u8] = b"GLMemory\0";
pub const GST_GL_MEMORY_PBO_ALLOCATOR_NAME: &[u8] = b"GLMemoryPBO\0";
pub const GST_GL_MEMORY_VIDEO_EXT_FORMATS: &[u8] =
b", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE\0";
pub const GST_GL_RENDERBUFFER_ALLOCATOR_NAME: &[u8] = b"GLRenderbuffer\0";
pub const GST_GL_TEXTURE_TARGET_2D_STR: &[u8] = b"2D\0";
pub const GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR: &[u8] = b"external-oes\0";
pub const GST_GL_TEXTURE_TARGET_RECTANGLE_STR: &[u8] = b"rectangle\0";
pub const GST_MAP_GL: c_int = 131072;
// Flags

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -24,14 +24,11 @@ use glib::{gboolean, gconstpointer, gpointer, GType};
// Constants
pub const GST_NET_TIME_PACKET_SIZE: c_int = 16;
pub const GST_PTP_CLOCK_ID_NONE: u64 = 18446744073709551615;
pub const GST_PTP_STATISTICS_BEST_MASTER_CLOCK_SELECTED: *const c_char =
b"GstPtpStatisticsBestMasterClockSelected\0" as *const u8 as *const c_char;
pub const GST_PTP_STATISTICS_NEW_DOMAIN_FOUND: *const c_char =
b"GstPtpStatisticsNewDomainFound\0" as *const u8 as *const c_char;
pub const GST_PTP_STATISTICS_PATH_DELAY_MEASURED: *const c_char =
b"GstPtpStatisticsPathDelayMeasured\0" as *const u8 as *const c_char;
pub const GST_PTP_STATISTICS_TIME_UPDATED: *const c_char =
b"GstPtpStatisticsTimeUpdated\0" as *const u8 as *const c_char;
pub const GST_PTP_STATISTICS_BEST_MASTER_CLOCK_SELECTED: &[u8] =
b"GstPtpStatisticsBestMasterClockSelected\0";
pub const GST_PTP_STATISTICS_NEW_DOMAIN_FOUND: &[u8] = b"GstPtpStatisticsNewDomainFound\0";
pub const GST_PTP_STATISTICS_PATH_DELAY_MEASURED: &[u8] = b"GstPtpStatisticsPathDelayMeasured\0";
pub const GST_PTP_STATISTICS_TIME_UPDATED: &[u8] = b"GstPtpStatisticsTimeUpdated\0";
// Callbacks
pub type GstPtpStatisticsCallback =

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -65,14 +65,11 @@ pub const GST_INSTALL_PLUGINS_HELPER_MISSING: GstInstallPluginsReturn = 202;
pub const GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS: GstInstallPluginsReturn = 203;
// Constants
pub const GST_ENCODING_CATEGORY_CAPTURE: *const c_char = b"capture\0" as *const u8 as *const c_char;
pub const GST_ENCODING_CATEGORY_DEVICE: *const c_char = b"device\0" as *const u8 as *const c_char;
pub const GST_ENCODING_CATEGORY_FILE_EXTENSION: *const c_char =
b"file-extension\0" as *const u8 as *const c_char;
pub const GST_ENCODING_CATEGORY_ONLINE_SERVICE: *const c_char =
b"online-service\0" as *const u8 as *const c_char;
pub const GST_ENCODING_CATEGORY_STORAGE_EDITING: *const c_char =
b"storage-editing\0" as *const u8 as *const c_char;
pub const GST_ENCODING_CATEGORY_CAPTURE: &[u8] = b"capture\0";
pub const GST_ENCODING_CATEGORY_DEVICE: &[u8] = b"device\0";
pub const GST_ENCODING_CATEGORY_FILE_EXTENSION: &[u8] = b"file-extension\0";
pub const GST_ENCODING_CATEGORY_ONLINE_SERVICE: &[u8] = b"online-service\0";
pub const GST_ENCODING_CATEGORY_STORAGE_EDITING: &[u8] = b"storage-editing\0";
// Flags
pub type GstDiscovererSerializeFlags = c_uint;

View file

@ -5,9 +5,10 @@
use crate::PlayMediaInfo;
use glib::{
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, Quark, StaticType, Type,
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, GStr, Quark, StaticType,
Type,
};
use std::{ffi::CStr, fmt, mem, ptr};
use std::{fmt, mem, ptr};
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
@ -26,15 +27,13 @@ pub enum PlayColorBalanceType {
}
impl PlayColorBalanceType {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_play_color_balance_type_get_name(self.into_glib())
.as_ref()
.expect("gst_play_color_balance_type_get_name returned NULL"),
)
.to_str()
.expect("gst_play_color_balance_type_get_name returned an invalid string")
}
}
}
@ -133,15 +132,13 @@ pub enum PlayError {
}
impl PlayError {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_play_error_get_name(self.into_glib())
.as_ref()
.expect("gst_play_error_get_name returned NULL"),
)
.to_str()
.expect("gst_play_error_get_name returned an invalid string")
}
}
}
@ -282,15 +279,13 @@ pub(crate) enum PlayMessage {
}
impl PlayMessage {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_play_message_get_name(self.into_glib())
.as_ref()
.expect("gst_play_message_get_name returned NULL"),
)
.to_str()
.expect("gst_play_message_get_name returned an invalid string")
}
}
@ -588,15 +583,13 @@ pub enum PlayState {
}
impl PlayState {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_play_state_get_name(self.into_glib())
.as_ref()
.expect("gst_play_state_get_name returned NULL"),
)
.to_str()
.expect("gst_play_state_get_name returned an invalid string")
}
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -4,9 +4,10 @@
// DO NOT EDIT
use glib::{
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, Quark, StaticType, Type,
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, GStr, Quark, StaticType,
Type,
};
use std::{ffi::CStr, fmt};
use std::fmt;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
@ -25,15 +26,13 @@ pub enum PlayerColorBalanceType {
}
impl PlayerColorBalanceType {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_player_color_balance_type_get_name(self.into_glib())
.as_ref()
.expect("gst_player_color_balance_type_get_name returned NULL"),
)
.to_str()
.expect("gst_player_color_balance_type_get_name returned an invalid string")
}
}
}
@ -132,15 +131,13 @@ pub enum PlayerError {
}
impl PlayerError {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_player_error_get_name(self.into_glib())
.as_ref()
.expect("gst_player_error_get_name returned NULL"),
)
.to_str()
.expect("gst_player_error_get_name returned an invalid string")
}
}
}
@ -314,15 +311,13 @@ pub enum PlayerState {
}
impl PlayerState {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_player_state_get_name(self.into_glib())
.as_ref()
.expect("gst_player_state_get_name returned NULL"),
)
.to_str()
.expect("gst_player_state_get_name returned an invalid string")
}
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -3,255 +3,117 @@
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use std::ffi::CStr;
use glib::GStr;
#[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()
});
pub static RTP_HDREXT_BASE: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_HDREXT_BASE) };
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
#[doc(alias = "GST_RTP_HDREXT_ELEMENT_CLASS")]
pub static RTP_HDREXT_ELEMENT_CLASS: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_HDREXT_ELEMENT_CLASS)
.to_str()
.unwrap()
});
pub static RTP_HDREXT_ELEMENT_CLASS: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_HDREXT_ELEMENT_CLASS) };
#[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()
});
pub static RTP_HDREXT_NTP_56: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_HDREXT_NTP_56) };
#[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()
});
pub static RTP_HDREXT_NTP_64: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_HDREXT_NTP_64) };
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
#[doc(alias = "GST_RTP_HEADER_EXTENSION_URI_METADATA_KEY")]
pub static RTP_HEADER_EXTENSION_URI_METADATA_KEY: once_cell::sync::Lazy<&'static str> =
once_cell::sync::Lazy::new(|| unsafe {
CStr::from_ptr(ffi::GST_RTP_HEADER_EXTENSION_URI_METADATA_KEY)
.to_str()
.unwrap()
});
pub static RTP_HEADER_EXTENSION_URI_METADATA_KEY: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_HEADER_EXTENSION_URI_METADATA_KEY) };
#[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()
});
pub static RTP_PAYLOAD_1016_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_1016_STRING) };
#[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()
});
pub static RTP_PAYLOAD_CELLB_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_CELLB_STRING) };
#[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()
});
pub static RTP_PAYLOAD_CN_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_CN_STRING) };
#[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()
});
pub static RTP_PAYLOAD_DVI4_11025_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_DVI4_11025_STRING) };
#[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()
});
pub static RTP_PAYLOAD_DVI4_16000_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_DVI4_16000_STRING) };
#[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()
});
pub static RTP_PAYLOAD_DVI4_22050_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_DVI4_22050_STRING) };
#[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()
});
pub static RTP_PAYLOAD_DVI4_8000_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_DVI4_8000_STRING) };
#[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()
});
pub static RTP_PAYLOAD_DYNAMIC_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_DYNAMIC_STRING) };
#[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()
});
pub static RTP_PAYLOAD_G721_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_G721_STRING) };
#[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()
});
pub static RTP_PAYLOAD_G722_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_G722_STRING) };
#[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()
});
pub static RTP_PAYLOAD_G723_53_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_G723_53_STRING) };
#[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()
});
pub static RTP_PAYLOAD_G723_63_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_G723_63_STRING) };
#[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()
});
pub static RTP_PAYLOAD_G723_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_G723_STRING) };
#[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()
});
pub static RTP_PAYLOAD_G728_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_G728_STRING) };
#[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()
});
pub static RTP_PAYLOAD_G729_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_G729_STRING) };
#[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()
});
pub static RTP_PAYLOAD_GSM_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_GSM_STRING) };
#[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()
});
pub static RTP_PAYLOAD_H261_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_H261_STRING) };
#[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()
});
pub static RTP_PAYLOAD_H263_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_H263_STRING) };
#[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()
});
pub static RTP_PAYLOAD_JPEG_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_JPEG_STRING) };
#[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()
});
pub static RTP_PAYLOAD_L16_MONO_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_L16_MONO_STRING) };
#[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()
});
pub static RTP_PAYLOAD_L16_STEREO_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_L16_STEREO_STRING) };
#[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()
});
pub static RTP_PAYLOAD_LPC_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_LPC_STRING) };
#[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()
});
pub static RTP_PAYLOAD_MP2T_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_MP2T_STRING) };
#[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()
});
pub static RTP_PAYLOAD_MPA_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_MPA_STRING) };
#[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()
});
pub static RTP_PAYLOAD_MPV_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_MPV_STRING) };
#[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()
});
pub static RTP_PAYLOAD_NV_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_NV_STRING) };
#[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()
});
pub static RTP_PAYLOAD_PCMA_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_PCMA_STRING) };
#[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()
});
pub static RTP_PAYLOAD_PCMU_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_PCMU_STRING) };
#[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()
});
pub static RTP_PAYLOAD_QCELP_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_QCELP_STRING) };
#[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()
});
pub static RTP_PAYLOAD_TS41_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_TS41_STRING) };
#[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)
.to_str()
.unwrap()
});
pub static RTP_PAYLOAD_TS48_STRING: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_RTP_PAYLOAD_TS48_STRING) };

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -136,52 +136,48 @@ pub const GST_RTCP_REDUCED_SIZE_VALID_MASK: c_int = 49400;
pub const GST_RTCP_VALID_MASK: c_int = 57598;
pub const GST_RTCP_VALID_VALUE: c_int = 200;
pub const GST_RTCP_VERSION: c_int = 2;
pub const GST_RTP_HDREXT_BASE: *const c_char =
b"urn:ietf:params:rtp-hdrext:\0" as *const u8 as *const c_char;
pub const GST_RTP_HDREXT_ELEMENT_CLASS: *const c_char =
b"Network/Extension/RTPHeader\0" as *const u8 as *const c_char;
pub const GST_RTP_HDREXT_NTP_56: *const c_char = b"ntp-56\0" as *const u8 as *const c_char;
pub const GST_RTP_HDREXT_BASE: &[u8] = b"urn:ietf:params:rtp-hdrext:\0";
pub const GST_RTP_HDREXT_ELEMENT_CLASS: &[u8] = b"Network/Extension/RTPHeader\0";
pub const GST_RTP_HDREXT_NTP_56: &[u8] = b"ntp-56\0";
pub const GST_RTP_HDREXT_NTP_56_SIZE: c_int = 7;
pub const GST_RTP_HDREXT_NTP_64: *const c_char = b"ntp-64\0" as *const u8 as *const c_char;
pub const GST_RTP_HDREXT_NTP_64: &[u8] = b"ntp-64\0";
pub const GST_RTP_HDREXT_NTP_64_SIZE: c_int = 8;
pub const GST_RTP_HEADER_EXTENSION_URI_METADATA_KEY: *const c_char =
b"RTP-Header-Extension-URI\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_1016_STRING: *const c_char = b"1\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_CELLB_STRING: *const c_char = b"25\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_CN_STRING: *const c_char = b"13\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_DVI4_11025_STRING: *const c_char = b"16\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_DVI4_16000_STRING: *const c_char = b"6\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_DVI4_22050_STRING: *const c_char = b"17\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_DVI4_8000_STRING: *const c_char = b"5\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_DYNAMIC_STRING: *const c_char =
b"[96, 127]\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_G721_STRING: *const c_char = b"2\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_G722_STRING: *const c_char = b"9\0" as *const u8 as *const c_char;
pub const GST_RTP_HEADER_EXTENSION_URI_METADATA_KEY: &[u8] = b"RTP-Header-Extension-URI\0";
pub const GST_RTP_PAYLOAD_1016_STRING: &[u8] = b"1\0";
pub const GST_RTP_PAYLOAD_CELLB_STRING: &[u8] = b"25\0";
pub const GST_RTP_PAYLOAD_CN_STRING: &[u8] = b"13\0";
pub const GST_RTP_PAYLOAD_DVI4_11025_STRING: &[u8] = b"16\0";
pub const GST_RTP_PAYLOAD_DVI4_16000_STRING: &[u8] = b"6\0";
pub const GST_RTP_PAYLOAD_DVI4_22050_STRING: &[u8] = b"17\0";
pub const GST_RTP_PAYLOAD_DVI4_8000_STRING: &[u8] = b"5\0";
pub const GST_RTP_PAYLOAD_DYNAMIC_STRING: &[u8] = b"[96, 127]\0";
pub const GST_RTP_PAYLOAD_G721_STRING: &[u8] = b"2\0";
pub const GST_RTP_PAYLOAD_G722_STRING: &[u8] = b"9\0";
pub const GST_RTP_PAYLOAD_G723_53: c_int = 17;
pub const GST_RTP_PAYLOAD_G723_53_STRING: *const c_char = b"17\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_G723_53_STRING: &[u8] = b"17\0";
pub const GST_RTP_PAYLOAD_G723_63: c_int = 16;
pub const GST_RTP_PAYLOAD_G723_63_STRING: *const c_char = b"16\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_G723_STRING: *const c_char = b"4\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_G728_STRING: *const c_char = b"15\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_G729_STRING: *const c_char = b"18\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_GSM_STRING: *const c_char = b"3\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_H261_STRING: *const c_char = b"31\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_H263_STRING: *const c_char = b"34\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_JPEG_STRING: *const c_char = b"26\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_L16_MONO_STRING: *const c_char = b"11\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_L16_STEREO_STRING: *const c_char = b"10\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_LPC_STRING: *const c_char = b"7\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_MP2T_STRING: *const c_char = b"33\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_MPA_STRING: *const c_char = b"14\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_MPV_STRING: *const c_char = b"32\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_NV_STRING: *const c_char = b"28\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_PCMA_STRING: *const c_char = b"8\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_PCMU_STRING: *const c_char = b"0\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_QCELP_STRING: *const c_char = b"12\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_G723_63_STRING: &[u8] = b"16\0";
pub const GST_RTP_PAYLOAD_G723_STRING: &[u8] = b"4\0";
pub const GST_RTP_PAYLOAD_G728_STRING: &[u8] = b"15\0";
pub const GST_RTP_PAYLOAD_G729_STRING: &[u8] = b"18\0";
pub const GST_RTP_PAYLOAD_GSM_STRING: &[u8] = b"3\0";
pub const GST_RTP_PAYLOAD_H261_STRING: &[u8] = b"31\0";
pub const GST_RTP_PAYLOAD_H263_STRING: &[u8] = b"34\0";
pub const GST_RTP_PAYLOAD_JPEG_STRING: &[u8] = b"26\0";
pub const GST_RTP_PAYLOAD_L16_MONO_STRING: &[u8] = b"11\0";
pub const GST_RTP_PAYLOAD_L16_STEREO_STRING: &[u8] = b"10\0";
pub const GST_RTP_PAYLOAD_LPC_STRING: &[u8] = b"7\0";
pub const GST_RTP_PAYLOAD_MP2T_STRING: &[u8] = b"33\0";
pub const GST_RTP_PAYLOAD_MPA_STRING: &[u8] = b"14\0";
pub const GST_RTP_PAYLOAD_MPV_STRING: &[u8] = b"32\0";
pub const GST_RTP_PAYLOAD_NV_STRING: &[u8] = b"28\0";
pub const GST_RTP_PAYLOAD_PCMA_STRING: &[u8] = b"8\0";
pub const GST_RTP_PAYLOAD_PCMU_STRING: &[u8] = b"0\0";
pub const GST_RTP_PAYLOAD_QCELP_STRING: &[u8] = b"12\0";
pub const GST_RTP_PAYLOAD_TS41: c_int = 19;
pub const GST_RTP_PAYLOAD_TS41_STRING: *const c_char = b"19\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_TS41_STRING: &[u8] = b"19\0";
pub const GST_RTP_PAYLOAD_TS48: c_int = 18;
pub const GST_RTP_PAYLOAD_TS48_STRING: *const c_char = b"18\0" as *const u8 as *const c_char;
pub const GST_RTP_PAYLOAD_TS48_STRING: &[u8] = b"18\0";
pub const GST_RTP_SOURCE_META_MAX_CSRC_COUNT: c_int = 15;
pub const GST_RTP_VERSION: c_int = 2;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -57,31 +57,21 @@ pub const GST_RTSP_THREAD_TYPE_CLIENT: GstRTSPThreadType = 0;
pub const GST_RTSP_THREAD_TYPE_MEDIA: GstRTSPThreadType = 1;
// Constants
pub const GST_RTSP_ADDRESS_POOL_ANY_IPV4: *const c_char =
b"0.0.0.0\0" as *const u8 as *const c_char;
pub const GST_RTSP_ADDRESS_POOL_ANY_IPV6: *const c_char = b"::\0" as *const u8 as *const c_char;
pub const GST_RTSP_AUTH_CHECK_CONNECT: *const c_char =
b"auth.check.connect\0" as *const u8 as *const c_char;
pub const GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS: *const c_char =
b"auth.check.media.factory.access\0" as *const u8 as *const c_char;
pub const GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT: *const c_char =
b"auth.check.media.factory.construct\0" as *const u8 as *const c_char;
pub const GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS: *const c_char =
b"auth.check.transport.client-settings\0" as *const u8 as *const c_char;
pub const GST_RTSP_AUTH_CHECK_URL: *const c_char =
b"auth.check.url\0" as *const u8 as *const c_char;
pub const GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT: *const c_char =
b"www.onvif.org/ver20/backchannel\0" as *const u8 as *const c_char;
pub const GST_RTSP_ONVIF_REPLAY_REQUIREMENT: *const c_char =
b"onvif-replay\0" as *const u8 as *const c_char;
pub const GST_RTSP_PERM_MEDIA_FACTORY_ACCESS: *const c_char =
b"media.factory.access\0" as *const u8 as *const c_char;
pub const GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT: *const c_char =
b"media.factory.construct\0" as *const u8 as *const c_char;
pub const GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE: *const c_char =
b"media.factory.role\0" as *const u8 as *const c_char;
pub const GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS: *const c_char =
b"transport.client-settings\0" as *const u8 as *const c_char;
pub const GST_RTSP_ADDRESS_POOL_ANY_IPV4: &[u8] = b"0.0.0.0\0";
pub const GST_RTSP_ADDRESS_POOL_ANY_IPV6: &[u8] = b"::\0";
pub const GST_RTSP_AUTH_CHECK_CONNECT: &[u8] = b"auth.check.connect\0";
pub const GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS: &[u8] = b"auth.check.media.factory.access\0";
pub const GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT: &[u8] =
b"auth.check.media.factory.construct\0";
pub const GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS: &[u8] =
b"auth.check.transport.client-settings\0";
pub const GST_RTSP_AUTH_CHECK_URL: &[u8] = b"auth.check.url\0";
pub const GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT: &[u8] = b"www.onvif.org/ver20/backchannel\0";
pub const GST_RTSP_ONVIF_REPLAY_REQUIREMENT: &[u8] = b"onvif-replay\0";
pub const GST_RTSP_PERM_MEDIA_FACTORY_ACCESS: &[u8] = b"media.factory.access\0";
pub const GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT: &[u8] = b"media.factory.construct\0";
pub const GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE: &[u8] = b"media.factory.role\0";
pub const GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS: &[u8] = b"transport.client-settings\0";
// Flags
pub type GstRTSPAddressFlags = c_uint;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -109,12 +109,12 @@ pub const GST_SDP_EINVAL: GstSDPResult = -1;
// Constants
pub const GST_MIKEY_VERSION: c_int = 1;
pub const GST_SDP_BWTYPE_AS: *const c_char = b"AS\0" as *const u8 as *const c_char;
pub const GST_SDP_BWTYPE_CT: *const c_char = b"CT\0" as *const u8 as *const c_char;
pub const GST_SDP_BWTYPE_EXT_PREFIX: *const c_char = b"X-\0" as *const u8 as *const c_char;
pub const GST_SDP_BWTYPE_RR: *const c_char = b"RR\0" as *const u8 as *const c_char;
pub const GST_SDP_BWTYPE_RS: *const c_char = b"RS\0" as *const u8 as *const c_char;
pub const GST_SDP_BWTYPE_TIAS: *const c_char = b"TIAS\0" as *const u8 as *const c_char;
pub const GST_SDP_BWTYPE_AS: &[u8] = b"AS\0";
pub const GST_SDP_BWTYPE_CT: &[u8] = b"CT\0";
pub const GST_SDP_BWTYPE_EXT_PREFIX: &[u8] = b"X-\0";
pub const GST_SDP_BWTYPE_RR: &[u8] = b"RR\0";
pub const GST_SDP_BWTYPE_RS: &[u8] = b"RS\0";
pub const GST_SDP_BWTYPE_TIAS: &[u8] = b"TIAS\0";
// Records
#[repr(C)]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -50,77 +50,45 @@ pub const GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO: GstTagImageType = 17;
pub const GST_TAG_IMAGE_TYPE_PUBLISHER_STUDIO_LOGO: GstTagImageType = 18;
// Constants
pub const GST_TAG_ACOUSTID_FINGERPRINT: *const c_char =
b"chromaprint-fingerprint\0" as *const u8 as *const c_char;
pub const GST_TAG_ACOUSTID_ID: *const c_char = b"acoustid-id\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_CONTRAST: *const c_char =
b"capturing-contrast\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO: *const c_char =
b"capturing-digital-zoom-ratio\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_EXPOSURE_COMPENSATION: *const c_char =
b"capturing-exposure-compensation\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_EXPOSURE_MODE: *const c_char =
b"capturing-exposure-mode\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_EXPOSURE_PROGRAM: *const c_char =
b"capturing-exposure-program\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_FLASH_FIRED: *const c_char =
b"capturing-flash-fired\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_FLASH_MODE: *const c_char =
b"capturing-flash-mode\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_FOCAL_LENGTH: *const c_char =
b"capturing-focal-length\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM: *const c_char =
b"capturing-focal-length-35mm\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_FOCAL_RATIO: *const c_char =
b"capturing-focal-ratio\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_GAIN_ADJUSTMENT: *const c_char =
b"capturing-gain-adjustment\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_ISO_SPEED: *const c_char =
b"capturing-iso-speed\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_METERING_MODE: *const c_char =
b"capturing-metering-mode\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_SATURATION: *const c_char =
b"capturing-saturation\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE: *const c_char =
b"capturing-scene-capture-type\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_SHARPNESS: *const c_char =
b"capturing-sharpness\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_SHUTTER_SPEED: *const c_char =
b"capturing-shutter-speed\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_SOURCE: *const c_char =
b"capturing-source\0" as *const u8 as *const c_char;
pub const GST_TAG_CAPTURING_WHITE_BALANCE: *const c_char =
b"capturing-white-balance\0" as *const u8 as *const c_char;
pub const GST_TAG_CDDA_CDDB_DISCID: *const c_char = b"discid\0" as *const u8 as *const c_char;
pub const GST_TAG_CDDA_CDDB_DISCID_FULL: *const c_char =
b"discid-full\0" as *const u8 as *const c_char;
pub const GST_TAG_CDDA_MUSICBRAINZ_DISCID: *const c_char =
b"musicbrainz-discid\0" as *const u8 as *const c_char;
pub const GST_TAG_CDDA_MUSICBRAINZ_DISCID_FULL: *const c_char =
b"musicbrainz-discid-full\0" as *const u8 as *const c_char;
pub const GST_TAG_CMML_CLIP: *const c_char = b"cmml-clip\0" as *const u8 as *const c_char;
pub const GST_TAG_CMML_HEAD: *const c_char = b"cmml-head\0" as *const u8 as *const c_char;
pub const GST_TAG_CMML_STREAM: *const c_char = b"cmml-stream\0" as *const u8 as *const c_char;
pub const GST_TAG_ACOUSTID_FINGERPRINT: &[u8] = b"chromaprint-fingerprint\0";
pub const GST_TAG_ACOUSTID_ID: &[u8] = b"acoustid-id\0";
pub const GST_TAG_CAPTURING_CONTRAST: &[u8] = b"capturing-contrast\0";
pub const GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO: &[u8] = b"capturing-digital-zoom-ratio\0";
pub const GST_TAG_CAPTURING_EXPOSURE_COMPENSATION: &[u8] = b"capturing-exposure-compensation\0";
pub const GST_TAG_CAPTURING_EXPOSURE_MODE: &[u8] = b"capturing-exposure-mode\0";
pub const GST_TAG_CAPTURING_EXPOSURE_PROGRAM: &[u8] = b"capturing-exposure-program\0";
pub const GST_TAG_CAPTURING_FLASH_FIRED: &[u8] = b"capturing-flash-fired\0";
pub const GST_TAG_CAPTURING_FLASH_MODE: &[u8] = b"capturing-flash-mode\0";
pub const GST_TAG_CAPTURING_FOCAL_LENGTH: &[u8] = b"capturing-focal-length\0";
pub const GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM: &[u8] = b"capturing-focal-length-35mm\0";
pub const GST_TAG_CAPTURING_FOCAL_RATIO: &[u8] = b"capturing-focal-ratio\0";
pub const GST_TAG_CAPTURING_GAIN_ADJUSTMENT: &[u8] = b"capturing-gain-adjustment\0";
pub const GST_TAG_CAPTURING_ISO_SPEED: &[u8] = b"capturing-iso-speed\0";
pub const GST_TAG_CAPTURING_METERING_MODE: &[u8] = b"capturing-metering-mode\0";
pub const GST_TAG_CAPTURING_SATURATION: &[u8] = b"capturing-saturation\0";
pub const GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE: &[u8] = b"capturing-scene-capture-type\0";
pub const GST_TAG_CAPTURING_SHARPNESS: &[u8] = b"capturing-sharpness\0";
pub const GST_TAG_CAPTURING_SHUTTER_SPEED: &[u8] = b"capturing-shutter-speed\0";
pub const GST_TAG_CAPTURING_SOURCE: &[u8] = b"capturing-source\0";
pub const GST_TAG_CAPTURING_WHITE_BALANCE: &[u8] = b"capturing-white-balance\0";
pub const GST_TAG_CDDA_CDDB_DISCID: &[u8] = b"discid\0";
pub const GST_TAG_CDDA_CDDB_DISCID_FULL: &[u8] = b"discid-full\0";
pub const GST_TAG_CDDA_MUSICBRAINZ_DISCID: &[u8] = b"musicbrainz-discid\0";
pub const GST_TAG_CDDA_MUSICBRAINZ_DISCID_FULL: &[u8] = b"musicbrainz-discid-full\0";
pub const GST_TAG_CMML_CLIP: &[u8] = b"cmml-clip\0";
pub const GST_TAG_CMML_HEAD: &[u8] = b"cmml-head\0";
pub const GST_TAG_CMML_STREAM: &[u8] = b"cmml-stream\0";
pub const GST_TAG_ID3V2_HEADER_SIZE: c_int = 10;
pub const GST_TAG_IMAGE_HORIZONTAL_PPI: *const c_char =
b"image-horizontal-ppi\0" as *const u8 as *const c_char;
pub const GST_TAG_IMAGE_VERTICAL_PPI: *const c_char =
b"image-vertical-ppi\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICAL_KEY: *const c_char = b"musical-key\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICBRAINZ_ALBUMARTISTID: *const c_char =
b"musicbrainz-albumartistid\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICBRAINZ_ALBUMID: *const c_char =
b"musicbrainz-albumid\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICBRAINZ_ARTISTID: *const c_char =
b"musicbrainz-artistid\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICBRAINZ_RELEASEGROUPID: *const c_char =
b"musicbrainz-releasegroupid\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICBRAINZ_RELEASETRACKID: *const c_char =
b"musicbrainz-releasetrackid\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICBRAINZ_TRACKID: *const c_char =
b"musicbrainz-trackid\0" as *const u8 as *const c_char;
pub const GST_TAG_MUSICBRAINZ_TRMID: *const c_char =
b"musicbrainz-trmid\0" as *const u8 as *const c_char;
pub const GST_TAG_IMAGE_HORIZONTAL_PPI: &[u8] = b"image-horizontal-ppi\0";
pub const GST_TAG_IMAGE_VERTICAL_PPI: &[u8] = b"image-vertical-ppi\0";
pub const GST_TAG_MUSICAL_KEY: &[u8] = b"musical-key\0";
pub const GST_TAG_MUSICBRAINZ_ALBUMARTISTID: &[u8] = b"musicbrainz-albumartistid\0";
pub const GST_TAG_MUSICBRAINZ_ALBUMID: &[u8] = b"musicbrainz-albumid\0";
pub const GST_TAG_MUSICBRAINZ_ARTISTID: &[u8] = b"musicbrainz-artistid\0";
pub const GST_TAG_MUSICBRAINZ_RELEASEGROUPID: &[u8] = b"musicbrainz-releasegroupid\0";
pub const GST_TAG_MUSICBRAINZ_RELEASETRACKID: &[u8] = b"musicbrainz-releasetrackid\0";
pub const GST_TAG_MUSICBRAINZ_TRACKID: &[u8] = b"musicbrainz-trackid\0";
pub const GST_TAG_MUSICBRAINZ_TRMID: &[u8] = b"musicbrainz-trmid\0";
// Flags
pub type GstTagLicenseFlags = c_uint;

View file

@ -3,8 +3,8 @@
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
use std::{ffi::CStr, fmt};
use glib::{translate::*, value::FromValue, value::ToValue, GStr, StaticType, Type};
use std::fmt;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
@ -39,15 +39,13 @@ impl ReportLevel {
}
}
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_validate_report_level_get_name(self.into_glib())
.as_ref()
.expect("gst_validate_report_level_get_name returned NULL"),
)
.to_str()
.expect("gst_validate_report_level_get_name returned an invalid string")
}
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -3,8 +3,8 @@
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
use std::{ffi::CStr, fmt};
use glib::{translate::*, value::FromValue, value::ToValue, GStr, StaticType, Type};
use std::fmt;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
@ -2407,15 +2407,13 @@ impl VideoInterlaceMode {
}
}
pub fn to_str<'a>(self) -> &'a str {
pub fn to_str<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_video_interlace_mode_to_string(self.into_glib())
.as_ref()
.expect("gst_video_interlace_mode_to_string returned NULL"),
)
.to_str()
.expect("gst_video_interlace_mode_to_string returned an invalid string")
}
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -450,42 +450,32 @@ pub const GST_VIDEO_VBI_PARSER_RESULT_OK: GstVideoVBIParserResult = 1;
pub const GST_VIDEO_VBI_PARSER_RESULT_ERROR: GstVideoVBIParserResult = 2;
// Constants
pub const GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META: *const c_char =
b"GstBufferPoolOptionVideoAffineTransformation\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT: *const c_char =
b"GstBufferPoolOptionVideoAlignment\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META: *const c_char =
b"GstBufferPoolOptionVideoGLTextureUploadMeta\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_VIDEO_META: *const c_char =
b"GstBufferPoolOptionVideoMeta\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_FORMAT_INTERLACED: *const c_char =
b"format:Interlaced\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META: *const c_char =
b"meta:GstVideoAffineTransformation\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META: *const c_char =
b"meta:GstVideoGLTextureUploadMeta\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_META_GST_VIDEO_META: *const c_char =
b"meta:GstVideoMeta\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION: *const c_char =
b"meta:GstVideoOverlayComposition\0" as *const u8 as *const c_char;
pub const GST_META_TAG_VIDEO_COLORSPACE_STR: *const c_char =
b"colorspace\0" as *const u8 as *const c_char;
pub const GST_META_TAG_VIDEO_ORIENTATION_STR: *const c_char =
b"orientation\0" as *const u8 as *const c_char;
pub const GST_META_TAG_VIDEO_SIZE_STR: *const c_char = b"size\0" as *const u8 as *const c_char;
pub const GST_META_TAG_VIDEO_STR: *const c_char = b"video\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_BT2020: *const c_char = b"bt2020\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_BT2020_10: *const c_char =
b"bt2020-10\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_BT2100_HLG: *const c_char =
b"bt2100-hlg\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_BT2100_PQ: *const c_char =
b"bt2100-pq\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_BT601: *const c_char = b"bt601\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_BT709: *const c_char = b"bt709\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_SMPTE240M: *const c_char =
b"smpte240m\0" as *const u8 as *const c_char;
pub const GST_VIDEO_COLORIMETRY_SRGB: *const c_char = b"sRGB\0" as *const u8 as *const c_char;
pub const GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META: &[u8] =
b"GstBufferPoolOptionVideoAffineTransformation\0";
pub const GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT: &[u8] = b"GstBufferPoolOptionVideoAlignment\0";
pub const GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META: &[u8] =
b"GstBufferPoolOptionVideoGLTextureUploadMeta\0";
pub const GST_BUFFER_POOL_OPTION_VIDEO_META: &[u8] = b"GstBufferPoolOptionVideoMeta\0";
pub const GST_CAPS_FEATURE_FORMAT_INTERLACED: &[u8] = b"format:Interlaced\0";
pub const GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META: &[u8] =
b"meta:GstVideoAffineTransformation\0";
pub const GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META: &[u8] =
b"meta:GstVideoGLTextureUploadMeta\0";
pub const GST_CAPS_FEATURE_META_GST_VIDEO_META: &[u8] = b"meta:GstVideoMeta\0";
pub const GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION: &[u8] =
b"meta:GstVideoOverlayComposition\0";
pub const GST_META_TAG_VIDEO_COLORSPACE_STR: &[u8] = b"colorspace\0";
pub const GST_META_TAG_VIDEO_ORIENTATION_STR: &[u8] = b"orientation\0";
pub const GST_META_TAG_VIDEO_SIZE_STR: &[u8] = b"size\0";
pub const GST_META_TAG_VIDEO_STR: &[u8] = b"video\0";
pub const GST_VIDEO_COLORIMETRY_BT2020: &[u8] = b"bt2020\0";
pub const GST_VIDEO_COLORIMETRY_BT2020_10: &[u8] = b"bt2020-10\0";
pub const GST_VIDEO_COLORIMETRY_BT2100_HLG: &[u8] = b"bt2100-hlg\0";
pub const GST_VIDEO_COLORIMETRY_BT2100_PQ: &[u8] = b"bt2100-pq\0";
pub const GST_VIDEO_COLORIMETRY_BT601: &[u8] = b"bt601\0";
pub const GST_VIDEO_COLORIMETRY_BT709: &[u8] = b"bt709\0";
pub const GST_VIDEO_COLORIMETRY_SMPTE240M: &[u8] = b"smpte240m\0";
pub const GST_VIDEO_COLORIMETRY_SRGB: &[u8] = b"sRGB\0";
pub const GST_VIDEO_COMP_A: c_int = 3;
pub const GST_VIDEO_COMP_B: c_int = 2;
pub const GST_VIDEO_COMP_G: c_int = 1;
@ -495,76 +485,47 @@ pub const GST_VIDEO_COMP_R: c_int = 0;
pub const GST_VIDEO_COMP_U: c_int = 1;
pub const GST_VIDEO_COMP_V: c_int = 2;
pub const GST_VIDEO_COMP_Y: c_int = 0;
pub const GST_VIDEO_CONVERTER_OPT_ALPHA_MODE: *const c_char =
b"GstVideoConverter.alpha-mode\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE: *const c_char =
b"GstVideoConverter.alpha-value\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_ASYNC_TASKS: *const c_char =
b"GstVideoConverter.async-tasks\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_BORDER_ARGB: *const c_char =
b"GstVideoConverter.border-argb\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_CHROMA_MODE: *const c_char =
b"GstVideoConverter.chroma-mode\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD: *const c_char =
b"GstVideoConverter.chroma-resampler-method\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT: *const c_char =
b"GstVideoConverter.dest-height\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_DEST_WIDTH: *const c_char =
b"GstVideoConverter.dest-width\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_DEST_X: *const c_char =
b"GstVideoConverter.dest-x\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_DEST_Y: *const c_char =
b"GstVideoConverter.dest-y\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_DITHER_METHOD: *const c_char =
b"GstVideoConverter.dither-method\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION: *const c_char =
b"GstVideoConverter.dither-quantization\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_FILL_BORDER: *const c_char =
b"GstVideoConverter.fill-border\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_GAMMA_MODE: *const c_char =
b"GstVideoConverter.gamma-mode\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_MATRIX_MODE: *const c_char =
b"GstVideoConverter.matrix-mode\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE: *const c_char =
b"GstVideoConverter.primaries-mode\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD: *const c_char =
b"GstVideoConverter.resampler-method\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS: *const c_char =
b"GstVideoConverter.resampler-taps\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT: *const c_char =
b"GstVideoConverter.src-height\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_SRC_WIDTH: *const c_char =
b"GstVideoConverter.src-width\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_SRC_X: *const c_char =
b"GstVideoConverter.src-x\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_SRC_Y: *const c_char =
b"GstVideoConverter.src-y\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_THREADS: *const c_char =
b"GstVideoConverter.threads\0" as *const u8 as *const c_char;
pub const GST_VIDEO_CONVERTER_OPT_ALPHA_MODE: &[u8] = b"GstVideoConverter.alpha-mode\0";
pub const GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE: &[u8] = b"GstVideoConverter.alpha-value\0";
pub const GST_VIDEO_CONVERTER_OPT_ASYNC_TASKS: &[u8] = b"GstVideoConverter.async-tasks\0";
pub const GST_VIDEO_CONVERTER_OPT_BORDER_ARGB: &[u8] = b"GstVideoConverter.border-argb\0";
pub const GST_VIDEO_CONVERTER_OPT_CHROMA_MODE: &[u8] = b"GstVideoConverter.chroma-mode\0";
pub const GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD: &[u8] =
b"GstVideoConverter.chroma-resampler-method\0";
pub const GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT: &[u8] = b"GstVideoConverter.dest-height\0";
pub const GST_VIDEO_CONVERTER_OPT_DEST_WIDTH: &[u8] = b"GstVideoConverter.dest-width\0";
pub const GST_VIDEO_CONVERTER_OPT_DEST_X: &[u8] = b"GstVideoConverter.dest-x\0";
pub const GST_VIDEO_CONVERTER_OPT_DEST_Y: &[u8] = b"GstVideoConverter.dest-y\0";
pub const GST_VIDEO_CONVERTER_OPT_DITHER_METHOD: &[u8] = b"GstVideoConverter.dither-method\0";
pub const GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION: &[u8] =
b"GstVideoConverter.dither-quantization\0";
pub const GST_VIDEO_CONVERTER_OPT_FILL_BORDER: &[u8] = b"GstVideoConverter.fill-border\0";
pub const GST_VIDEO_CONVERTER_OPT_GAMMA_MODE: &[u8] = b"GstVideoConverter.gamma-mode\0";
pub const GST_VIDEO_CONVERTER_OPT_MATRIX_MODE: &[u8] = b"GstVideoConverter.matrix-mode\0";
pub const GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE: &[u8] = b"GstVideoConverter.primaries-mode\0";
pub const GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD: &[u8] = b"GstVideoConverter.resampler-method\0";
pub const GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS: &[u8] = b"GstVideoConverter.resampler-taps\0";
pub const GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT: &[u8] = b"GstVideoConverter.src-height\0";
pub const GST_VIDEO_CONVERTER_OPT_SRC_WIDTH: &[u8] = b"GstVideoConverter.src-width\0";
pub const GST_VIDEO_CONVERTER_OPT_SRC_X: &[u8] = b"GstVideoConverter.src-x\0";
pub const GST_VIDEO_CONVERTER_OPT_SRC_Y: &[u8] = b"GstVideoConverter.src-y\0";
pub const GST_VIDEO_CONVERTER_OPT_THREADS: &[u8] = b"GstVideoConverter.threads\0";
pub const GST_VIDEO_DECODER_MAX_ERRORS: c_int = -1;
pub const GST_VIDEO_DECODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
pub const GST_VIDEO_DECODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char;
pub const GST_VIDEO_ENCODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
pub const GST_VIDEO_ENCODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char;
pub const GST_VIDEO_FPS_RANGE: *const c_char =
b"(fraction) [ 0, max ]\0" as *const u8 as *const c_char;
pub const GST_VIDEO_DECODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_VIDEO_DECODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_VIDEO_ENCODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_VIDEO_ENCODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_VIDEO_FPS_RANGE: &[u8] = b"(fraction) [ 0, max ]\0";
pub const GST_VIDEO_MAX_COMPONENTS: c_int = 4;
pub const GST_VIDEO_MAX_PLANES: c_int = 4;
pub const GST_VIDEO_RESAMPLER_OPT_CUBIC_B: *const c_char =
b"GstVideoResampler.cubic-b\0" as *const u8 as *const c_char;
pub const GST_VIDEO_RESAMPLER_OPT_CUBIC_C: *const c_char =
b"GstVideoResampler.cubic-c\0" as *const u8 as *const c_char;
pub const GST_VIDEO_RESAMPLER_OPT_ENVELOPE: *const c_char =
b"GstVideoResampler.envelope\0" as *const u8 as *const c_char;
pub const GST_VIDEO_RESAMPLER_OPT_MAX_TAPS: *const c_char =
b"GstVideoResampler.max-taps\0" as *const u8 as *const c_char;
pub const GST_VIDEO_RESAMPLER_OPT_SHARPEN: *const c_char =
b"GstVideoResampler.sharpen\0" as *const u8 as *const c_char;
pub const GST_VIDEO_RESAMPLER_OPT_SHARPNESS: *const c_char =
b"GstVideoResampler.sharpness\0" as *const u8 as *const c_char;
pub const GST_VIDEO_SCALER_OPT_DITHER_METHOD: *const c_char =
b"GstVideoScaler.dither-method\0" as *const u8 as *const c_char;
pub const GST_VIDEO_SIZE_RANGE: *const c_char = b"(int) [ 1, max ]\0" as *const u8 as *const c_char;
pub const GST_VIDEO_RESAMPLER_OPT_CUBIC_B: &[u8] = b"GstVideoResampler.cubic-b\0";
pub const GST_VIDEO_RESAMPLER_OPT_CUBIC_C: &[u8] = b"GstVideoResampler.cubic-c\0";
pub const GST_VIDEO_RESAMPLER_OPT_ENVELOPE: &[u8] = b"GstVideoResampler.envelope\0";
pub const GST_VIDEO_RESAMPLER_OPT_MAX_TAPS: &[u8] = b"GstVideoResampler.max-taps\0";
pub const GST_VIDEO_RESAMPLER_OPT_SHARPEN: &[u8] = b"GstVideoResampler.sharpen\0";
pub const GST_VIDEO_RESAMPLER_OPT_SHARPNESS: &[u8] = b"GstVideoResampler.sharpness\0";
pub const GST_VIDEO_SCALER_OPT_DITHER_METHOD: &[u8] = b"GstVideoScaler.dither-method\0";
pub const GST_VIDEO_SIZE_RANGE: &[u8] = b"(int) [ 1, max ]\0";
pub const GST_VIDEO_TILE_TYPE_MASK: c_int = 65535;
pub const GST_VIDEO_TILE_TYPE_SHIFT: c_int = 16;
pub const GST_VIDEO_TILE_X_TILES_MASK: c_int = 65535;

View file

@ -6,8 +6,8 @@
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
use glib::{error::ErrorDomain, Quark};
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
use std::{ffi::CStr, fmt};
use glib::{translate::*, value::FromValue, value::ToValue, GStr, StaticType, Type};
use std::fmt;
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
@ -1679,15 +1679,13 @@ pub enum WebRTCSDPType {
}
impl WebRTCSDPType {
pub fn to_str<'a>(self) -> &'a str {
pub fn to_str<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_webrtc_sdp_type_to_string(self.into_glib())
.as_ref()
.expect("gst_webrtc_sdp_type_to_string returned NULL"),
)
.to_str()
.expect("gst_webrtc_sdp_type_to_string returned an invalid string")
}
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -5,9 +5,10 @@
use crate::EventTypeFlags;
use glib::{
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, Quark, StaticType, Type,
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, GStr, Quark, StaticType,
Type,
};
use std::{ffi::CStr, fmt};
use std::fmt;
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
@ -743,15 +744,13 @@ pub enum DebugLevel {
}
impl DebugLevel {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_debug_level_get_name(self.into_glib())
.as_ref()
.expect("gst_debug_level_get_name returned NULL"),
)
.to_str()
.expect("gst_debug_level_get_name returned an invalid string")
}
}
}
@ -933,15 +932,13 @@ impl EventType {
unsafe { from_glib(ffi::gst_event_type_get_flags(self.into_glib())) }
}
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_event_type_get_name(self.into_glib())
.as_ref()
.expect("gst_event_type_get_name returned NULL"),
)
.to_str()
.expect("gst_event_type_get_name returned an invalid string")
}
}
@ -1687,15 +1684,13 @@ pub enum PadMode {
}
impl PadMode {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_pad_mode_get_name(self.into_glib())
.as_ref()
.expect("gst_pad_mode_get_name returned NULL"),
)
.to_str()
.expect("gst_pad_mode_get_name returned an invalid string")
}
}
}
@ -2949,15 +2944,13 @@ pub enum StateChange {
}
impl StateChange {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_state_change_get_name(self.into_glib())
.as_ref()
.expect("gst_state_change_get_name returned NULL"),
)
.to_str()
.expect("gst_state_change_get_name returned an invalid string")
}
}
}
@ -3881,15 +3874,13 @@ pub enum TocEntryType {
}
impl TocEntryType {
pub fn nick<'a>(self) -> &'a str {
pub fn nick<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_toc_entry_type_get_nick(self.into_glib())
.as_ref()
.expect("gst_toc_entry_type_get_nick returned NULL"),
)
.to_str()
.expect("gst_toc_entry_type_get_nick returned an invalid string")
}
}
}

View file

@ -4,8 +4,8 @@
// DO NOT EDIT
use bitflags::bitflags;
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
use std::{ffi::CStr, fmt};
use glib::{translate::*, value::FromValue, value::ToValue, GStr, StaticType, Type};
use std::fmt;
bitflags! {
#[doc(alias = "GstBinFlags")]
@ -2284,15 +2284,13 @@ bitflags! {
}
impl StreamType {
pub fn name<'a>(self) -> &'a str {
pub fn name<'a>(self) -> &'a GStr {
unsafe {
CStr::from_ptr(
GStr::from_ptr(
ffi::gst_stream_type_get_name(self.into_glib())
.as_ref()
.expect("gst_stream_type_get_name returned NULL"),
)
.to_str()
.expect("gst_stream_type_get_name returned an invalid string")
}
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5d24c2e70796)
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)

View file

@ -424,50 +424,34 @@ pub const GST_URI_SINK: GstURIType = 1;
pub const GST_URI_SRC: GstURIType = 2;
// Constants
pub const GST_ALLOCATOR_SYSMEM: *const c_char = b"SystemMemory\0" as *const u8 as *const c_char;
pub const GST_ALLOCATOR_SYSMEM: &[u8] = b"SystemMemory\0";
pub const GST_BUFFER_COPY_ALL: GstBufferCopyFlags = 15;
pub const GST_BUFFER_COPY_METADATA: GstBufferCopyFlags = 7;
pub const GST_BUFFER_OFFSET_NONE: u64 = 18446744073709551615;
pub const GST_CAN_INLINE: c_int = 1;
pub const GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY: *const c_char =
b"memory:SystemMemory\0" as *const u8 as *const c_char;
pub const GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY: &[u8] = b"memory:SystemMemory\0";
pub const GST_CLOCK_TIME_NONE: GstClockTime = 18446744073709551615;
pub const GST_DEBUG_BG_MASK: c_int = 240;
pub const GST_DEBUG_FG_MASK: c_int = 15;
pub const GST_DEBUG_FORMAT_MASK: c_int = 65280;
pub const GST_ELEMENT_FACTORY_KLASS_DECODER: *const c_char =
b"Decoder\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_DECRYPTOR: *const c_char =
b"Decryptor\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_DEMUXER: *const c_char =
b"Demuxer\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_DEPAYLOADER: *const c_char =
b"Depayloader\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_ENCODER: *const c_char =
b"Encoder\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_ENCRYPTOR: *const c_char =
b"Encryptor\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_FORMATTER: *const c_char =
b"Formatter\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_HARDWARE: *const c_char =
b"Hardware\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_AUDIO: *const c_char =
b"Audio\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE: *const c_char =
b"Image\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA: *const c_char =
b"Metadata\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE: *const c_char =
b"Subtitle\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_VIDEO: *const c_char =
b"Video\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_MUXER: *const c_char = b"Muxer\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_PARSER: *const c_char =
b"Parser\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_PAYLOADER: *const c_char =
b"Payloader\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_SINK: *const c_char = b"Sink\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_SRC: *const c_char = b"Source\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_FACTORY_KLASS_DECODER: &[u8] = b"Decoder\0";
pub const GST_ELEMENT_FACTORY_KLASS_DECRYPTOR: &[u8] = b"Decryptor\0";
pub const GST_ELEMENT_FACTORY_KLASS_DEMUXER: &[u8] = b"Demuxer\0";
pub const GST_ELEMENT_FACTORY_KLASS_DEPAYLOADER: &[u8] = b"Depayloader\0";
pub const GST_ELEMENT_FACTORY_KLASS_ENCODER: &[u8] = b"Encoder\0";
pub const GST_ELEMENT_FACTORY_KLASS_ENCRYPTOR: &[u8] = b"Encryptor\0";
pub const GST_ELEMENT_FACTORY_KLASS_FORMATTER: &[u8] = b"Formatter\0";
pub const GST_ELEMENT_FACTORY_KLASS_HARDWARE: &[u8] = b"Hardware\0";
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_AUDIO: &[u8] = b"Audio\0";
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE: &[u8] = b"Image\0";
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA: &[u8] = b"Metadata\0";
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE: &[u8] = b"Subtitle\0";
pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_VIDEO: &[u8] = b"Video\0";
pub const GST_ELEMENT_FACTORY_KLASS_MUXER: &[u8] = b"Muxer\0";
pub const GST_ELEMENT_FACTORY_KLASS_PARSER: &[u8] = b"Parser\0";
pub const GST_ELEMENT_FACTORY_KLASS_PAYLOADER: &[u8] = b"Payloader\0";
pub const GST_ELEMENT_FACTORY_KLASS_SINK: &[u8] = b"Sink\0";
pub const GST_ELEMENT_FACTORY_KLASS_SRC: &[u8] = b"Source\0";
pub const GST_ELEMENT_FACTORY_TYPE_ANY: GstElementFactoryListType = 562949953421311;
pub const GST_ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS: GstElementFactoryListType = 3940649673949188;
pub const GST_ELEMENT_FACTORY_TYPE_AUDIO_ENCODER: GstElementFactoryListType = 1125899906842626;
@ -493,27 +477,23 @@ pub const GST_ELEMENT_FACTORY_TYPE_PAYLOADER: GstElementFactoryListType = 128;
pub const GST_ELEMENT_FACTORY_TYPE_SINK: GstElementFactoryListType = 4;
pub const GST_ELEMENT_FACTORY_TYPE_SRC: GstElementFactoryListType = 8;
pub const GST_ELEMENT_FACTORY_TYPE_VIDEO_ENCODER: GstElementFactoryListType = 2814749767106562;
pub const GST_ELEMENT_METADATA_AUTHOR: *const c_char = b"author\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_METADATA_DESCRIPTION: *const c_char =
b"description\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_METADATA_DOC_URI: *const c_char = b"doc-uri\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_METADATA_ICON_NAME: *const c_char =
b"icon-name\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_METADATA_KLASS: *const c_char = b"klass\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_METADATA_LONGNAME: *const c_char =
b"long-name\0" as *const u8 as *const c_char;
pub const GST_ELEMENT_METADATA_AUTHOR: &[u8] = b"author\0";
pub const GST_ELEMENT_METADATA_DESCRIPTION: &[u8] = b"description\0";
pub const GST_ELEMENT_METADATA_DOC_URI: &[u8] = b"doc-uri\0";
pub const GST_ELEMENT_METADATA_ICON_NAME: &[u8] = b"icon-name\0";
pub const GST_ELEMENT_METADATA_KLASS: &[u8] = b"klass\0";
pub const GST_ELEMENT_METADATA_LONGNAME: &[u8] = b"long-name\0";
pub const GST_EVENT_NUM_SHIFT: c_int = 8;
pub const GST_EVENT_TYPE_BOTH: GstEventTypeFlags = 3;
pub const GST_FLAG_SET_MASK_EXACT: c_uint = 4294967295;
pub const GST_FORMAT_PERCENT_MAX: i64 = 1000000;
pub const GST_FORMAT_PERCENT_SCALE: i64 = 10000;
pub const GST_GROUP_ID_INVALID: c_int = 0;
pub const GST_LICENSE_UNKNOWN: *const c_char = b"unknown\0" as *const u8 as *const c_char;
pub const GST_LICENSE_UNKNOWN: &[u8] = b"unknown\0";
pub const GST_LOCK_FLAG_READWRITE: GstLockFlags = 3;
pub const GST_MAP_READWRITE: GstMapFlags = 3;
pub const GST_META_TAG_MEMORY_REFERENCE_STR: *const c_char =
b"memory-reference\0" as *const u8 as *const c_char;
pub const GST_META_TAG_MEMORY_STR: *const c_char = b"memory\0" as *const u8 as *const c_char;
pub const GST_META_TAG_MEMORY_REFERENCE_STR: &[u8] = b"memory-reference\0";
pub const GST_META_TAG_MEMORY_STR: &[u8] = b"memory\0";
pub const GST_MSECOND: GstClockTimeDiff = 1000000;
pub const GST_NSECOND: GstClockTimeDiff = 1;
pub const GST_PARAM_CONDITIONALLY_AVAILABLE: c_int = 16384;
@ -523,134 +503,98 @@ pub const GST_PARAM_MUTABLE_PAUSED: c_int = 2048;
pub const GST_PARAM_MUTABLE_PLAYING: c_int = 4096;
pub const GST_PARAM_MUTABLE_READY: c_int = 1024;
pub const GST_PARAM_USER_SHIFT: c_int = 65536;
pub const GST_PROTECTION_SYSTEM_ID_CAPS_FIELD: *const c_char =
b"protection-system\0" as *const u8 as *const c_char;
pub const GST_PROTECTION_UNSPECIFIED_SYSTEM_ID: *const c_char =
b"unspecified-system-id\0" as *const u8 as *const c_char;
pub const GST_PROTECTION_SYSTEM_ID_CAPS_FIELD: &[u8] = b"protection-system\0";
pub const GST_PROTECTION_UNSPECIFIED_SYSTEM_ID: &[u8] = b"unspecified-system-id\0";
pub const GST_QUERY_NUM_SHIFT: c_int = 8;
pub const GST_QUERY_TYPE_BOTH: GstQueryTypeFlags = 3;
pub const GST_SECOND: GstClockTimeDiff = 1000000000;
pub const GST_SEGMENT_INSTANT_FLAGS: c_int = 912;
pub const GST_SEQNUM_INVALID: c_int = 0;
pub const GST_TAG_ALBUM: *const c_char = b"album\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM_ARTIST: *const c_char = b"album-artist\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM_ARTIST_SORTNAME: *const c_char =
b"album-artist-sortname\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM_GAIN: *const c_char =
b"replaygain-album-gain\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM_PEAK: *const c_char =
b"replaygain-album-peak\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM_SORTNAME: *const c_char = b"album-sortname\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM_VOLUME_COUNT: *const c_char =
b"album-disc-count\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM_VOLUME_NUMBER: *const c_char =
b"album-disc-number\0" as *const u8 as *const c_char;
pub const GST_TAG_APPLICATION_DATA: *const c_char =
b"application-data\0" as *const u8 as *const c_char;
pub const GST_TAG_APPLICATION_NAME: *const c_char =
b"application-name\0" as *const u8 as *const c_char;
pub const GST_TAG_ARTIST: *const c_char = b"artist\0" as *const u8 as *const c_char;
pub const GST_TAG_ARTIST_SORTNAME: *const c_char =
b"artist-sortname\0" as *const u8 as *const c_char;
pub const GST_TAG_ATTACHMENT: *const c_char = b"attachment\0" as *const u8 as *const c_char;
pub const GST_TAG_AUDIO_CODEC: *const c_char = b"audio-codec\0" as *const u8 as *const c_char;
pub const GST_TAG_BEATS_PER_MINUTE: *const c_char =
b"beats-per-minute\0" as *const u8 as *const c_char;
pub const GST_TAG_BITRATE: *const c_char = b"bitrate\0" as *const u8 as *const c_char;
pub const GST_TAG_CODEC: *const c_char = b"codec\0" as *const u8 as *const c_char;
pub const GST_TAG_COMMENT: *const c_char = b"comment\0" as *const u8 as *const c_char;
pub const GST_TAG_COMPOSER: *const c_char = b"composer\0" as *const u8 as *const c_char;
pub const GST_TAG_COMPOSER_SORTNAME: *const c_char =
b"composer-sortname\0" as *const u8 as *const c_char;
pub const GST_TAG_CONDUCTOR: *const c_char = b"conductor\0" as *const u8 as *const c_char;
pub const GST_TAG_CONTACT: *const c_char = b"contact\0" as *const u8 as *const c_char;
pub const GST_TAG_CONTAINER_FORMAT: *const c_char =
b"container-format\0" as *const u8 as *const c_char;
pub const GST_TAG_COPYRIGHT: *const c_char = b"copyright\0" as *const u8 as *const c_char;
pub const GST_TAG_COPYRIGHT_URI: *const c_char = b"copyright-uri\0" as *const u8 as *const c_char;
pub const GST_TAG_DATE: *const c_char = b"date\0" as *const u8 as *const c_char;
pub const GST_TAG_DATE_TIME: *const c_char = b"datetime\0" as *const u8 as *const c_char;
pub const GST_TAG_DESCRIPTION: *const c_char = b"description\0" as *const u8 as *const c_char;
pub const GST_TAG_DEVICE_MANUFACTURER: *const c_char =
b"device-manufacturer\0" as *const u8 as *const c_char;
pub const GST_TAG_DEVICE_MODEL: *const c_char = b"device-model\0" as *const u8 as *const c_char;
pub const GST_TAG_DURATION: *const c_char = b"duration\0" as *const u8 as *const c_char;
pub const GST_TAG_ENCODED_BY: *const c_char = b"encoded-by\0" as *const u8 as *const c_char;
pub const GST_TAG_ENCODER: *const c_char = b"encoder\0" as *const u8 as *const c_char;
pub const GST_TAG_ENCODER_VERSION: *const c_char =
b"encoder-version\0" as *const u8 as *const c_char;
pub const GST_TAG_EXTENDED_COMMENT: *const c_char =
b"extended-comment\0" as *const u8 as *const c_char;
pub const GST_TAG_GENRE: *const c_char = b"genre\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION: *const c_char =
b"geo-location-capture-direction\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_CITY: *const c_char =
b"geo-location-city\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_COUNTRY: *const c_char =
b"geo-location-country\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_ELEVATION: *const c_char =
b"geo-location-elevation\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR: *const c_char =
b"geo-location-horizontal-error\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_LATITUDE: *const c_char =
b"geo-location-latitude\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_LONGITUDE: *const c_char =
b"geo-location-longitude\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION: *const c_char =
b"geo-location-movement-direction\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_MOVEMENT_SPEED: *const c_char =
b"geo-location-movement-speed\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_NAME: *const c_char =
b"geo-location-name\0" as *const u8 as *const c_char;
pub const GST_TAG_GEO_LOCATION_SUBLOCATION: *const c_char =
b"geo-location-sublocation\0" as *const u8 as *const c_char;
pub const GST_TAG_GROUPING: *const c_char = b"grouping\0" as *const u8 as *const c_char;
pub const GST_TAG_HOMEPAGE: *const c_char = b"homepage\0" as *const u8 as *const c_char;
pub const GST_TAG_IMAGE: *const c_char = b"image\0" as *const u8 as *const c_char;
pub const GST_TAG_IMAGE_ORIENTATION: *const c_char =
b"image-orientation\0" as *const u8 as *const c_char;
pub const GST_TAG_INTERPRETED_BY: *const c_char = b"interpreted-by\0" as *const u8 as *const c_char;
pub const GST_TAG_ISRC: *const c_char = b"isrc\0" as *const u8 as *const c_char;
pub const GST_TAG_KEYWORDS: *const c_char = b"keywords\0" as *const u8 as *const c_char;
pub const GST_TAG_LANGUAGE_CODE: *const c_char = b"language-code\0" as *const u8 as *const c_char;
pub const GST_TAG_LANGUAGE_NAME: *const c_char = b"language-name\0" as *const u8 as *const c_char;
pub const GST_TAG_LICENSE: *const c_char = b"license\0" as *const u8 as *const c_char;
pub const GST_TAG_LICENSE_URI: *const c_char = b"license-uri\0" as *const u8 as *const c_char;
pub const GST_TAG_LOCATION: *const c_char = b"location\0" as *const u8 as *const c_char;
pub const GST_TAG_LYRICS: *const c_char = b"lyrics\0" as *const u8 as *const c_char;
pub const GST_TAG_MAXIMUM_BITRATE: *const c_char =
b"maximum-bitrate\0" as *const u8 as *const c_char;
pub const GST_TAG_MIDI_BASE_NOTE: *const c_char = b"midi-base-note\0" as *const u8 as *const c_char;
pub const GST_TAG_MINIMUM_BITRATE: *const c_char =
b"minimum-bitrate\0" as *const u8 as *const c_char;
pub const GST_TAG_NOMINAL_BITRATE: *const c_char =
b"nominal-bitrate\0" as *const u8 as *const c_char;
pub const GST_TAG_ORGANIZATION: *const c_char = b"organization\0" as *const u8 as *const c_char;
pub const GST_TAG_PERFORMER: *const c_char = b"performer\0" as *const u8 as *const c_char;
pub const GST_TAG_PREVIEW_IMAGE: *const c_char = b"preview-image\0" as *const u8 as *const c_char;
pub const GST_TAG_PRIVATE_DATA: *const c_char = b"private-data\0" as *const u8 as *const c_char;
pub const GST_TAG_PUBLISHER: *const c_char = b"publisher\0" as *const u8 as *const c_char;
pub const GST_TAG_REFERENCE_LEVEL: *const c_char =
b"replaygain-reference-level\0" as *const u8 as *const c_char;
pub const GST_TAG_SERIAL: *const c_char = b"serial\0" as *const u8 as *const c_char;
pub const GST_TAG_SHOW_EPISODE_NUMBER: *const c_char =
b"show-episode-number\0" as *const u8 as *const c_char;
pub const GST_TAG_SHOW_NAME: *const c_char = b"show-name\0" as *const u8 as *const c_char;
pub const GST_TAG_SHOW_SEASON_NUMBER: *const c_char =
b"show-season-number\0" as *const u8 as *const c_char;
pub const GST_TAG_SHOW_SORTNAME: *const c_char = b"show-sortname\0" as *const u8 as *const c_char;
pub const GST_TAG_SUBTITLE_CODEC: *const c_char = b"subtitle-codec\0" as *const u8 as *const c_char;
pub const GST_TAG_TITLE: *const c_char = b"title\0" as *const u8 as *const c_char;
pub const GST_TAG_TITLE_SORTNAME: *const c_char = b"title-sortname\0" as *const u8 as *const c_char;
pub const GST_TAG_TRACK_COUNT: *const c_char = b"track-count\0" as *const u8 as *const c_char;
pub const GST_TAG_TRACK_GAIN: *const c_char =
b"replaygain-track-gain\0" as *const u8 as *const c_char;
pub const GST_TAG_TRACK_NUMBER: *const c_char = b"track-number\0" as *const u8 as *const c_char;
pub const GST_TAG_TRACK_PEAK: *const c_char =
b"replaygain-track-peak\0" as *const u8 as *const c_char;
pub const GST_TAG_USER_RATING: *const c_char = b"user-rating\0" as *const u8 as *const c_char;
pub const GST_TAG_VERSION: *const c_char = b"version\0" as *const u8 as *const c_char;
pub const GST_TAG_VIDEO_CODEC: *const c_char = b"video-codec\0" as *const u8 as *const c_char;
pub const GST_TAG_ALBUM: &[u8] = b"album\0";
pub const GST_TAG_ALBUM_ARTIST: &[u8] = b"album-artist\0";
pub const GST_TAG_ALBUM_ARTIST_SORTNAME: &[u8] = b"album-artist-sortname\0";
pub const GST_TAG_ALBUM_GAIN: &[u8] = b"replaygain-album-gain\0";
pub const GST_TAG_ALBUM_PEAK: &[u8] = b"replaygain-album-peak\0";
pub const GST_TAG_ALBUM_SORTNAME: &[u8] = b"album-sortname\0";
pub const GST_TAG_ALBUM_VOLUME_COUNT: &[u8] = b"album-disc-count\0";
pub const GST_TAG_ALBUM_VOLUME_NUMBER: &[u8] = b"album-disc-number\0";
pub const GST_TAG_APPLICATION_DATA: &[u8] = b"application-data\0";
pub const GST_TAG_APPLICATION_NAME: &[u8] = b"application-name\0";
pub const GST_TAG_ARTIST: &[u8] = b"artist\0";
pub const GST_TAG_ARTIST_SORTNAME: &[u8] = b"artist-sortname\0";
pub const GST_TAG_ATTACHMENT: &[u8] = b"attachment\0";
pub const GST_TAG_AUDIO_CODEC: &[u8] = b"audio-codec\0";
pub const GST_TAG_BEATS_PER_MINUTE: &[u8] = b"beats-per-minute\0";
pub const GST_TAG_BITRATE: &[u8] = b"bitrate\0";
pub const GST_TAG_CODEC: &[u8] = b"codec\0";
pub const GST_TAG_COMMENT: &[u8] = b"comment\0";
pub const GST_TAG_COMPOSER: &[u8] = b"composer\0";
pub const GST_TAG_COMPOSER_SORTNAME: &[u8] = b"composer-sortname\0";
pub const GST_TAG_CONDUCTOR: &[u8] = b"conductor\0";
pub const GST_TAG_CONTACT: &[u8] = b"contact\0";
pub const GST_TAG_CONTAINER_FORMAT: &[u8] = b"container-format\0";
pub const GST_TAG_COPYRIGHT: &[u8] = b"copyright\0";
pub const GST_TAG_COPYRIGHT_URI: &[u8] = b"copyright-uri\0";
pub const GST_TAG_DATE: &[u8] = b"date\0";
pub const GST_TAG_DATE_TIME: &[u8] = b"datetime\0";
pub const GST_TAG_DESCRIPTION: &[u8] = b"description\0";
pub const GST_TAG_DEVICE_MANUFACTURER: &[u8] = b"device-manufacturer\0";
pub const GST_TAG_DEVICE_MODEL: &[u8] = b"device-model\0";
pub const GST_TAG_DURATION: &[u8] = b"duration\0";
pub const GST_TAG_ENCODED_BY: &[u8] = b"encoded-by\0";
pub const GST_TAG_ENCODER: &[u8] = b"encoder\0";
pub const GST_TAG_ENCODER_VERSION: &[u8] = b"encoder-version\0";
pub const GST_TAG_EXTENDED_COMMENT: &[u8] = b"extended-comment\0";
pub const GST_TAG_GENRE: &[u8] = b"genre\0";
pub const GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION: &[u8] = b"geo-location-capture-direction\0";
pub const GST_TAG_GEO_LOCATION_CITY: &[u8] = b"geo-location-city\0";
pub const GST_TAG_GEO_LOCATION_COUNTRY: &[u8] = b"geo-location-country\0";
pub const GST_TAG_GEO_LOCATION_ELEVATION: &[u8] = b"geo-location-elevation\0";
pub const GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR: &[u8] = b"geo-location-horizontal-error\0";
pub const GST_TAG_GEO_LOCATION_LATITUDE: &[u8] = b"geo-location-latitude\0";
pub const GST_TAG_GEO_LOCATION_LONGITUDE: &[u8] = b"geo-location-longitude\0";
pub const GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION: &[u8] = b"geo-location-movement-direction\0";
pub const GST_TAG_GEO_LOCATION_MOVEMENT_SPEED: &[u8] = b"geo-location-movement-speed\0";
pub const GST_TAG_GEO_LOCATION_NAME: &[u8] = b"geo-location-name\0";
pub const GST_TAG_GEO_LOCATION_SUBLOCATION: &[u8] = b"geo-location-sublocation\0";
pub const GST_TAG_GROUPING: &[u8] = b"grouping\0";
pub const GST_TAG_HOMEPAGE: &[u8] = b"homepage\0";
pub const GST_TAG_IMAGE: &[u8] = b"image\0";
pub const GST_TAG_IMAGE_ORIENTATION: &[u8] = b"image-orientation\0";
pub const GST_TAG_INTERPRETED_BY: &[u8] = b"interpreted-by\0";
pub const GST_TAG_ISRC: &[u8] = b"isrc\0";
pub const GST_TAG_KEYWORDS: &[u8] = b"keywords\0";
pub const GST_TAG_LANGUAGE_CODE: &[u8] = b"language-code\0";
pub const GST_TAG_LANGUAGE_NAME: &[u8] = b"language-name\0";
pub const GST_TAG_LICENSE: &[u8] = b"license\0";
pub const GST_TAG_LICENSE_URI: &[u8] = b"license-uri\0";
pub const GST_TAG_LOCATION: &[u8] = b"location\0";
pub const GST_TAG_LYRICS: &[u8] = b"lyrics\0";
pub const GST_TAG_MAXIMUM_BITRATE: &[u8] = b"maximum-bitrate\0";
pub const GST_TAG_MIDI_BASE_NOTE: &[u8] = b"midi-base-note\0";
pub const GST_TAG_MINIMUM_BITRATE: &[u8] = b"minimum-bitrate\0";
pub const GST_TAG_NOMINAL_BITRATE: &[u8] = b"nominal-bitrate\0";
pub const GST_TAG_ORGANIZATION: &[u8] = b"organization\0";
pub const GST_TAG_PERFORMER: &[u8] = b"performer\0";
pub const GST_TAG_PREVIEW_IMAGE: &[u8] = b"preview-image\0";
pub const GST_TAG_PRIVATE_DATA: &[u8] = b"private-data\0";
pub const GST_TAG_PUBLISHER: &[u8] = b"publisher\0";
pub const GST_TAG_REFERENCE_LEVEL: &[u8] = b"replaygain-reference-level\0";
pub const GST_TAG_SERIAL: &[u8] = b"serial\0";
pub const GST_TAG_SHOW_EPISODE_NUMBER: &[u8] = b"show-episode-number\0";
pub const GST_TAG_SHOW_NAME: &[u8] = b"show-name\0";
pub const GST_TAG_SHOW_SEASON_NUMBER: &[u8] = b"show-season-number\0";
pub const GST_TAG_SHOW_SORTNAME: &[u8] = b"show-sortname\0";
pub const GST_TAG_SUBTITLE_CODEC: &[u8] = b"subtitle-codec\0";
pub const GST_TAG_TITLE: &[u8] = b"title\0";
pub const GST_TAG_TITLE_SORTNAME: &[u8] = b"title-sortname\0";
pub const GST_TAG_TRACK_COUNT: &[u8] = b"track-count\0";
pub const GST_TAG_TRACK_GAIN: &[u8] = b"replaygain-track-gain\0";
pub const GST_TAG_TRACK_NUMBER: &[u8] = b"track-number\0";
pub const GST_TAG_TRACK_PEAK: &[u8] = b"replaygain-track-peak\0";
pub const GST_TAG_USER_RATING: &[u8] = b"user-rating\0";
pub const GST_TAG_VERSION: &[u8] = b"version\0";
pub const GST_TAG_VIDEO_CODEC: &[u8] = b"video-codec\0";
pub const GST_TOC_REPEAT_COUNT_INFINITE: c_int = -1;
pub const GST_URI_NO_PORT: c_int = 0;
pub const GST_USECOND: GstClockTimeDiff = 1000;