mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
Regenerate with latest gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1200>
This commit is contained in:
parent
d6bf3e1c3b
commit
2c2a6c3871
72 changed files with 212 additions and 64 deletions
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -45,6 +45,7 @@ impl FromGlib<ffi::GstAppLeakyType> for AppLeakyType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAppLeakyType) -> Self {
|
unsafe fn from_glib(value: ffi::GstAppLeakyType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_APP_LEAKY_TYPE_NONE => Self::None,
|
ffi::GST_APP_LEAKY_TYPE_NONE => Self::None,
|
||||||
ffi::GST_APP_LEAKY_TYPE_UPSTREAM => Self::Upstream,
|
ffi::GST_APP_LEAKY_TYPE_UPSTREAM => Self::Upstream,
|
||||||
|
@ -143,6 +144,7 @@ impl FromGlib<ffi::GstAppStreamType> for AppStreamType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAppStreamType) -> Self {
|
unsafe fn from_glib(value: ffi::GstAppStreamType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_APP_STREAM_TYPE_STREAM => Self::Stream,
|
ffi::GST_APP_STREAM_TYPE_STREAM => Self::Stream,
|
||||||
ffi::GST_APP_STREAM_TYPE_SEEKABLE => Self::Seekable,
|
ffi::GST_APP_STREAM_TYPE_SEEKABLE => Self::Seekable,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -43,6 +43,7 @@ impl FromGlib<ffi::GstAudioDitherMethod> for AudioDitherMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAudioDitherMethod) -> Self {
|
unsafe fn from_glib(value: ffi::GstAudioDitherMethod) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AUDIO_DITHER_NONE => Self::None,
|
ffi::GST_AUDIO_DITHER_NONE => Self::None,
|
||||||
ffi::GST_AUDIO_DITHER_RPDF => Self::Rpdf,
|
ffi::GST_AUDIO_DITHER_RPDF => Self::Rpdf,
|
||||||
|
@ -232,6 +233,7 @@ impl IntoGlib for AudioFormat {
|
||||||
impl FromGlib<ffi::GstAudioFormat> for AudioFormat {
|
impl FromGlib<ffi::GstAudioFormat> for AudioFormat {
|
||||||
unsafe fn from_glib(value: ffi::GstAudioFormat) -> Self {
|
unsafe fn from_glib(value: ffi::GstAudioFormat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AUDIO_FORMAT_UNKNOWN => Self::Unknown,
|
ffi::GST_AUDIO_FORMAT_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_AUDIO_FORMAT_ENCODED => Self::Encoded,
|
ffi::GST_AUDIO_FORMAT_ENCODED => Self::Encoded,
|
||||||
|
@ -346,6 +348,7 @@ impl FromGlib<ffi::GstAudioLayout> for AudioLayout {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAudioLayout) -> Self {
|
unsafe fn from_glib(value: ffi::GstAudioLayout) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AUDIO_LAYOUT_INTERLEAVED => Self::Interleaved,
|
ffi::GST_AUDIO_LAYOUT_INTERLEAVED => Self::Interleaved,
|
||||||
ffi::GST_AUDIO_LAYOUT_NON_INTERLEAVED => Self::NonInterleaved,
|
ffi::GST_AUDIO_LAYOUT_NON_INTERLEAVED => Self::NonInterleaved,
|
||||||
|
@ -439,6 +442,7 @@ impl FromGlib<ffi::GstAudioNoiseShapingMethod> for AudioNoiseShapingMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAudioNoiseShapingMethod) -> Self {
|
unsafe fn from_glib(value: ffi::GstAudioNoiseShapingMethod) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AUDIO_NOISE_SHAPING_NONE => Self::None,
|
ffi::GST_AUDIO_NOISE_SHAPING_NONE => Self::None,
|
||||||
ffi::GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK => Self::ErrorFeedback,
|
ffi::GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK => Self::ErrorFeedback,
|
||||||
|
@ -535,6 +539,7 @@ impl FromGlib<ffi::GstAudioResamplerMethod> for AudioResamplerMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAudioResamplerMethod) -> Self {
|
unsafe fn from_glib(value: ffi::GstAudioResamplerMethod) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AUDIO_RESAMPLER_METHOD_NEAREST => Self::Nearest,
|
ffi::GST_AUDIO_RESAMPLER_METHOD_NEAREST => Self::Nearest,
|
||||||
ffi::GST_AUDIO_RESAMPLER_METHOD_LINEAR => Self::Linear,
|
ffi::GST_AUDIO_RESAMPLER_METHOD_LINEAR => Self::Linear,
|
||||||
|
@ -659,6 +664,7 @@ impl IntoGlib for AudioRingBufferFormatType {
|
||||||
impl FromGlib<ffi::GstAudioRingBufferFormatType> for AudioRingBufferFormatType {
|
impl FromGlib<ffi::GstAudioRingBufferFormatType> for AudioRingBufferFormatType {
|
||||||
unsafe fn from_glib(value: ffi::GstAudioRingBufferFormatType) -> Self {
|
unsafe fn from_glib(value: ffi::GstAudioRingBufferFormatType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW => Self::Raw,
|
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW => Self::Raw,
|
||||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW => Self::MuLaw,
|
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW => Self::MuLaw,
|
||||||
|
@ -759,6 +765,7 @@ impl FromGlib<ffi::GstStreamVolumeFormat> for StreamVolumeFormat {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstStreamVolumeFormat) -> Self {
|
unsafe fn from_glib(value: ffi::GstStreamVolumeFormat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_STREAM_VOLUME_FORMAT_LINEAR => Self::Linear,
|
ffi::GST_STREAM_VOLUME_FORMAT_LINEAR => Self::Linear,
|
||||||
ffi::GST_STREAM_VOLUME_FORMAT_CUBIC => Self::Cubic,
|
ffi::GST_STREAM_VOLUME_FORMAT_CUBIC => Self::Cubic,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -47,6 +47,7 @@ impl FromGlib<ffi::GstAggregatorStartTimeSelection> for AggregatorStartTimeSelec
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAggregatorStartTimeSelection) -> Self {
|
unsafe fn from_glib(value: ffi::GstAggregatorStartTimeSelection) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AGGREGATOR_START_TIME_SELECTION_ZERO => Self::Zero,
|
ffi::GST_AGGREGATOR_START_TIME_SELECTION_ZERO => Self::Zero,
|
||||||
ffi::GST_AGGREGATOR_START_TIME_SELECTION_FIRST => Self::First,
|
ffi::GST_AGGREGATOR_START_TIME_SELECTION_FIRST => Self::First,
|
||||||
|
|
|
@ -33,13 +33,13 @@ pub fn type_find_helper_for_extension(
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[doc(alias = "gst_type_find_helper_get_range")]
|
//#[doc(alias = "gst_type_find_helper_get_range")]
|
||||||
//pub fn type_find_helper_get_range<P: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> Result<gst::FlowSuccess, gst::FlowError>>(obj: &impl IsA<gst::Object>, parent: Option<&impl IsA<gst::Object>>, func: P, size: u64, extension: Option<&str>) -> (Option<gst::Caps>, gst::TypeFindProbability) {
|
//pub fn type_find_helper_get_range<P: FnMut(&gst::Object, Option<&gst::Object>, u64, u32) -> Result<gst::FlowSuccess, gst::FlowError>>(obj: &impl IsA<gst::Object>, parent: Option<&impl IsA<gst::Object>>, func: P, size: u64, extension: Option<&str>) -> (Option<gst::Caps>, gst::TypeFindProbability) {
|
||||||
// unsafe { TODO: call ffi:gst_type_find_helper_get_range() }
|
// unsafe { TODO: call ffi:gst_type_find_helper_get_range() }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
//#[cfg(any(feature = "v1_14_3", feature = "dox"))]
|
//#[cfg(any(feature = "v1_14_3", feature = "dox"))]
|
||||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14_3")))]
|
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14_3")))]
|
||||||
//#[doc(alias = "gst_type_find_helper_get_range_full")]
|
//#[doc(alias = "gst_type_find_helper_get_range_full")]
|
||||||
//pub fn type_find_helper_get_range_full<P: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> Result<gst::FlowSuccess, gst::FlowError>>(obj: &impl IsA<gst::Object>, parent: Option<&impl IsA<gst::Object>>, func: P, size: u64, extension: Option<&str>) -> (Result<gst::FlowSuccess, gst::FlowError>, gst::Caps, gst::TypeFindProbability) {
|
//pub fn type_find_helper_get_range_full<P: FnMut(&gst::Object, Option<&gst::Object>, u64, u32) -> Result<gst::FlowSuccess, gst::FlowError>>(obj: &impl IsA<gst::Object>, parent: Option<&impl IsA<gst::Object>>, func: P, size: u64, extension: Option<&str>) -> (Result<gst::FlowSuccess, gst::FlowError>, gst::Caps, gst::TypeFindProbability) {
|
||||||
// unsafe { TODO: call ffi:gst_type_find_helper_get_range_full() }
|
// unsafe { TODO: call ffi:gst_type_find_helper_get_range_full() }
|
||||||
//}
|
//}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -42,6 +42,7 @@ impl FromGlib<ffi::GstInterpolationMode> for InterpolationMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstInterpolationMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstInterpolationMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_INTERPOLATION_MODE_NONE => Self::None,
|
ffi::GST_INTERPOLATION_MODE_NONE => Self::None,
|
||||||
ffi::GST_INTERPOLATION_MODE_LINEAR => Self::Linear,
|
ffi::GST_INTERPOLATION_MODE_LINEAR => Self::Linear,
|
||||||
|
@ -137,6 +138,7 @@ impl FromGlib<ffi::GstLFOWaveform> for LFOWaveform {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstLFOWaveform) -> Self {
|
unsafe fn from_glib(value: ffi::GstLFOWaveform) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_LFO_WAVEFORM_SINE => Self::Sine,
|
ffi::GST_LFO_WAVEFORM_SINE => Self::Sine,
|
||||||
ffi::GST_LFO_WAVEFORM_SQUARE => Self::Square,
|
ffi::GST_LFO_WAVEFORM_SQUARE => Self::Square,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -45,6 +45,7 @@ impl FromGlib<ffi::GESAssetLoadingReturn> for AssetLoadingReturn {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GESAssetLoadingReturn) -> Self {
|
unsafe fn from_glib(value: ffi::GESAssetLoadingReturn) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_ASSET_LOADING_ERROR => Self::Error,
|
ffi::GES_ASSET_LOADING_ERROR => Self::Error,
|
||||||
ffi::GES_ASSET_LOADING_ASYNC => Self::Async,
|
ffi::GES_ASSET_LOADING_ASYNC => Self::Async,
|
||||||
|
@ -94,6 +95,7 @@ impl FromGlib<ffi::GESChildrenControlMode> for ChildrenControlMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GESChildrenControlMode) -> Self {
|
unsafe fn from_glib(value: ffi::GESChildrenControlMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_CHILDREN_UPDATE => Self::Update,
|
ffi::GES_CHILDREN_UPDATE => Self::Update,
|
||||||
ffi::GES_CHILDREN_IGNORE_NOTIFIES => Self::IgnoreNotifies,
|
ffi::GES_CHILDREN_IGNORE_NOTIFIES => Self::IgnoreNotifies,
|
||||||
|
@ -162,6 +164,7 @@ impl FromGlib<ffi::GESEdge> for Edge {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GESEdge) -> Self {
|
unsafe fn from_glib(value: ffi::GESEdge) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_EDGE_START => Self::Start,
|
ffi::GES_EDGE_START => Self::Start,
|
||||||
ffi::GES_EDGE_END => Self::End,
|
ffi::GES_EDGE_END => Self::End,
|
||||||
|
@ -279,6 +282,7 @@ impl FromGlib<ffi::GESEditMode> for EditMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GESEditMode) -> Self {
|
unsafe fn from_glib(value: ffi::GESEditMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_EDIT_MODE_NORMAL => Self::Normal,
|
ffi::GES_EDIT_MODE_NORMAL => Self::Normal,
|
||||||
ffi::GES_EDIT_MODE_RIPPLE => Self::Ripple,
|
ffi::GES_EDIT_MODE_RIPPLE => Self::Ripple,
|
||||||
|
@ -387,6 +391,7 @@ impl FromGlib<ffi::GESError> for Error {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GESError) -> Self {
|
unsafe fn from_glib(value: ffi::GESError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_ERROR_ASSET_WRONG_ID => Self::AssetWrongId,
|
ffi::GES_ERROR_ASSET_WRONG_ID => Self::AssetWrongId,
|
||||||
ffi::GES_ERROR_ASSET_LOADING => Self::AssetLoading,
|
ffi::GES_ERROR_ASSET_LOADING => Self::AssetLoading,
|
||||||
|
@ -442,6 +447,7 @@ impl FromGlib<ffi::GESTextHAlign> for TextHAlign {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GESTextHAlign) -> Self {
|
unsafe fn from_glib(value: ffi::GESTextHAlign) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_TEXT_HALIGN_LEFT => Self::Left,
|
ffi::GES_TEXT_HALIGN_LEFT => Self::Left,
|
||||||
ffi::GES_TEXT_HALIGN_CENTER => Self::Center,
|
ffi::GES_TEXT_HALIGN_CENTER => Self::Center,
|
||||||
|
@ -541,6 +547,7 @@ impl FromGlib<ffi::GESTextVAlign> for TextVAlign {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GESTextVAlign) -> Self {
|
unsafe fn from_glib(value: ffi::GESTextVAlign) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_TEXT_VALIGN_BASELINE => Self::Baseline,
|
ffi::GES_TEXT_VALIGN_BASELINE => Self::Baseline,
|
||||||
ffi::GES_TEXT_VALIGN_BOTTOM => Self::Bottom,
|
ffi::GES_TEXT_VALIGN_BOTTOM => Self::Bottom,
|
||||||
|
@ -843,6 +850,7 @@ impl IntoGlib for VideoStandardTransitionType {
|
||||||
impl FromGlib<ffi::GESVideoStandardTransitionType> for VideoStandardTransitionType {
|
impl FromGlib<ffi::GESVideoStandardTransitionType> for VideoStandardTransitionType {
|
||||||
unsafe fn from_glib(value: ffi::GESVideoStandardTransitionType) -> Self {
|
unsafe fn from_glib(value: ffi::GESVideoStandardTransitionType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE => Self::None,
|
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE => Self::None,
|
||||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR => Self::BarWipeLr,
|
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR => Self::BarWipeLr,
|
||||||
|
@ -1045,6 +1053,7 @@ impl IntoGlib for VideoTestPattern {
|
||||||
impl FromGlib<ffi::GESVideoTestPattern> for VideoTestPattern {
|
impl FromGlib<ffi::GESVideoTestPattern> for VideoTestPattern {
|
||||||
unsafe fn from_glib(value: ffi::GESVideoTestPattern) -> Self {
|
unsafe fn from_glib(value: ffi::GESVideoTestPattern) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GES_VIDEO_TEST_PATTERN_SMPTE => Self::Smpte,
|
ffi::GES_VIDEO_TEST_PATTERN_SMPTE => Self::Smpte,
|
||||||
ffi::GES_VIDEO_TEST_PATTERN_SNOW => Self::Snow,
|
ffi::GES_VIDEO_TEST_PATTERN_SNOW => Self::Snow,
|
||||||
|
|
|
@ -77,7 +77,7 @@ pub trait GESTrackExt: 'static {
|
||||||
fn remove_element_full(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::Error>;
|
fn remove_element_full(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::Error>;
|
||||||
|
|
||||||
//#[doc(alias = "ges_track_set_create_element_for_gap_func")]
|
//#[doc(alias = "ges_track_set_create_element_for_gap_func")]
|
||||||
//fn set_create_element_for_gap_func<P: Fn(&Track) -> gst::Element + 'static>(&self, func: P);
|
//fn set_create_element_for_gap_func<P: Fn() -> gst::Element + 'static>(&self, func: P);
|
||||||
|
|
||||||
#[doc(alias = "ges_track_set_mixing")]
|
#[doc(alias = "ges_track_set_mixing")]
|
||||||
fn set_mixing(&self, mixing: bool);
|
fn set_mixing(&self, mixing: bool);
|
||||||
|
@ -237,7 +237,7 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//fn set_create_element_for_gap_func<P: Fn(&Track) -> gst::Element + 'static>(&self, func: P) {
|
//fn set_create_element_for_gap_func<P: Fn() -> gst::Element + 'static>(&self, func: P) {
|
||||||
// unsafe { TODO: call ffi:ges_track_set_create_element_for_gap_func() }
|
// unsafe { TODO: call ffi:ges_track_set_create_element_for_gap_func() }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -401,6 +401,11 @@ status = "generate"
|
||||||
# attachment_point parameter unchecked
|
# attachment_point parameter unchecked
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "draw_to_texture"
|
||||||
|
# needs to be manually implemented for correct types/mutability
|
||||||
|
ignore = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstGL.GLOverlayCompositor"
|
name = "GstGL.GLOverlayCompositor"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -61,6 +61,7 @@ impl FromGlib<ffi::GstGLConfigCaveat> for GLConfigCaveat {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLConfigCaveat) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLConfigCaveat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_CONFIG_CAVEAT_NONE => Self::None,
|
ffi::GST_GL_CONFIG_CAVEAT_NONE => Self::None,
|
||||||
ffi::GST_GL_CONFIG_CAVEAT_SLOW => Self::Slow,
|
ffi::GST_GL_CONFIG_CAVEAT_SLOW => Self::Slow,
|
||||||
|
@ -168,6 +169,7 @@ impl FromGlib<ffi::GstGLContextError> for GLContextError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLContextError) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLContextError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_CONTEXT_ERROR_FAILED => Self::Failed,
|
ffi::GST_GL_CONTEXT_ERROR_FAILED => Self::Failed,
|
||||||
ffi::GST_GL_CONTEXT_ERROR_WRONG_CONFIG => Self::WrongConfig,
|
ffi::GST_GL_CONTEXT_ERROR_WRONG_CONFIG => Self::WrongConfig,
|
||||||
|
@ -386,6 +388,7 @@ impl IntoGlib for GLFormat {
|
||||||
impl FromGlib<ffi::GstGLFormat> for GLFormat {
|
impl FromGlib<ffi::GstGLFormat> for GLFormat {
|
||||||
unsafe fn from_glib(value: ffi::GstGLFormat) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLFormat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_LUMINANCE => Self::Luminance,
|
ffi::GST_GL_LUMINANCE => Self::Luminance,
|
||||||
ffi::GST_GL_ALPHA => Self::Alpha,
|
ffi::GST_GL_ALPHA => Self::Alpha,
|
||||||
|
@ -490,6 +493,7 @@ impl FromGlib<ffi::GstGLQueryType> for GLQueryType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLQueryType) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLQueryType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_QUERY_NONE => Self::None,
|
ffi::GST_GL_QUERY_NONE => Self::None,
|
||||||
ffi::GST_GL_QUERY_TIME_ELAPSED => Self::TimeElapsed,
|
ffi::GST_GL_QUERY_TIME_ELAPSED => Self::TimeElapsed,
|
||||||
|
@ -578,6 +582,7 @@ impl FromGlib<ffi::GstGLSLError> for GLSLError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLSLError) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLSLError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GLSL_ERROR_COMPILE => Self::Compile,
|
ffi::GST_GLSL_ERROR_COMPILE => Self::Compile,
|
||||||
ffi::GST_GLSL_ERROR_LINK => Self::Link,
|
ffi::GST_GLSL_ERROR_LINK => Self::Link,
|
||||||
|
@ -777,6 +782,7 @@ impl IntoGlib for GLSLVersion {
|
||||||
impl FromGlib<ffi::GstGLSLVersion> for GLSLVersion {
|
impl FromGlib<ffi::GstGLSLVersion> for GLSLVersion {
|
||||||
unsafe fn from_glib(value: ffi::GstGLSLVersion) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLSLVersion) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GLSL_VERSION_NONE => Self::None,
|
ffi::GST_GLSL_VERSION_NONE => Self::None,
|
||||||
ffi::GST_GLSL_VERSION_100 => Self::_100,
|
ffi::GST_GLSL_VERSION_100 => Self::_100,
|
||||||
|
@ -879,6 +885,7 @@ impl FromGlib<ffi::GstGLStereoDownmix> for GLStereoDownmix {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLStereoDownmix) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLStereoDownmix) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS => Self::GreenMagentaDubois,
|
ffi::GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS => Self::GreenMagentaDubois,
|
||||||
ffi::GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS => Self::RedCyanDubois,
|
ffi::GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS => Self::RedCyanDubois,
|
||||||
|
@ -1007,6 +1014,7 @@ impl FromGlib<ffi::GstGLTextureTarget> for GLTextureTarget {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLTextureTarget) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLTextureTarget) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_TEXTURE_TARGET_NONE => Self::None,
|
ffi::GST_GL_TEXTURE_TARGET_NONE => Self::None,
|
||||||
ffi::GST_GL_TEXTURE_TARGET_2D => Self::_2d,
|
ffi::GST_GL_TEXTURE_TARGET_2D => Self::_2d,
|
||||||
|
@ -1102,6 +1110,7 @@ impl FromGlib<ffi::GstGLUploadReturn> for GLUploadReturn {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLUploadReturn) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLUploadReturn) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_UPLOAD_DONE => Self::Done,
|
ffi::GST_GL_UPLOAD_DONE => Self::Done,
|
||||||
ffi::GST_GL_UPLOAD_ERROR => Self::Error,
|
ffi::GST_GL_UPLOAD_ERROR => Self::Error,
|
||||||
|
@ -1192,6 +1201,7 @@ impl FromGlib<ffi::GstGLWindowError> for GLWindowError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstGLWindowError) -> Self {
|
unsafe fn from_glib(value: ffi::GstGLWindowError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_GL_WINDOW_ERROR_FAILED => Self::Failed,
|
ffi::GST_GL_WINDOW_ERROR_FAILED => Self::Failed,
|
||||||
ffi::GST_GL_WINDOW_ERROR_OLD_LIBS => Self::OldLibs,
|
ffi::GST_GL_WINDOW_ERROR_OLD_LIBS => Self::OldLibs,
|
||||||
|
|
|
@ -28,7 +28,7 @@ impl GLAllocationParams {
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[doc(alias = "gst_gl_allocation_params_init")]
|
//#[doc(alias = "gst_gl_allocation_params_init")]
|
||||||
//pub fn init<P: Fn(&GLAllocationParams, &GLAllocationParams) + Send + Sync + 'static>(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: /*Unimplemented*/Fn(/*Unimplemented*/Option<Basic: Pointer>), context: &impl IsA<GLContext>, alloc_size: usize, alloc_params: Option<&gst::AllocationParams>, wrapped_data: /*Unimplemented*/Option<Basic: Pointer>, gl_handle: /*Unimplemented*/Option<Basic: Pointer>, user_data: /*Unimplemented*/Option<Basic: Pointer>) -> bool {
|
//pub fn init<P: Fn(&GLAllocationParams) + Send + Sync + 'static, Q: Fn() + Send + Sync + 'static>(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: Q, context: &impl IsA<GLContext>, alloc_size: usize, alloc_params: Option<&gst::AllocationParams>, wrapped_data: /*Unimplemented*/Option<Basic: Pointer>, gl_handle: /*Unimplemented*/Option<Basic: Pointer>) -> bool {
|
||||||
// unsafe { TODO: call ffi:gst_gl_allocation_params_init() }
|
// unsafe { TODO: call ffi:gst_gl_allocation_params_init() }
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,7 @@ pub trait GLDisplayExt: 'static {
|
||||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
//#[doc(alias = "gst_gl_display_retrieve_window")]
|
//#[doc(alias = "gst_gl_display_retrieve_window")]
|
||||||
//fn retrieve_window(&self, data: /*Unimplemented*/Option<Basic: Pointer>, compare_func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>, /*Unimplemented*/Option<Basic: Pointer>) -> i32) -> Option<GLWindow>;
|
//fn retrieve_window(&self, data: /*Unimplemented*/Option<Basic: Pointer>, compare_func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>) -> i32) -> Option<GLWindow>;
|
||||||
|
|
||||||
#[doc(alias = "create-context")]
|
#[doc(alias = "create-context")]
|
||||||
fn connect_create_context<
|
fn connect_create_context<
|
||||||
|
@ -195,7 +195,7 @@ impl<O: IsA<GLDisplay>> GLDisplayExt for O {
|
||||||
|
|
||||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
//fn retrieve_window(&self, data: /*Unimplemented*/Option<Basic: Pointer>, compare_func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>, /*Unimplemented*/Option<Basic: Pointer>) -> i32) -> Option<GLWindow> {
|
//fn retrieve_window(&self, data: /*Unimplemented*/Option<Basic: Pointer>, compare_func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>) -> i32) -> Option<GLWindow> {
|
||||||
// unsafe { TODO: call ffi:gst_gl_display_retrieve_window() }
|
// unsafe { TODO: call ffi:gst_gl_display_retrieve_window() }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
|
|
@ -57,9 +57,6 @@ pub trait GLFramebufferExt: 'static {
|
||||||
#[doc(alias = "gst_gl_framebuffer_bind")]
|
#[doc(alias = "gst_gl_framebuffer_bind")]
|
||||||
fn bind(&self);
|
fn bind(&self);
|
||||||
|
|
||||||
//#[doc(alias = "gst_gl_framebuffer_draw_to_texture")]
|
|
||||||
//fn draw_to_texture(&self, mem: &mut GLMemory, func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>) -> bool, user_data: /*Unimplemented*/Option<Basic: Pointer>) -> bool;
|
|
||||||
|
|
||||||
#[doc(alias = "gst_gl_framebuffer_get_effective_dimensions")]
|
#[doc(alias = "gst_gl_framebuffer_get_effective_dimensions")]
|
||||||
#[doc(alias = "get_effective_dimensions")]
|
#[doc(alias = "get_effective_dimensions")]
|
||||||
fn effective_dimensions(&self) -> (u32, u32);
|
fn effective_dimensions(&self) -> (u32, u32);
|
||||||
|
@ -84,10 +81,6 @@ impl<O: IsA<GLFramebuffer>> GLFramebufferExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//fn draw_to_texture(&self, mem: &mut GLMemory, func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>) -> bool, user_data: /*Unimplemented*/Option<Basic: Pointer>) -> bool {
|
|
||||||
// unsafe { TODO: call ffi:gst_gl_framebuffer_draw_to_texture() }
|
|
||||||
//}
|
|
||||||
|
|
||||||
fn effective_dimensions(&self) -> (u32, u32) {
|
fn effective_dimensions(&self) -> (u32, u32) {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut width = mem::MaybeUninit::uninit();
|
let mut width = mem::MaybeUninit::uninit();
|
||||||
|
|
|
@ -68,7 +68,7 @@ impl GLVideoAllocationParams {
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[doc(alias = "gst_gl_video_allocation_params_init_full")]
|
//#[doc(alias = "gst_gl_video_allocation_params_init_full")]
|
||||||
//pub fn init_full<P: Fn(&GLAllocationParams, &GLAllocationParams) + Send + Sync + 'static>(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: /*Unimplemented*/Fn(/*Unimplemented*/Option<Basic: Pointer>), context: &impl IsA<GLContext>, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, wrapped_data: /*Unimplemented*/Option<Basic: Pointer>, gl_handle: /*Unimplemented*/Option<Basic: Pointer>, user_data: /*Unimplemented*/Option<Basic: Pointer>) -> bool {
|
//pub fn init_full<P: Fn(&GLAllocationParams) + Send + Sync + 'static, Q: Fn() + Send + Sync + 'static>(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: Q, context: &impl IsA<GLContext>, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, wrapped_data: /*Unimplemented*/Option<Basic: Pointer>, gl_handle: /*Unimplemented*/Option<Basic: Pointer>) -> bool {
|
||||||
// unsafe { TODO: call ffi:gst_gl_video_allocation_params_init_full() }
|
// unsafe { TODO: call ffi:gst_gl_video_allocation_params_init_full() }
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -60,6 +60,7 @@ impl FromGlib<ffi::GstAudioVisualizerShader> for AudioVisualizerShader {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstAudioVisualizerShader) -> Self {
|
unsafe fn from_glib(value: ffi::GstAudioVisualizerShader) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_AUDIO_VISUALIZER_SHADER_NONE => Self::None,
|
ffi::GST_AUDIO_VISUALIZER_SHADER_NONE => Self::None,
|
||||||
ffi::GST_AUDIO_VISUALIZER_SHADER_FADE => Self::Fade,
|
ffi::GST_AUDIO_VISUALIZER_SHADER_FADE => Self::Fade,
|
||||||
|
@ -164,6 +165,7 @@ impl FromGlib<ffi::GstDiscovererResult> for DiscovererResult {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstDiscovererResult) -> Self {
|
unsafe fn from_glib(value: ffi::GstDiscovererResult) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_DISCOVERER_OK => Self::Ok,
|
ffi::GST_DISCOVERER_OK => Self::Ok,
|
||||||
ffi::GST_DISCOVERER_URI_INVALID => Self::UriInvalid,
|
ffi::GST_DISCOVERER_URI_INVALID => Self::UriInvalid,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -66,6 +66,7 @@ impl FromGlib<ffi::GstPlayColorBalanceType> for PlayColorBalanceType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlayColorBalanceType) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayColorBalanceType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAY_COLOR_BALANCE_HUE => Self::Hue,
|
ffi::GST_PLAY_COLOR_BALANCE_HUE => Self::Hue,
|
||||||
ffi::GST_PLAY_COLOR_BALANCE_BRIGHTNESS => Self::Brightness,
|
ffi::GST_PLAY_COLOR_BALANCE_BRIGHTNESS => Self::Brightness,
|
||||||
|
@ -168,6 +169,7 @@ impl FromGlib<ffi::GstPlayError> for PlayError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlayError) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAY_ERROR_FAILED => Self::Failed,
|
ffi::GST_PLAY_ERROR_FAILED => Self::Failed,
|
||||||
value => Self::__Unknown(value),
|
value => Self::__Unknown(value),
|
||||||
|
@ -451,6 +453,7 @@ impl IntoGlib for PlayMessage {
|
||||||
impl FromGlib<ffi::GstPlayMessage> for PlayMessage {
|
impl FromGlib<ffi::GstPlayMessage> for PlayMessage {
|
||||||
unsafe fn from_glib(value: ffi::GstPlayMessage) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayMessage) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAY_MESSAGE_URI_LOADED => Self::UriLoaded,
|
ffi::GST_PLAY_MESSAGE_URI_LOADED => Self::UriLoaded,
|
||||||
ffi::GST_PLAY_MESSAGE_POSITION_UPDATED => Self::PositionUpdated,
|
ffi::GST_PLAY_MESSAGE_POSITION_UPDATED => Self::PositionUpdated,
|
||||||
|
@ -555,6 +558,7 @@ impl FromGlib<ffi::GstPlaySnapshotFormat> for PlaySnapshotFormat {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlaySnapshotFormat) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlaySnapshotFormat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAY_THUMBNAIL_RAW_NATIVE => Self::RawNative,
|
ffi::GST_PLAY_THUMBNAIL_RAW_NATIVE => Self::RawNative,
|
||||||
ffi::GST_PLAY_THUMBNAIL_RAW_xRGB => Self::RawXrgb,
|
ffi::GST_PLAY_THUMBNAIL_RAW_xRGB => Self::RawXrgb,
|
||||||
|
@ -622,6 +626,7 @@ impl FromGlib<ffi::GstPlayState> for PlayState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlayState) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAY_STATE_STOPPED => Self::Stopped,
|
ffi::GST_PLAY_STATE_STOPPED => Self::Stopped,
|
||||||
ffi::GST_PLAY_STATE_BUFFERING => Self::Buffering,
|
ffi::GST_PLAY_STATE_BUFFERING => Self::Buffering,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -65,6 +65,7 @@ impl FromGlib<ffi::GstPlayerColorBalanceType> for PlayerColorBalanceType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlayerColorBalanceType) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayerColorBalanceType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAYER_COLOR_BALANCE_HUE => Self::Hue,
|
ffi::GST_PLAYER_COLOR_BALANCE_HUE => Self::Hue,
|
||||||
ffi::GST_PLAYER_COLOR_BALANCE_BRIGHTNESS => Self::Brightness,
|
ffi::GST_PLAYER_COLOR_BALANCE_BRIGHTNESS => Self::Brightness,
|
||||||
|
@ -167,6 +168,7 @@ impl FromGlib<ffi::GstPlayerError> for PlayerError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlayerError) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayerError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAYER_ERROR_FAILED => Self::Failed,
|
ffi::GST_PLAYER_ERROR_FAILED => Self::Failed,
|
||||||
value => Self::__Unknown(value),
|
value => Self::__Unknown(value),
|
||||||
|
@ -283,6 +285,7 @@ impl FromGlib<ffi::GstPlayerSnapshotFormat> for PlayerSnapshotFormat {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlayerSnapshotFormat) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayerSnapshotFormat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAYER_THUMBNAIL_RAW_NATIVE => Self::RawNative,
|
ffi::GST_PLAYER_THUMBNAIL_RAW_NATIVE => Self::RawNative,
|
||||||
ffi::GST_PLAYER_THUMBNAIL_RAW_xRGB => Self::RawXrgb,
|
ffi::GST_PLAYER_THUMBNAIL_RAW_xRGB => Self::RawXrgb,
|
||||||
|
@ -350,6 +353,7 @@ impl FromGlib<ffi::GstPlayerState> for PlayerState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPlayerState) -> Self {
|
unsafe fn from_glib(value: ffi::GstPlayerState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLAYER_STATE_STOPPED => Self::Stopped,
|
ffi::GST_PLAYER_STATE_STOPPED => Self::Stopped,
|
||||||
ffi::GST_PLAYER_STATE_BUFFERING => Self::Buffering,
|
ffi::GST_PLAYER_STATE_BUFFERING => Self::Buffering,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -57,6 +57,7 @@ impl FromGlib<ffi::GstRTCPFBType> for RTCPFBType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTCPFBType) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTCPFBType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTCP_FB_TYPE_INVALID => Self::FbTypeInvalid,
|
ffi::GST_RTCP_FB_TYPE_INVALID => Self::FbTypeInvalid,
|
||||||
ffi::GST_RTCP_RTPFB_TYPE_NACK => Self::RtpfbTypeNack,
|
ffi::GST_RTCP_RTPFB_TYPE_NACK => Self::RtpfbTypeNack,
|
||||||
|
@ -212,6 +213,7 @@ impl IntoGlib for RTCPSDESType {
|
||||||
impl FromGlib<ffi::GstRTCPSDESType> for RTCPSDESType {
|
impl FromGlib<ffi::GstRTCPSDESType> for RTCPSDESType {
|
||||||
unsafe fn from_glib(value: ffi::GstRTCPSDESType) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTCPSDESType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTCP_SDES_INVALID => Self::Invalid,
|
ffi::GST_RTCP_SDES_INVALID => Self::Invalid,
|
||||||
ffi::GST_RTCP_SDES_END => Self::End,
|
ffi::GST_RTCP_SDES_END => Self::End,
|
||||||
|
@ -339,6 +341,7 @@ impl FromGlib<ffi::GstRTCPType> for RTCPType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTCPType) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTCPType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTCP_TYPE_INVALID => Self::Invalid,
|
ffi::GST_RTCP_TYPE_INVALID => Self::Invalid,
|
||||||
ffi::GST_RTCP_TYPE_SR => Self::Sr,
|
ffi::GST_RTCP_TYPE_SR => Self::Sr,
|
||||||
|
@ -454,6 +457,7 @@ impl FromGlib<ffi::GstRTCPXRType> for RTCPXRType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTCPXRType) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTCPXRType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTCP_XR_TYPE_INVALID => Self::Invalid,
|
ffi::GST_RTCP_XR_TYPE_INVALID => Self::Invalid,
|
||||||
ffi::GST_RTCP_XR_TYPE_LRLE => Self::Lrle,
|
ffi::GST_RTCP_XR_TYPE_LRLE => Self::Lrle,
|
||||||
|
@ -624,6 +628,7 @@ impl IntoGlib for RTPPayload {
|
||||||
impl FromGlib<ffi::GstRTPPayload> for RTPPayload {
|
impl FromGlib<ffi::GstRTPPayload> for RTPPayload {
|
||||||
unsafe fn from_glib(value: ffi::GstRTPPayload) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTPPayload) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTP_PAYLOAD_PCMU => Self::Pcmu,
|
ffi::GST_RTP_PAYLOAD_PCMU => Self::Pcmu,
|
||||||
ffi::GST_RTP_PAYLOAD_1016 => Self::_1016,
|
ffi::GST_RTP_PAYLOAD_1016 => Self::_1016,
|
||||||
|
@ -741,6 +746,7 @@ impl FromGlib<ffi::GstRTPProfile> for RTPProfile {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTPProfile) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTPProfile) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTP_PROFILE_UNKNOWN => Self::Unknown,
|
ffi::GST_RTP_PROFILE_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_RTP_PROFILE_AVP => Self::Avp,
|
ffi::GST_RTP_PROFILE_AVP => Self::Avp,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -45,6 +45,7 @@ impl FromGlib<ffi::GstRTSPAddressPoolResult> for RTSPAddressPoolResult {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPAddressPoolResult) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPAddressPoolResult) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_ADDRESS_POOL_OK => Self::Ok,
|
ffi::GST_RTSP_ADDRESS_POOL_OK => Self::Ok,
|
||||||
ffi::GST_RTSP_ADDRESS_POOL_EINVAL => Self::Einval,
|
ffi::GST_RTSP_ADDRESS_POOL_EINVAL => Self::Einval,
|
||||||
|
@ -90,6 +91,7 @@ impl FromGlib<ffi::GstRTSPFilterResult> for RTSPFilterResult {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPFilterResult) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPFilterResult) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_FILTER_REMOVE => Self::Remove,
|
ffi::GST_RTSP_FILTER_REMOVE => Self::Remove,
|
||||||
ffi::GST_RTSP_FILTER_KEEP => Self::Keep,
|
ffi::GST_RTSP_FILTER_KEEP => Self::Keep,
|
||||||
|
@ -142,6 +144,7 @@ impl FromGlib<ffi::GstRTSPMediaStatus> for RTSPMediaStatus {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPMediaStatus) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPMediaStatus) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_MEDIA_STATUS_UNPREPARED => Self::Unprepared,
|
ffi::GST_RTSP_MEDIA_STATUS_UNPREPARED => Self::Unprepared,
|
||||||
ffi::GST_RTSP_MEDIA_STATUS_UNPREPARING => Self::Unpreparing,
|
ffi::GST_RTSP_MEDIA_STATUS_UNPREPARING => Self::Unpreparing,
|
||||||
|
@ -188,6 +191,7 @@ impl FromGlib<ffi::GstRTSPPublishClockMode> for RTSPPublishClockMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPPublishClockMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPPublishClockMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_PUBLISH_CLOCK_MODE_NONE => Self::None,
|
ffi::GST_RTSP_PUBLISH_CLOCK_MODE_NONE => Self::None,
|
||||||
ffi::GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK => Self::Clock,
|
ffi::GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK => Self::Clock,
|
||||||
|
@ -276,6 +280,7 @@ impl FromGlib<ffi::GstRTSPSuspendMode> for RTSPSuspendMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPSuspendMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPSuspendMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_SUSPEND_MODE_NONE => Self::None,
|
ffi::GST_RTSP_SUSPEND_MODE_NONE => Self::None,
|
||||||
ffi::GST_RTSP_SUSPEND_MODE_PAUSE => Self::Pause,
|
ffi::GST_RTSP_SUSPEND_MODE_PAUSE => Self::Pause,
|
||||||
|
@ -361,6 +366,7 @@ impl FromGlib<ffi::GstRTSPThreadType> for RTSPThreadType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPThreadType) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPThreadType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_THREAD_TYPE_CLIENT => Self::Client,
|
ffi::GST_RTSP_THREAD_TYPE_CLIENT => Self::Client,
|
||||||
ffi::GST_RTSP_THREAD_TYPE_MEDIA => Self::Media,
|
ffi::GST_RTSP_THREAD_TYPE_MEDIA => Self::Media,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -39,6 +39,7 @@ impl FromGlib<ffi::GstRTSPAuthMethod> for RTSPAuthMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPAuthMethod) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPAuthMethod) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_AUTH_NONE => Self::None,
|
ffi::GST_RTSP_AUTH_NONE => Self::None,
|
||||||
ffi::GST_RTSP_AUTH_BASIC => Self::Basic,
|
ffi::GST_RTSP_AUTH_BASIC => Self::Basic,
|
||||||
|
@ -127,6 +128,7 @@ impl FromGlib<ffi::GstRTSPFamily> for RTSPFamily {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPFamily) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPFamily) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_FAM_NONE => Self::None,
|
ffi::GST_RTSP_FAM_NONE => Self::None,
|
||||||
ffi::GST_RTSP_FAM_INET => Self::Inet,
|
ffi::GST_RTSP_FAM_INET => Self::Inet,
|
||||||
|
@ -474,6 +476,7 @@ impl IntoGlib for RTSPHeaderField {
|
||||||
impl FromGlib<ffi::GstRTSPHeaderField> for RTSPHeaderField {
|
impl FromGlib<ffi::GstRTSPHeaderField> for RTSPHeaderField {
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPHeaderField) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPHeaderField) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_HDR_INVALID => Self::Invalid,
|
ffi::GST_RTSP_HDR_INVALID => Self::Invalid,
|
||||||
ffi::GST_RTSP_HDR_ACCEPT => Self::Accept,
|
ffi::GST_RTSP_HDR_ACCEPT => Self::Accept,
|
||||||
|
@ -658,6 +661,7 @@ impl FromGlib<ffi::GstRTSPMsgType> for RTSPMsgType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPMsgType) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPMsgType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_MESSAGE_INVALID => Self::Invalid,
|
ffi::GST_RTSP_MESSAGE_INVALID => Self::Invalid,
|
||||||
ffi::GST_RTSP_MESSAGE_REQUEST => Self::Request,
|
ffi::GST_RTSP_MESSAGE_REQUEST => Self::Request,
|
||||||
|
@ -755,6 +759,7 @@ impl FromGlib<ffi::GstRTSPRangeUnit> for RTSPRangeUnit {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPRangeUnit) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPRangeUnit) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_RANGE_SMPTE => Self::Smpte,
|
ffi::GST_RTSP_RANGE_SMPTE => Self::Smpte,
|
||||||
ffi::GST_RTSP_RANGE_SMPTE_30_DROP => Self::Smpte30Drop,
|
ffi::GST_RTSP_RANGE_SMPTE_30_DROP => Self::Smpte30Drop,
|
||||||
|
@ -888,6 +893,7 @@ impl IntoGlib for RTSPResult {
|
||||||
impl FromGlib<ffi::GstRTSPResult> for RTSPResult {
|
impl FromGlib<ffi::GstRTSPResult> for RTSPResult {
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPResult) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPResult) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_OK => Self::Ok,
|
ffi::GST_RTSP_OK => Self::Ok,
|
||||||
ffi::GST_RTSP_ERROR => Self::Error,
|
ffi::GST_RTSP_ERROR => Self::Error,
|
||||||
|
@ -1000,6 +1006,7 @@ impl FromGlib<ffi::GstRTSPState> for RTSPState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPState) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_STATE_INVALID => Self::Invalid,
|
ffi::GST_RTSP_STATE_INVALID => Self::Invalid,
|
||||||
ffi::GST_RTSP_STATE_INIT => Self::Init,
|
ffi::GST_RTSP_STATE_INIT => Self::Init,
|
||||||
|
@ -1222,6 +1229,7 @@ impl IntoGlib for RTSPStatusCode {
|
||||||
impl FromGlib<ffi::GstRTSPStatusCode> for RTSPStatusCode {
|
impl FromGlib<ffi::GstRTSPStatusCode> for RTSPStatusCode {
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPStatusCode) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPStatusCode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_STS_INVALID => Self::Invalid,
|
ffi::GST_RTSP_STS_INVALID => Self::Invalid,
|
||||||
ffi::GST_RTSP_STS_CONTINUE => Self::Continue,
|
ffi::GST_RTSP_STS_CONTINUE => Self::Continue,
|
||||||
|
@ -1363,6 +1371,7 @@ impl FromGlib<ffi::GstRTSPTimeType> for RTSPTimeType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRTSPTimeType) -> Self {
|
unsafe fn from_glib(value: ffi::GstRTSPTimeType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RTSP_TIME_SECONDS => Self::Seconds,
|
ffi::GST_RTSP_TIME_SECONDS => Self::Seconds,
|
||||||
ffi::GST_RTSP_TIME_NOW => Self::Now,
|
ffi::GST_RTSP_TIME_NOW => Self::Now,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -81,6 +81,7 @@ impl FromGlib<ffi::GstValidateReportLevel> for ReportLevel {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstValidateReportLevel) -> Self {
|
unsafe fn from_glib(value: ffi::GstValidateReportLevel) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VALIDATE_REPORT_LEVEL_CRITICAL => Self::Critical,
|
ffi::GST_VALIDATE_REPORT_LEVEL_CRITICAL => Self::Critical,
|
||||||
ffi::GST_VALIDATE_REPORT_LEVEL_WARNING => Self::Warning,
|
ffi::GST_VALIDATE_REPORT_LEVEL_WARNING => Self::Warning,
|
||||||
|
@ -188,6 +189,7 @@ impl FromGlib<ffi::GstValidateReportingDetails> for ReportingDetails {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstValidateReportingDetails) -> Self {
|
unsafe fn from_glib(value: ffi::GstValidateReportingDetails) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VALIDATE_SHOW_UNKNOWN => Self::Unknown,
|
ffi::GST_VALIDATE_SHOW_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VALIDATE_SHOW_NONE => Self::None,
|
ffi::GST_VALIDATE_SHOW_NONE => Self::None,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -37,6 +37,7 @@ impl FromGlib<ffi::GstColorBalanceType> for ColorBalanceType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstColorBalanceType) -> Self {
|
unsafe fn from_glib(value: ffi::GstColorBalanceType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_COLOR_BALANCE_HARDWARE => Self::Hardware,
|
ffi::GST_COLOR_BALANCE_HARDWARE => Self::Hardware,
|
||||||
ffi::GST_COLOR_BALANCE_SOFTWARE => Self::Software,
|
ffi::GST_COLOR_BALANCE_SOFTWARE => Self::Software,
|
||||||
|
@ -159,6 +160,7 @@ impl IntoGlib for NavigationCommand {
|
||||||
impl FromGlib<ffi::GstNavigationCommand> for NavigationCommand {
|
impl FromGlib<ffi::GstNavigationCommand> for NavigationCommand {
|
||||||
unsafe fn from_glib(value: ffi::GstNavigationCommand) -> Self {
|
unsafe fn from_glib(value: ffi::GstNavigationCommand) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_NAVIGATION_COMMAND_INVALID => Self::Invalid,
|
ffi::GST_NAVIGATION_COMMAND_INVALID => Self::Invalid,
|
||||||
ffi::GST_NAVIGATION_COMMAND_MENU1 => Self::Menu1,
|
ffi::GST_NAVIGATION_COMMAND_MENU1 => Self::Menu1,
|
||||||
|
@ -305,6 +307,7 @@ impl IntoGlib for NavigationEventType {
|
||||||
impl FromGlib<ffi::GstNavigationEventType> for NavigationEventType {
|
impl FromGlib<ffi::GstNavigationEventType> for NavigationEventType {
|
||||||
unsafe fn from_glib(value: ffi::GstNavigationEventType) -> Self {
|
unsafe fn from_glib(value: ffi::GstNavigationEventType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_NAVIGATION_EVENT_INVALID => Self::Invalid,
|
ffi::GST_NAVIGATION_EVENT_INVALID => Self::Invalid,
|
||||||
ffi::GST_NAVIGATION_EVENT_KEY_PRESS => Self::KeyPress,
|
ffi::GST_NAVIGATION_EVENT_KEY_PRESS => Self::KeyPress,
|
||||||
|
@ -415,6 +418,7 @@ impl FromGlib<ffi::GstNavigationMessageType> for NavigationMessageType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstNavigationMessageType) -> Self {
|
unsafe fn from_glib(value: ffi::GstNavigationMessageType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_NAVIGATION_MESSAGE_INVALID => Self::Invalid,
|
ffi::GST_NAVIGATION_MESSAGE_INVALID => Self::Invalid,
|
||||||
ffi::GST_NAVIGATION_MESSAGE_MOUSE_OVER => Self::MouseOver,
|
ffi::GST_NAVIGATION_MESSAGE_MOUSE_OVER => Self::MouseOver,
|
||||||
|
@ -505,6 +509,7 @@ impl FromGlib<ffi::GstNavigationQueryType> for NavigationQueryType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstNavigationQueryType) -> Self {
|
unsafe fn from_glib(value: ffi::GstNavigationQueryType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_NAVIGATION_QUERY_INVALID => Self::Invalid,
|
ffi::GST_NAVIGATION_QUERY_INVALID => Self::Invalid,
|
||||||
ffi::GST_NAVIGATION_QUERY_COMMANDS => Self::Commands,
|
ffi::GST_NAVIGATION_QUERY_COMMANDS => Self::Commands,
|
||||||
|
@ -599,6 +604,7 @@ impl FromGlib<ffi::GstVideoAFDSpec> for VideoAFDSpec {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoAFDSpec) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoAFDSpec) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_AFD_SPEC_DVB_ETSI => Self::DvbEtsi,
|
ffi::GST_VIDEO_AFD_SPEC_DVB_ETSI => Self::DvbEtsi,
|
||||||
ffi::GST_VIDEO_AFD_SPEC_ATSC_A53 => Self::AtscA53,
|
ffi::GST_VIDEO_AFD_SPEC_ATSC_A53 => Self::AtscA53,
|
||||||
|
@ -727,6 +733,7 @@ impl FromGlib<ffi::GstVideoAFDValue> for VideoAFDValue {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoAFDValue) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoAFDValue) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_AFD_UNAVAILABLE => Self::Unavailable,
|
ffi::GST_VIDEO_AFD_UNAVAILABLE => Self::Unavailable,
|
||||||
ffi::GST_VIDEO_AFD_16_9_TOP_ALIGNED => Self::_169TopAligned,
|
ffi::GST_VIDEO_AFD_16_9_TOP_ALIGNED => Self::_169TopAligned,
|
||||||
|
@ -833,6 +840,7 @@ impl FromGlib<ffi::GstVideoAlphaMode> for VideoAlphaMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoAlphaMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoAlphaMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_ALPHA_MODE_COPY => Self::Copy,
|
ffi::GST_VIDEO_ALPHA_MODE_COPY => Self::Copy,
|
||||||
ffi::GST_VIDEO_ALPHA_MODE_SET => Self::Set,
|
ffi::GST_VIDEO_ALPHA_MODE_SET => Self::Set,
|
||||||
|
@ -943,6 +951,7 @@ impl FromGlib<ffi::GstVideoCaptionType> for VideoCaptionType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoCaptionType) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoCaptionType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_CAPTION_TYPE_UNKNOWN => Self::Unknown,
|
ffi::GST_VIDEO_CAPTION_TYPE_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VIDEO_CAPTION_TYPE_CEA608_RAW => Self::Cea608Raw,
|
ffi::GST_VIDEO_CAPTION_TYPE_CEA608_RAW => Self::Cea608Raw,
|
||||||
|
@ -1046,6 +1055,7 @@ impl FromGlib<ffi::GstVideoChromaMode> for VideoChromaMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoChromaMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoChromaMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_CHROMA_MODE_FULL => Self::Full,
|
ffi::GST_VIDEO_CHROMA_MODE_FULL => Self::Full,
|
||||||
ffi::GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY => Self::UpsampleOnly,
|
ffi::GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY => Self::UpsampleOnly,
|
||||||
|
@ -1165,6 +1175,7 @@ impl FromGlib<ffi::GstVideoColorMatrix> for VideoColorMatrix {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoColorMatrix) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoColorMatrix) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_COLOR_MATRIX_UNKNOWN => Self::Unknown,
|
ffi::GST_VIDEO_COLOR_MATRIX_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VIDEO_COLOR_MATRIX_RGB => Self::Rgb,
|
ffi::GST_VIDEO_COLOR_MATRIX_RGB => Self::Rgb,
|
||||||
|
@ -1334,6 +1345,7 @@ impl IntoGlib for VideoColorPrimaries {
|
||||||
impl FromGlib<ffi::GstVideoColorPrimaries> for VideoColorPrimaries {
|
impl FromGlib<ffi::GstVideoColorPrimaries> for VideoColorPrimaries {
|
||||||
unsafe fn from_glib(value: ffi::GstVideoColorPrimaries) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoColorPrimaries) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_COLOR_PRIMARIES_UNKNOWN => Self::Unknown,
|
ffi::GST_VIDEO_COLOR_PRIMARIES_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VIDEO_COLOR_PRIMARIES_BT709 => Self::Bt709,
|
ffi::GST_VIDEO_COLOR_PRIMARIES_BT709 => Self::Bt709,
|
||||||
|
@ -1442,6 +1454,7 @@ impl FromGlib<ffi::GstVideoDitherMethod> for VideoDitherMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoDitherMethod) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoDitherMethod) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_DITHER_NONE => Self::None,
|
ffi::GST_VIDEO_DITHER_NONE => Self::None,
|
||||||
ffi::GST_VIDEO_DITHER_VERTERR => Self::Verterr,
|
ffi::GST_VIDEO_DITHER_VERTERR => Self::Verterr,
|
||||||
|
@ -1551,6 +1564,7 @@ impl FromGlib<ffi::GstVideoFieldOrder> for VideoFieldOrder {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoFieldOrder) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoFieldOrder) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_FIELD_ORDER_UNKNOWN => Self::Unknown,
|
ffi::GST_VIDEO_FIELD_ORDER_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST => Self::TopFieldFirst,
|
ffi::GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST => Self::TopFieldFirst,
|
||||||
|
@ -2096,6 +2110,7 @@ impl IntoGlib for VideoFormat {
|
||||||
impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
|
impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
|
||||||
unsafe fn from_glib(value: ffi::GstVideoFormat) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoFormat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_FORMAT_UNKNOWN => Self::Unknown,
|
ffi::GST_VIDEO_FORMAT_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VIDEO_FORMAT_ENCODED => Self::Encoded,
|
ffi::GST_VIDEO_FORMAT_ENCODED => Self::Encoded,
|
||||||
|
@ -2323,6 +2338,7 @@ impl FromGlib<ffi::GstVideoGammaMode> for VideoGammaMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoGammaMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoGammaMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_GAMMA_MODE_NONE => Self::None,
|
ffi::GST_VIDEO_GAMMA_MODE_NONE => Self::None,
|
||||||
ffi::GST_VIDEO_GAMMA_MODE_REMAP => Self::Remap,
|
ffi::GST_VIDEO_GAMMA_MODE_REMAP => Self::Remap,
|
||||||
|
@ -2448,6 +2464,7 @@ impl FromGlib<ffi::GstVideoInterlaceMode> for VideoInterlaceMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoInterlaceMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoInterlaceMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_INTERLACE_MODE_PROGRESSIVE => Self::Progressive,
|
ffi::GST_VIDEO_INTERLACE_MODE_PROGRESSIVE => Self::Progressive,
|
||||||
ffi::GST_VIDEO_INTERLACE_MODE_INTERLEAVED => Self::Interleaved,
|
ffi::GST_VIDEO_INTERLACE_MODE_INTERLEAVED => Self::Interleaved,
|
||||||
|
@ -2542,6 +2559,7 @@ impl FromGlib<ffi::GstVideoMatrixMode> for VideoMatrixMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoMatrixMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoMatrixMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_MATRIX_MODE_FULL => Self::Full,
|
ffi::GST_VIDEO_MATRIX_MODE_FULL => Self::Full,
|
||||||
ffi::GST_VIDEO_MATRIX_MODE_INPUT_ONLY => Self::InputOnly,
|
ffi::GST_VIDEO_MATRIX_MODE_INPUT_ONLY => Self::InputOnly,
|
||||||
|
@ -2654,6 +2672,7 @@ impl FromGlib<ffi::GstVideoMultiviewFramePacking> for VideoMultiviewFramePacking
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoMultiviewFramePacking) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoMultiviewFramePacking) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE => Self::None,
|
ffi::GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE => Self::None,
|
||||||
ffi::GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO => Self::Mono,
|
ffi::GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO => Self::Mono,
|
||||||
|
@ -2801,6 +2820,7 @@ impl IntoGlib for VideoMultiviewMode {
|
||||||
impl FromGlib<ffi::GstVideoMultiviewMode> for VideoMultiviewMode {
|
impl FromGlib<ffi::GstVideoMultiviewMode> for VideoMultiviewMode {
|
||||||
unsafe fn from_glib(value: ffi::GstVideoMultiviewMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoMultiviewMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_MULTIVIEW_MODE_NONE => Self::None,
|
ffi::GST_VIDEO_MULTIVIEW_MODE_NONE => Self::None,
|
||||||
ffi::GST_VIDEO_MULTIVIEW_MODE_MONO => Self::Mono,
|
ffi::GST_VIDEO_MULTIVIEW_MODE_MONO => Self::Mono,
|
||||||
|
@ -2920,6 +2940,7 @@ impl FromGlib<ffi::GstVideoOrientationMethod> for VideoOrientationMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoOrientationMethod) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoOrientationMethod) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_ORIENTATION_IDENTITY => Self::Identity,
|
ffi::GST_VIDEO_ORIENTATION_IDENTITY => Self::Identity,
|
||||||
ffi::GST_VIDEO_ORIENTATION_90R => Self::_90r,
|
ffi::GST_VIDEO_ORIENTATION_90R => Self::_90r,
|
||||||
|
@ -3015,6 +3036,7 @@ impl FromGlib<ffi::GstVideoPrimariesMode> for VideoPrimariesMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoPrimariesMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoPrimariesMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_PRIMARIES_MODE_NONE => Self::None,
|
ffi::GST_VIDEO_PRIMARIES_MODE_NONE => Self::None,
|
||||||
ffi::GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY => Self::MergeOnly,
|
ffi::GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY => Self::MergeOnly,
|
||||||
|
@ -3109,6 +3131,7 @@ impl FromGlib<ffi::GstVideoResamplerMethod> for VideoResamplerMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoResamplerMethod) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoResamplerMethod) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_RESAMPLER_METHOD_NEAREST => Self::Nearest,
|
ffi::GST_VIDEO_RESAMPLER_METHOD_NEAREST => Self::Nearest,
|
||||||
ffi::GST_VIDEO_RESAMPLER_METHOD_LINEAR => Self::Linear,
|
ffi::GST_VIDEO_RESAMPLER_METHOD_LINEAR => Self::Linear,
|
||||||
|
@ -3202,6 +3225,7 @@ impl FromGlib<ffi::GstVideoTileMode> for VideoTileMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstVideoTileMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoTileMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_TILE_MODE_UNKNOWN => Self::Unknown,
|
ffi::GST_VIDEO_TILE_MODE_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VIDEO_TILE_MODE_ZFLIPZ_2X2 => Self::Zflipz2x2,
|
ffi::GST_VIDEO_TILE_MODE_ZFLIPZ_2X2 => Self::Zflipz2x2,
|
||||||
|
@ -3392,6 +3416,7 @@ impl IntoGlib for VideoTransferFunction {
|
||||||
impl FromGlib<ffi::GstVideoTransferFunction> for VideoTransferFunction {
|
impl FromGlib<ffi::GstVideoTransferFunction> for VideoTransferFunction {
|
||||||
unsafe fn from_glib(value: ffi::GstVideoTransferFunction) -> Self {
|
unsafe fn from_glib(value: ffi::GstVideoTransferFunction) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_VIDEO_TRANSFER_UNKNOWN => Self::Unknown,
|
ffi::GST_VIDEO_TRANSFER_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_VIDEO_TRANSFER_GAMMA10 => Self::Gamma10,
|
ffi::GST_VIDEO_TRANSFER_GAMMA10 => Self::Gamma10,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -52,6 +52,7 @@ impl FromGlib<ffi::GstWebRTCBundlePolicy> for WebRTCBundlePolicy {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCBundlePolicy) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCBundlePolicy) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_BUNDLE_POLICY_NONE => Self::None,
|
ffi::GST_WEBRTC_BUNDLE_POLICY_NONE => Self::None,
|
||||||
ffi::GST_WEBRTC_BUNDLE_POLICY_BALANCED => Self::Balanced,
|
ffi::GST_WEBRTC_BUNDLE_POLICY_BALANCED => Self::Balanced,
|
||||||
|
@ -154,6 +155,7 @@ impl FromGlib<ffi::GstWebRTCDTLSSetup> for WebRTCDTLSSetup {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCDTLSSetup) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCDTLSSetup) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_DTLS_SETUP_NONE => Self::None,
|
ffi::GST_WEBRTC_DTLS_SETUP_NONE => Self::None,
|
||||||
ffi::GST_WEBRTC_DTLS_SETUP_ACTPASS => Self::Actpass,
|
ffi::GST_WEBRTC_DTLS_SETUP_ACTPASS => Self::Actpass,
|
||||||
|
@ -249,6 +251,7 @@ impl FromGlib<ffi::GstWebRTCDTLSTransportState> for WebRTCDTLSTransportState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCDTLSTransportState) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCDTLSTransportState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW => Self::New,
|
ffi::GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW => Self::New,
|
||||||
ffi::GST_WEBRTC_DTLS_TRANSPORT_STATE_CLOSED => Self::Closed,
|
ffi::GST_WEBRTC_DTLS_TRANSPORT_STATE_CLOSED => Self::Closed,
|
||||||
|
@ -348,6 +351,7 @@ impl FromGlib<ffi::GstWebRTCDataChannelState> for WebRTCDataChannelState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCDataChannelState) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCDataChannelState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_DATA_CHANNEL_STATE_CONNECTING => Self::Connecting,
|
ffi::GST_WEBRTC_DATA_CHANNEL_STATE_CONNECTING => Self::Connecting,
|
||||||
ffi::GST_WEBRTC_DATA_CHANNEL_STATE_OPEN => Self::Open,
|
ffi::GST_WEBRTC_DATA_CHANNEL_STATE_OPEN => Self::Open,
|
||||||
|
@ -485,6 +489,7 @@ impl FromGlib<ffi::GstWebRTCError> for WebRTCError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCError) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_ERROR_DATA_CHANNEL_FAILURE => Self::DataChannelFailure,
|
ffi::GST_WEBRTC_ERROR_DATA_CHANNEL_FAILURE => Self::DataChannelFailure,
|
||||||
ffi::GST_WEBRTC_ERROR_DTLS_FAILURE => Self::DtlsFailure,
|
ffi::GST_WEBRTC_ERROR_DTLS_FAILURE => Self::DtlsFailure,
|
||||||
|
@ -623,6 +628,7 @@ impl FromGlib<ffi::GstWebRTCFECType> for WebRTCFECType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCFECType) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCFECType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_FEC_TYPE_NONE => Self::None,
|
ffi::GST_WEBRTC_FEC_TYPE_NONE => Self::None,
|
||||||
ffi::GST_WEBRTC_FEC_TYPE_ULP_RED => Self::UlpRed,
|
ffi::GST_WEBRTC_FEC_TYPE_ULP_RED => Self::UlpRed,
|
||||||
|
@ -717,6 +723,7 @@ impl FromGlib<ffi::GstWebRTCICEComponent> for WebRTCICEComponent {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCICEComponent) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCICEComponent) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_ICE_COMPONENT_RTP => Self::Rtp,
|
ffi::GST_WEBRTC_ICE_COMPONENT_RTP => Self::Rtp,
|
||||||
ffi::GST_WEBRTC_ICE_COMPONENT_RTCP => Self::Rtcp,
|
ffi::GST_WEBRTC_ICE_COMPONENT_RTCP => Self::Rtcp,
|
||||||
|
@ -816,6 +823,7 @@ impl FromGlib<ffi::GstWebRTCICEConnectionState> for WebRTCICEConnectionState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCICEConnectionState) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCICEConnectionState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_ICE_CONNECTION_STATE_NEW => Self::New,
|
ffi::GST_WEBRTC_ICE_CONNECTION_STATE_NEW => Self::New,
|
||||||
ffi::GST_WEBRTC_ICE_CONNECTION_STATE_CHECKING => Self::Checking,
|
ffi::GST_WEBRTC_ICE_CONNECTION_STATE_CHECKING => Self::Checking,
|
||||||
|
@ -908,6 +916,7 @@ impl FromGlib<ffi::GstWebRTCICEGatheringState> for WebRTCICEGatheringState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCICEGatheringState) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCICEGatheringState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_ICE_GATHERING_STATE_NEW => Self::New,
|
ffi::GST_WEBRTC_ICE_GATHERING_STATE_NEW => Self::New,
|
||||||
ffi::GST_WEBRTC_ICE_GATHERING_STATE_GATHERING => Self::Gathering,
|
ffi::GST_WEBRTC_ICE_GATHERING_STATE_GATHERING => Self::Gathering,
|
||||||
|
@ -993,6 +1002,7 @@ impl FromGlib<ffi::GstWebRTCICERole> for WebRTCICERole {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCICERole) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCICERole) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_ICE_ROLE_CONTROLLED => Self::Controlled,
|
ffi::GST_WEBRTC_ICE_ROLE_CONTROLLED => Self::Controlled,
|
||||||
ffi::GST_WEBRTC_ICE_ROLE_CONTROLLING => Self::Controlling,
|
ffi::GST_WEBRTC_ICE_ROLE_CONTROLLING => Self::Controlling,
|
||||||
|
@ -1083,6 +1093,7 @@ impl FromGlib<ffi::GstWebRTCICETransportPolicy> for WebRTCICETransportPolicy {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCICETransportPolicy) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCICETransportPolicy) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_ICE_TRANSPORT_POLICY_ALL => Self::All,
|
ffi::GST_WEBRTC_ICE_TRANSPORT_POLICY_ALL => Self::All,
|
||||||
ffi::GST_WEBRTC_ICE_TRANSPORT_POLICY_RELAY => Self::Relay,
|
ffi::GST_WEBRTC_ICE_TRANSPORT_POLICY_RELAY => Self::Relay,
|
||||||
|
@ -1186,6 +1197,7 @@ impl FromGlib<ffi::GstWebRTCKind> for WebRTCKind {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCKind) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCKind) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_KIND_UNKNOWN => Self::Unknown,
|
ffi::GST_WEBRTC_KIND_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_WEBRTC_KIND_AUDIO => Self::Audio,
|
ffi::GST_WEBRTC_KIND_AUDIO => Self::Audio,
|
||||||
|
@ -1293,6 +1305,7 @@ impl FromGlib<ffi::GstWebRTCPeerConnectionState> for WebRTCPeerConnectionState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCPeerConnectionState) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCPeerConnectionState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_PEER_CONNECTION_STATE_NEW => Self::New,
|
ffi::GST_WEBRTC_PEER_CONNECTION_STATE_NEW => Self::New,
|
||||||
ffi::GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTING => Self::Connecting,
|
ffi::GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTING => Self::Connecting,
|
||||||
|
@ -1393,6 +1406,7 @@ impl FromGlib<ffi::GstWebRTCPriorityType> for WebRTCPriorityType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCPriorityType) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCPriorityType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_PRIORITY_TYPE_VERY_LOW => Self::VeryLow,
|
ffi::GST_WEBRTC_PRIORITY_TYPE_VERY_LOW => Self::VeryLow,
|
||||||
ffi::GST_WEBRTC_PRIORITY_TYPE_LOW => Self::Low,
|
ffi::GST_WEBRTC_PRIORITY_TYPE_LOW => Self::Low,
|
||||||
|
@ -1498,6 +1512,7 @@ impl FromGlib<ffi::GstWebRTCRTPTransceiverDirection> for WebRTCRTPTransceiverDir
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCRTPTransceiverDirection) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCRTPTransceiverDirection) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_NONE => Self::None,
|
ffi::GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_NONE => Self::None,
|
||||||
ffi::GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_INACTIVE => Self::Inactive,
|
ffi::GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_INACTIVE => Self::Inactive,
|
||||||
|
@ -1597,6 +1612,7 @@ impl FromGlib<ffi::GstWebRTCSCTPTransportState> for WebRTCSCTPTransportState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCSCTPTransportState) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCSCTPTransportState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_SCTP_TRANSPORT_STATE_NEW => Self::New,
|
ffi::GST_WEBRTC_SCTP_TRANSPORT_STATE_NEW => Self::New,
|
||||||
ffi::GST_WEBRTC_SCTP_TRANSPORT_STATE_CONNECTING => Self::Connecting,
|
ffi::GST_WEBRTC_SCTP_TRANSPORT_STATE_CONNECTING => Self::Connecting,
|
||||||
|
@ -1718,6 +1734,7 @@ impl FromGlib<ffi::GstWebRTCSDPType> for WebRTCSDPType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCSDPType) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCSDPType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_SDP_TYPE_OFFER => Self::Offer,
|
ffi::GST_WEBRTC_SDP_TYPE_OFFER => Self::Offer,
|
||||||
ffi::GST_WEBRTC_SDP_TYPE_PRANSWER => Self::Pranswer,
|
ffi::GST_WEBRTC_SDP_TYPE_PRANSWER => Self::Pranswer,
|
||||||
|
@ -1816,6 +1833,7 @@ impl FromGlib<ffi::GstWebRTCSignalingState> for WebRTCSignalingState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCSignalingState) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCSignalingState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_SIGNALING_STATE_STABLE => Self::Stable,
|
ffi::GST_WEBRTC_SIGNALING_STATE_STABLE => Self::Stable,
|
||||||
ffi::GST_WEBRTC_SIGNALING_STATE_CLOSED => Self::Closed,
|
ffi::GST_WEBRTC_SIGNALING_STATE_CLOSED => Self::Closed,
|
||||||
|
@ -1938,6 +1956,7 @@ impl IntoGlib for WebRTCStatsType {
|
||||||
impl FromGlib<ffi::GstWebRTCStatsType> for WebRTCStatsType {
|
impl FromGlib<ffi::GstWebRTCStatsType> for WebRTCStatsType {
|
||||||
unsafe fn from_glib(value: ffi::GstWebRTCStatsType) -> Self {
|
unsafe fn from_glib(value: ffi::GstWebRTCStatsType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_WEBRTC_STATS_CODEC => Self::Codec,
|
ffi::GST_WEBRTC_STATS_CODEC => Self::Codec,
|
||||||
ffi::GST_WEBRTC_STATS_INBOUND_RTP => Self::InboundRtp,
|
ffi::GST_WEBRTC_STATS_INBOUND_RTP => Self::InboundRtp,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -47,6 +47,7 @@ impl FromGlib<ffi::GstBufferingMode> for BufferingMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstBufferingMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstBufferingMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_BUFFERING_STREAM => Self::Stream,
|
ffi::GST_BUFFERING_STREAM => Self::Stream,
|
||||||
ffi::GST_BUFFERING_DOWNLOAD => Self::Download,
|
ffi::GST_BUFFERING_DOWNLOAD => Self::Download,
|
||||||
|
@ -136,6 +137,7 @@ impl FromGlib<ffi::GstBusSyncReply> for BusSyncReply {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstBusSyncReply) -> Self {
|
unsafe fn from_glib(value: ffi::GstBusSyncReply) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_BUS_DROP => Self::Drop,
|
ffi::GST_BUS_DROP => Self::Drop,
|
||||||
ffi::GST_BUS_PASS => Self::Pass,
|
ffi::GST_BUS_PASS => Self::Pass,
|
||||||
|
@ -221,6 +223,7 @@ impl FromGlib<ffi::GstCapsIntersectMode> for CapsIntersectMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstCapsIntersectMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstCapsIntersectMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_CAPS_INTERSECT_ZIG_ZAG => Self::ZigZag,
|
ffi::GST_CAPS_INTERSECT_ZIG_ZAG => Self::ZigZag,
|
||||||
ffi::GST_CAPS_INTERSECT_FIRST => Self::First,
|
ffi::GST_CAPS_INTERSECT_FIRST => Self::First,
|
||||||
|
@ -305,6 +308,7 @@ impl FromGlib<ffi::GstClockEntryType> for ClockEntryType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstClockEntryType) -> Self {
|
unsafe fn from_glib(value: ffi::GstClockEntryType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_CLOCK_ENTRY_SINGLE => Self::Single,
|
ffi::GST_CLOCK_ENTRY_SINGLE => Self::Single,
|
||||||
ffi::GST_CLOCK_ENTRY_PERIODIC => Self::Periodic,
|
ffi::GST_CLOCK_ENTRY_PERIODIC => Self::Periodic,
|
||||||
|
@ -408,6 +412,7 @@ impl FromGlib<ffi::GstClockReturn> for ClockReturn {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstClockReturn) -> Self {
|
unsafe fn from_glib(value: ffi::GstClockReturn) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_CLOCK_OK => Self::Ok,
|
ffi::GST_CLOCK_OK => Self::Ok,
|
||||||
ffi::GST_CLOCK_EARLY => Self::Early,
|
ffi::GST_CLOCK_EARLY => Self::Early,
|
||||||
|
@ -507,6 +512,7 @@ impl FromGlib<ffi::GstClockType> for ClockType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstClockType) -> Self {
|
unsafe fn from_glib(value: ffi::GstClockType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_CLOCK_TYPE_REALTIME => Self::Realtime,
|
ffi::GST_CLOCK_TYPE_REALTIME => Self::Realtime,
|
||||||
ffi::GST_CLOCK_TYPE_MONOTONIC => Self::Monotonic,
|
ffi::GST_CLOCK_TYPE_MONOTONIC => Self::Monotonic,
|
||||||
|
@ -628,6 +634,7 @@ impl IntoGlib for CoreError {
|
||||||
impl FromGlib<ffi::GstCoreError> for CoreError {
|
impl FromGlib<ffi::GstCoreError> for CoreError {
|
||||||
unsafe fn from_glib(value: ffi::GstCoreError) -> Self {
|
unsafe fn from_glib(value: ffi::GstCoreError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_CORE_ERROR_FAILED => Self::Failed,
|
ffi::GST_CORE_ERROR_FAILED => Self::Failed,
|
||||||
ffi::GST_CORE_ERROR_TOO_LAZY => Self::TooLazy,
|
ffi::GST_CORE_ERROR_TOO_LAZY => Self::TooLazy,
|
||||||
|
@ -788,6 +795,7 @@ impl FromGlib<ffi::GstDebugLevel> for DebugLevel {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstDebugLevel) -> Self {
|
unsafe fn from_glib(value: ffi::GstDebugLevel) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_LEVEL_NONE => Self::None,
|
ffi::GST_LEVEL_NONE => Self::None,
|
||||||
ffi::GST_LEVEL_ERROR => Self::Error,
|
ffi::GST_LEVEL_ERROR => Self::Error,
|
||||||
|
@ -1005,6 +1013,7 @@ impl IntoGlib for EventType {
|
||||||
impl FromGlib<ffi::GstEventType> for EventType {
|
impl FromGlib<ffi::GstEventType> for EventType {
|
||||||
unsafe fn from_glib(value: ffi::GstEventType) -> Self {
|
unsafe fn from_glib(value: ffi::GstEventType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_EVENT_UNKNOWN => Self::Unknown,
|
ffi::GST_EVENT_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_EVENT_FLUSH_START => Self::FlushStart,
|
ffi::GST_EVENT_FLUSH_START => Self::FlushStart,
|
||||||
|
@ -1153,6 +1162,7 @@ impl IntoGlib for FlowReturn {
|
||||||
impl FromGlib<ffi::GstFlowReturn> for FlowReturn {
|
impl FromGlib<ffi::GstFlowReturn> for FlowReturn {
|
||||||
unsafe fn from_glib(value: ffi::GstFlowReturn) -> Self {
|
unsafe fn from_glib(value: ffi::GstFlowReturn) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_FLOW_CUSTOM_SUCCESS_2 => Self::CustomSuccess2,
|
ffi::GST_FLOW_CUSTOM_SUCCESS_2 => Self::CustomSuccess2,
|
||||||
ffi::GST_FLOW_CUSTOM_SUCCESS_1 => Self::CustomSuccess1,
|
ffi::GST_FLOW_CUSTOM_SUCCESS_1 => Self::CustomSuccess1,
|
||||||
|
@ -1294,6 +1304,7 @@ impl FromGlib<ffi::GstFormat> for Format {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstFormat) -> Self {
|
unsafe fn from_glib(value: ffi::GstFormat) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_FORMAT_UNDEFINED => Self::Undefined,
|
ffi::GST_FORMAT_UNDEFINED => Self::Undefined,
|
||||||
ffi::GST_FORMAT_DEFAULT => Self::Default,
|
ffi::GST_FORMAT_DEFAULT => Self::Default,
|
||||||
|
@ -1394,6 +1405,7 @@ impl FromGlib<ffi::GstLibraryError> for LibraryError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstLibraryError) -> Self {
|
unsafe fn from_glib(value: ffi::GstLibraryError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_LIBRARY_ERROR_FAILED => Self::Failed,
|
ffi::GST_LIBRARY_ERROR_FAILED => Self::Failed,
|
||||||
ffi::GST_LIBRARY_ERROR_TOO_LAZY => Self::TooLazy,
|
ffi::GST_LIBRARY_ERROR_TOO_LAZY => Self::TooLazy,
|
||||||
|
@ -1510,6 +1522,7 @@ impl FromGlib<ffi::GstPadDirection> for PadDirection {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPadDirection) -> Self {
|
unsafe fn from_glib(value: ffi::GstPadDirection) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PAD_UNKNOWN => Self::Unknown,
|
ffi::GST_PAD_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_PAD_SRC => Self::Src,
|
ffi::GST_PAD_SRC => Self::Src,
|
||||||
|
@ -1611,6 +1624,7 @@ impl FromGlib<ffi::GstPadLinkReturn> for PadLinkReturn {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPadLinkReturn) -> Self {
|
unsafe fn from_glib(value: ffi::GstPadLinkReturn) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PAD_LINK_OK => Self::Ok,
|
ffi::GST_PAD_LINK_OK => Self::Ok,
|
||||||
ffi::GST_PAD_LINK_WRONG_HIERARCHY => Self::WrongHierarchy,
|
ffi::GST_PAD_LINK_WRONG_HIERARCHY => Self::WrongHierarchy,
|
||||||
|
@ -1722,6 +1736,7 @@ impl FromGlib<ffi::GstPadMode> for PadMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPadMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstPadMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PAD_MODE_NONE => Self::None,
|
ffi::GST_PAD_MODE_NONE => Self::None,
|
||||||
ffi::GST_PAD_MODE_PUSH => Self::Push,
|
ffi::GST_PAD_MODE_PUSH => Self::Push,
|
||||||
|
@ -1811,6 +1826,7 @@ impl FromGlib<ffi::GstPadPresence> for PadPresence {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPadPresence) -> Self {
|
unsafe fn from_glib(value: ffi::GstPadPresence) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PAD_ALWAYS => Self::Always,
|
ffi::GST_PAD_ALWAYS => Self::Always,
|
||||||
ffi::GST_PAD_SOMETIMES => Self::Sometimes,
|
ffi::GST_PAD_SOMETIMES => Self::Sometimes,
|
||||||
|
@ -1905,6 +1921,7 @@ impl FromGlib<ffi::GstPadProbeReturn> for PadProbeReturn {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPadProbeReturn) -> Self {
|
unsafe fn from_glib(value: ffi::GstPadProbeReturn) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PAD_PROBE_DROP => Self::Drop,
|
ffi::GST_PAD_PROBE_DROP => Self::Drop,
|
||||||
ffi::GST_PAD_PROBE_OK => Self::Ok,
|
ffi::GST_PAD_PROBE_OK => Self::Ok,
|
||||||
|
@ -2010,6 +2027,7 @@ impl FromGlib<ffi::GstParseError> for ParseError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstParseError) -> Self {
|
unsafe fn from_glib(value: ffi::GstParseError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PARSE_ERROR_SYNTAX => Self::Syntax,
|
ffi::GST_PARSE_ERROR_SYNTAX => Self::Syntax,
|
||||||
ffi::GST_PARSE_ERROR_NO_SUCH_ELEMENT => Self::NoSuchElement,
|
ffi::GST_PARSE_ERROR_NO_SUCH_ELEMENT => Self::NoSuchElement,
|
||||||
|
@ -2126,6 +2144,7 @@ impl FromGlib<ffi::GstPluginError> for PluginError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPluginError) -> Self {
|
unsafe fn from_glib(value: ffi::GstPluginError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PLUGIN_ERROR_MODULE => Self::Module,
|
ffi::GST_PLUGIN_ERROR_MODULE => Self::Module,
|
||||||
ffi::GST_PLUGIN_ERROR_DEPENDENCIES => Self::Dependencies,
|
ffi::GST_PLUGIN_ERROR_DEPENDENCIES => Self::Dependencies,
|
||||||
|
@ -2243,6 +2262,7 @@ impl FromGlib<ffi::GstProgressType> for ProgressType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstProgressType) -> Self {
|
unsafe fn from_glib(value: ffi::GstProgressType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PROGRESS_TYPE_START => Self::Start,
|
ffi::GST_PROGRESS_TYPE_START => Self::Start,
|
||||||
ffi::GST_PROGRESS_TYPE_CONTINUE => Self::Continue,
|
ffi::GST_PROGRESS_TYPE_CONTINUE => Self::Continue,
|
||||||
|
@ -2336,6 +2356,7 @@ impl FromGlib<ffi::GstPromiseResult> for PromiseResult {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstPromiseResult) -> Self {
|
unsafe fn from_glib(value: ffi::GstPromiseResult) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_PROMISE_RESULT_PENDING => Self::Pending,
|
ffi::GST_PROMISE_RESULT_PENDING => Self::Pending,
|
||||||
ffi::GST_PROMISE_RESULT_INTERRUPTED => Self::Interrupted,
|
ffi::GST_PROMISE_RESULT_INTERRUPTED => Self::Interrupted,
|
||||||
|
@ -2425,6 +2446,7 @@ impl FromGlib<ffi::GstQOSType> for QOSType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstQOSType) -> Self {
|
unsafe fn from_glib(value: ffi::GstQOSType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_QOS_TYPE_OVERFLOW => Self::Overflow,
|
ffi::GST_QOS_TYPE_OVERFLOW => Self::Overflow,
|
||||||
ffi::GST_QOS_TYPE_UNDERFLOW => Self::Underflow,
|
ffi::GST_QOS_TYPE_UNDERFLOW => Self::Underflow,
|
||||||
|
@ -2517,6 +2539,7 @@ impl FromGlib<ffi::GstRank> for Rank {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstRank) -> Self {
|
unsafe fn from_glib(value: ffi::GstRank) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RANK_NONE => Self::None,
|
ffi::GST_RANK_NONE => Self::None,
|
||||||
ffi::GST_RANK_MARGINAL => Self::Marginal,
|
ffi::GST_RANK_MARGINAL => Self::Marginal,
|
||||||
|
@ -2640,6 +2663,7 @@ impl IntoGlib for ResourceError {
|
||||||
impl FromGlib<ffi::GstResourceError> for ResourceError {
|
impl FromGlib<ffi::GstResourceError> for ResourceError {
|
||||||
unsafe fn from_glib(value: ffi::GstResourceError) -> Self {
|
unsafe fn from_glib(value: ffi::GstResourceError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_RESOURCE_ERROR_FAILED => Self::Failed,
|
ffi::GST_RESOURCE_ERROR_FAILED => Self::Failed,
|
||||||
ffi::GST_RESOURCE_ERROR_TOO_LAZY => Self::TooLazy,
|
ffi::GST_RESOURCE_ERROR_TOO_LAZY => Self::TooLazy,
|
||||||
|
@ -2764,6 +2788,7 @@ impl FromGlib<ffi::GstSeekType> for SeekType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstSeekType) -> Self {
|
unsafe fn from_glib(value: ffi::GstSeekType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_SEEK_TYPE_NONE => Self::None,
|
ffi::GST_SEEK_TYPE_NONE => Self::None,
|
||||||
ffi::GST_SEEK_TYPE_SET => Self::Set,
|
ffi::GST_SEEK_TYPE_SET => Self::Set,
|
||||||
|
@ -2859,6 +2884,7 @@ impl FromGlib<ffi::GstState> for State {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstState) -> Self {
|
unsafe fn from_glib(value: ffi::GstState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_STATE_VOID_PENDING => Self::VoidPending,
|
ffi::GST_STATE_VOID_PENDING => Self::VoidPending,
|
||||||
ffi::GST_STATE_NULL => Self::Null,
|
ffi::GST_STATE_NULL => Self::Null,
|
||||||
|
@ -2989,6 +3015,7 @@ impl FromGlib<ffi::GstStateChange> for StateChange {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstStateChange) -> Self {
|
unsafe fn from_glib(value: ffi::GstStateChange) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_STATE_CHANGE_NULL_TO_READY => Self::NullToReady,
|
ffi::GST_STATE_CHANGE_NULL_TO_READY => Self::NullToReady,
|
||||||
ffi::GST_STATE_CHANGE_READY_TO_PAUSED => Self::ReadyToPaused,
|
ffi::GST_STATE_CHANGE_READY_TO_PAUSED => Self::ReadyToPaused,
|
||||||
|
@ -3088,6 +3115,7 @@ impl FromGlib<ffi::GstStateChangeReturn> for StateChangeReturn {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstStateChangeReturn) -> Self {
|
unsafe fn from_glib(value: ffi::GstStateChangeReturn) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_STATE_CHANGE_FAILURE => Self::Failure,
|
ffi::GST_STATE_CHANGE_FAILURE => Self::Failure,
|
||||||
ffi::GST_STATE_CHANGE_SUCCESS => Self::Success,
|
ffi::GST_STATE_CHANGE_SUCCESS => Self::Success,
|
||||||
|
@ -3205,6 +3233,7 @@ impl IntoGlib for StreamError {
|
||||||
impl FromGlib<ffi::GstStreamError> for StreamError {
|
impl FromGlib<ffi::GstStreamError> for StreamError {
|
||||||
unsafe fn from_glib(value: ffi::GstStreamError) -> Self {
|
unsafe fn from_glib(value: ffi::GstStreamError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_STREAM_ERROR_FAILED => Self::Failed,
|
ffi::GST_STREAM_ERROR_FAILED => Self::Failed,
|
||||||
ffi::GST_STREAM_ERROR_TOO_LAZY => Self::TooLazy,
|
ffi::GST_STREAM_ERROR_TOO_LAZY => Self::TooLazy,
|
||||||
|
@ -3339,6 +3368,7 @@ impl FromGlib<ffi::GstStreamStatusType> for StreamStatusType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstStreamStatusType) -> Self {
|
unsafe fn from_glib(value: ffi::GstStreamStatusType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_STREAM_STATUS_TYPE_CREATE => Self::Create,
|
ffi::GST_STREAM_STATUS_TYPE_CREATE => Self::Create,
|
||||||
ffi::GST_STREAM_STATUS_TYPE_ENTER => Self::Enter,
|
ffi::GST_STREAM_STATUS_TYPE_ENTER => Self::Enter,
|
||||||
|
@ -3428,6 +3458,7 @@ impl FromGlib<ffi::GstStructureChangeType> for StructureChangeType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstStructureChangeType) -> Self {
|
unsafe fn from_glib(value: ffi::GstStructureChangeType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_STRUCTURE_CHANGE_TYPE_PAD_LINK => Self::Link,
|
ffi::GST_STRUCTURE_CHANGE_TYPE_PAD_LINK => Self::Link,
|
||||||
ffi::GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK => Self::Unlink,
|
ffi::GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK => Self::Unlink,
|
||||||
|
@ -3518,6 +3549,7 @@ impl FromGlib<ffi::GstTagFlag> for TagFlag {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTagFlag) -> Self {
|
unsafe fn from_glib(value: ffi::GstTagFlag) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TAG_FLAG_UNDEFINED => Self::Undefined,
|
ffi::GST_TAG_FLAG_UNDEFINED => Self::Undefined,
|
||||||
ffi::GST_TAG_FLAG_META => Self::Meta,
|
ffi::GST_TAG_FLAG_META => Self::Meta,
|
||||||
|
@ -3619,6 +3651,7 @@ impl FromGlib<ffi::GstTagMergeMode> for TagMergeMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTagMergeMode) -> Self {
|
unsafe fn from_glib(value: ffi::GstTagMergeMode) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TAG_MERGE_UNDEFINED => Self::Undefined,
|
ffi::GST_TAG_MERGE_UNDEFINED => Self::Undefined,
|
||||||
ffi::GST_TAG_MERGE_REPLACE_ALL => Self::ReplaceAll,
|
ffi::GST_TAG_MERGE_REPLACE_ALL => Self::ReplaceAll,
|
||||||
|
@ -3709,6 +3742,7 @@ impl FromGlib<ffi::GstTagScope> for TagScope {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTagScope) -> Self {
|
unsafe fn from_glib(value: ffi::GstTagScope) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TAG_SCOPE_STREAM => Self::Stream,
|
ffi::GST_TAG_SCOPE_STREAM => Self::Stream,
|
||||||
ffi::GST_TAG_SCOPE_GLOBAL => Self::Global,
|
ffi::GST_TAG_SCOPE_GLOBAL => Self::Global,
|
||||||
|
@ -3796,6 +3830,7 @@ impl FromGlib<ffi::GstTaskState> for TaskState {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTaskState) -> Self {
|
unsafe fn from_glib(value: ffi::GstTaskState) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TASK_STARTED => Self::Started,
|
ffi::GST_TASK_STARTED => Self::Started,
|
||||||
ffi::GST_TASK_STOPPED => Self::Stopped,
|
ffi::GST_TASK_STOPPED => Self::Stopped,
|
||||||
|
@ -3909,6 +3944,7 @@ impl FromGlib<ffi::GstTocEntryType> for TocEntryType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTocEntryType) -> Self {
|
unsafe fn from_glib(value: ffi::GstTocEntryType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TOC_ENTRY_TYPE_ANGLE => Self::Angle,
|
ffi::GST_TOC_ENTRY_TYPE_ANGLE => Self::Angle,
|
||||||
ffi::GST_TOC_ENTRY_TYPE_VERSION => Self::Version,
|
ffi::GST_TOC_ENTRY_TYPE_VERSION => Self::Version,
|
||||||
|
@ -4005,6 +4041,7 @@ impl FromGlib<ffi::GstTocLoopType> for TocLoopType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTocLoopType) -> Self {
|
unsafe fn from_glib(value: ffi::GstTocLoopType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TOC_LOOP_NONE => Self::None,
|
ffi::GST_TOC_LOOP_NONE => Self::None,
|
||||||
ffi::GST_TOC_LOOP_FORWARD => Self::Forward,
|
ffi::GST_TOC_LOOP_FORWARD => Self::Forward,
|
||||||
|
@ -4092,6 +4129,7 @@ impl FromGlib<ffi::GstTocScope> for TocScope {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTocScope) -> Self {
|
unsafe fn from_glib(value: ffi::GstTocScope) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TOC_SCOPE_GLOBAL => Self::Global,
|
ffi::GST_TOC_SCOPE_GLOBAL => Self::Global,
|
||||||
ffi::GST_TOC_SCOPE_CURRENT => Self::Current,
|
ffi::GST_TOC_SCOPE_CURRENT => Self::Current,
|
||||||
|
@ -4188,6 +4226,7 @@ impl FromGlib<ffi::GstTypeFindProbability> for TypeFindProbability {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstTypeFindProbability) -> Self {
|
unsafe fn from_glib(value: ffi::GstTypeFindProbability) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_TYPE_FIND_NONE => Self::None,
|
ffi::GST_TYPE_FIND_NONE => Self::None,
|
||||||
ffi::GST_TYPE_FIND_MINIMUM => Self::Minimum,
|
ffi::GST_TYPE_FIND_MINIMUM => Self::Minimum,
|
||||||
|
@ -4282,6 +4321,7 @@ impl FromGlib<ffi::GstURIError> for URIError {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstURIError) -> Self {
|
unsafe fn from_glib(value: ffi::GstURIError) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_URI_ERROR_UNSUPPORTED_PROTOCOL => Self::UnsupportedProtocol,
|
ffi::GST_URI_ERROR_UNSUPPORTED_PROTOCOL => Self::UnsupportedProtocol,
|
||||||
ffi::GST_URI_ERROR_BAD_URI => Self::BadUri,
|
ffi::GST_URI_ERROR_BAD_URI => Self::BadUri,
|
||||||
|
@ -4395,6 +4435,7 @@ impl FromGlib<ffi::GstURIType> for URIType {
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn from_glib(value: ffi::GstURIType) -> Self {
|
unsafe fn from_glib(value: ffi::GstURIType) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
match value {
|
match value {
|
||||||
ffi::GST_URI_UNKNOWN => Self::Unknown,
|
ffi::GST_URI_UNKNOWN => Self::Unknown,
|
||||||
ffi::GST_URI_SINK => Self::Sink,
|
ffi::GST_URI_SINK => Self::Sink,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6f6f8350ca2a)
|
Generated by gir (https://github.com/gtk-rs/gir @ a83de1b48b67)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
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)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 888576de2734)
|
||||||
|
|
Loading…
Reference in a new issue