forked from mirrors/gstreamer-rs
Regenerate with latest gir
This commit is contained in:
parent
7e4627baf8
commit
88c4f70195
151 changed files with 2462 additions and 2802 deletions
|
@ -24,9 +24,7 @@ glib::wrapper! {
|
|||
impl AppSrc {
|
||||
#[doc(alias = "gst_app_src_end_of_stream")]
|
||||
pub fn end_of_stream(&self) -> Result<gst::FlowSuccess, gst::FlowError> {
|
||||
unsafe {
|
||||
gst::FlowSuccess::try_from_glib(ffi::gst_app_src_end_of_stream(self.to_glib_none().0))
|
||||
}
|
||||
unsafe { try_from_glib(ffi::gst_app_src_end_of_stream(self.to_glib_none().0)) }
|
||||
}
|
||||
|
||||
#[doc(alias = "gst_app_src_get_caps")]
|
||||
|
@ -76,7 +74,7 @@ impl AppSrc {
|
|||
#[doc(alias = "gst_app_src_push_sample")]
|
||||
pub fn push_sample(&self, sample: &gst::Sample) -> Result<gst::FlowSuccess, gst::FlowError> {
|
||||
unsafe {
|
||||
gst::FlowSuccess::try_from_glib(ffi::gst_app_src_push_sample(
|
||||
try_from_glib(ffi::gst_app_src_push_sample(
|
||||
self.to_glib_none().0,
|
||||
sample.to_glib_none().0,
|
||||
))
|
||||
|
|
|
@ -42,9 +42,9 @@ impl FromGlib<ffi::GstAppStreamType> for AppStreamType {
|
|||
unsafe fn from_glib(value: ffi::GstAppStreamType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Stream,
|
||||
1 => Self::Seekable,
|
||||
2 => Self::RandomAccess,
|
||||
ffi::GST_APP_STREAM_TYPE_STREAM => Self::Stream,
|
||||
ffi::GST_APP_STREAM_TYPE_SEEKABLE => Self::Seekable,
|
||||
ffi::GST_APP_STREAM_TYPE_RANDOM_ACCESS => Self::RandomAccess,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -43,7 +43,7 @@ pub struct GstAppSinkCallbacks {
|
|||
|
||||
impl ::std::fmt::Debug for GstAppSinkCallbacks {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAppSinkCallbacks @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAppSinkCallbacks @ {:p}", self))
|
||||
.field("eos", &self.eos)
|
||||
.field("new_preroll", &self.new_preroll)
|
||||
.field("new_sample", &self.new_sample)
|
||||
|
@ -69,7 +69,7 @@ pub struct GstAppSinkClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAppSinkClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAppSinkClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAppSinkClass @ {:p}", self))
|
||||
.field("basesink_class", &self.basesink_class)
|
||||
.field("eos", &self.eos)
|
||||
.field("new_preroll", &self.new_preroll)
|
||||
|
@ -98,7 +98,7 @@ pub struct GstAppSrcCallbacks {
|
|||
|
||||
impl ::std::fmt::Debug for GstAppSrcCallbacks {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAppSrcCallbacks @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAppSrcCallbacks @ {:p}", self))
|
||||
.field("need_data", &self.need_data)
|
||||
.field("enough_data", &self.enough_data)
|
||||
.field("seek_data", &self.seek_data)
|
||||
|
@ -125,7 +125,7 @@ pub struct GstAppSrcClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAppSrcClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAppSrcClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAppSrcClass @ {:p}", self))
|
||||
.field("basesrc_class", &self.basesrc_class)
|
||||
.field("need_data", &self.need_data)
|
||||
.field("enough_data", &self.enough_data)
|
||||
|
@ -154,7 +154,7 @@ pub struct GstAppSink {
|
|||
|
||||
impl ::std::fmt::Debug for GstAppSink {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAppSink @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAppSink @ {:p}", self))
|
||||
.field("basesink", &self.basesink)
|
||||
.finish()
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ pub struct GstAppSrc {
|
|||
|
||||
impl ::std::fmt::Debug for GstAppSrc {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAppSrc @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAppSrc @ {:p}", self))
|
||||
.field("basesrc", &self.basesrc)
|
||||
.finish()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -127,37 +127,37 @@ impl FromGlib<ffi::GstAudioChannelPosition> for AudioChannelPosition {
|
|||
unsafe fn from_glib(value: ffi::GstAudioChannelPosition) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
-3 => Self::None,
|
||||
-2 => Self::Mono,
|
||||
-1 => Self::Invalid,
|
||||
0 => Self::FrontLeft,
|
||||
1 => Self::FrontRight,
|
||||
2 => Self::FrontCenter,
|
||||
3 => Self::Lfe1,
|
||||
4 => Self::RearLeft,
|
||||
5 => Self::RearRight,
|
||||
6 => Self::FrontLeftOfCenter,
|
||||
7 => Self::FrontRightOfCenter,
|
||||
8 => Self::RearCenter,
|
||||
9 => Self::Lfe2,
|
||||
10 => Self::SideLeft,
|
||||
11 => Self::SideRight,
|
||||
12 => Self::TopFrontLeft,
|
||||
13 => Self::TopFrontRight,
|
||||
14 => Self::TopFrontCenter,
|
||||
15 => Self::TopCenter,
|
||||
16 => Self::TopRearLeft,
|
||||
17 => Self::TopRearRight,
|
||||
18 => Self::TopSideLeft,
|
||||
19 => Self::TopSideRight,
|
||||
20 => Self::TopRearCenter,
|
||||
21 => Self::BottomFrontCenter,
|
||||
22 => Self::BottomFrontLeft,
|
||||
23 => Self::BottomFrontRight,
|
||||
24 => Self::WideLeft,
|
||||
25 => Self::WideRight,
|
||||
26 => Self::SurroundLeft,
|
||||
27 => Self::SurroundRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_NONE => Self::None,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_MONO => Self::Mono,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_INVALID => Self::Invalid,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT => Self::FrontLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT => Self::FrontRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER => Self::FrontCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_LFE1 => Self::Lfe1,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_REAR_LEFT => Self::RearLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT => Self::RearRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER => Self::FrontLeftOfCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER => Self::FrontRightOfCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_REAR_CENTER => Self::RearCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_LFE2 => Self::Lfe2,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT => Self::SideLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT => Self::SideRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT => Self::TopFrontLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT => Self::TopFrontRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER => Self::TopFrontCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_CENTER => Self::TopCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT => Self::TopRearLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT => Self::TopRearRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT => Self::TopSideLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT => Self::TopSideRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER => Self::TopRearCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER => Self::BottomFrontCenter,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT => Self::BottomFrontLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT => Self::BottomFrontRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT => Self::WideLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT => Self::WideRight,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT => Self::SurroundLeft,
|
||||
ffi::GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT => Self::SurroundRight,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -232,10 +232,10 @@ impl FromGlib<ffi::GstAudioDitherMethod> for AudioDitherMethod {
|
|||
unsafe fn from_glib(value: ffi::GstAudioDitherMethod) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::None,
|
||||
1 => Self::Rpdf,
|
||||
2 => Self::Tpdf,
|
||||
3 => Self::TpdfHf,
|
||||
ffi::GST_AUDIO_DITHER_NONE => Self::None,
|
||||
ffi::GST_AUDIO_DITHER_RPDF => Self::Rpdf,
|
||||
ffi::GST_AUDIO_DITHER_TPDF => Self::Tpdf,
|
||||
ffi::GST_AUDIO_DITHER_TPDF_HF => Self::TpdfHf,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -409,38 +409,38 @@ impl FromGlib<ffi::GstAudioFormat> for AudioFormat {
|
|||
unsafe fn from_glib(value: ffi::GstAudioFormat) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Unknown,
|
||||
1 => Self::Encoded,
|
||||
2 => Self::S8,
|
||||
3 => Self::U8,
|
||||
4 => Self::S16le,
|
||||
5 => Self::S16be,
|
||||
6 => Self::U16le,
|
||||
7 => Self::U16be,
|
||||
8 => Self::S2432le,
|
||||
9 => Self::S2432be,
|
||||
10 => Self::U2432le,
|
||||
11 => Self::U2432be,
|
||||
12 => Self::S32le,
|
||||
13 => Self::S32be,
|
||||
14 => Self::U32le,
|
||||
15 => Self::U32be,
|
||||
16 => Self::S24le,
|
||||
17 => Self::S24be,
|
||||
18 => Self::U24le,
|
||||
19 => Self::U24be,
|
||||
20 => Self::S20le,
|
||||
21 => Self::S20be,
|
||||
22 => Self::U20le,
|
||||
23 => Self::U20be,
|
||||
24 => Self::S18le,
|
||||
25 => Self::S18be,
|
||||
26 => Self::U18le,
|
||||
27 => Self::U18be,
|
||||
28 => Self::F32le,
|
||||
29 => Self::F32be,
|
||||
30 => Self::F64le,
|
||||
31 => Self::F64be,
|
||||
ffi::GST_AUDIO_FORMAT_UNKNOWN => Self::Unknown,
|
||||
ffi::GST_AUDIO_FORMAT_ENCODED => Self::Encoded,
|
||||
ffi::GST_AUDIO_FORMAT_S8 => Self::S8,
|
||||
ffi::GST_AUDIO_FORMAT_U8 => Self::U8,
|
||||
ffi::GST_AUDIO_FORMAT_S16LE => Self::S16le,
|
||||
ffi::GST_AUDIO_FORMAT_S16BE => Self::S16be,
|
||||
ffi::GST_AUDIO_FORMAT_U16LE => Self::U16le,
|
||||
ffi::GST_AUDIO_FORMAT_U16BE => Self::U16be,
|
||||
ffi::GST_AUDIO_FORMAT_S24_32LE => Self::S2432le,
|
||||
ffi::GST_AUDIO_FORMAT_S24_32BE => Self::S2432be,
|
||||
ffi::GST_AUDIO_FORMAT_U24_32LE => Self::U2432le,
|
||||
ffi::GST_AUDIO_FORMAT_U24_32BE => Self::U2432be,
|
||||
ffi::GST_AUDIO_FORMAT_S32LE => Self::S32le,
|
||||
ffi::GST_AUDIO_FORMAT_S32BE => Self::S32be,
|
||||
ffi::GST_AUDIO_FORMAT_U32LE => Self::U32le,
|
||||
ffi::GST_AUDIO_FORMAT_U32BE => Self::U32be,
|
||||
ffi::GST_AUDIO_FORMAT_S24LE => Self::S24le,
|
||||
ffi::GST_AUDIO_FORMAT_S24BE => Self::S24be,
|
||||
ffi::GST_AUDIO_FORMAT_U24LE => Self::U24le,
|
||||
ffi::GST_AUDIO_FORMAT_U24BE => Self::U24be,
|
||||
ffi::GST_AUDIO_FORMAT_S20LE => Self::S20le,
|
||||
ffi::GST_AUDIO_FORMAT_S20BE => Self::S20be,
|
||||
ffi::GST_AUDIO_FORMAT_U20LE => Self::U20le,
|
||||
ffi::GST_AUDIO_FORMAT_U20BE => Self::U20be,
|
||||
ffi::GST_AUDIO_FORMAT_S18LE => Self::S18le,
|
||||
ffi::GST_AUDIO_FORMAT_S18BE => Self::S18be,
|
||||
ffi::GST_AUDIO_FORMAT_U18LE => Self::U18le,
|
||||
ffi::GST_AUDIO_FORMAT_U18BE => Self::U18be,
|
||||
ffi::GST_AUDIO_FORMAT_F32LE => Self::F32le,
|
||||
ffi::GST_AUDIO_FORMAT_F32BE => Self::F32be,
|
||||
ffi::GST_AUDIO_FORMAT_F64LE => Self::F64le,
|
||||
ffi::GST_AUDIO_FORMAT_F64BE => Self::F64be,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -509,8 +509,8 @@ impl FromGlib<ffi::GstAudioLayout> for AudioLayout {
|
|||
unsafe fn from_glib(value: ffi::GstAudioLayout) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Interleaved,
|
||||
1 => Self::NonInterleaved,
|
||||
ffi::GST_AUDIO_LAYOUT_INTERLEAVED => Self::Interleaved,
|
||||
ffi::GST_AUDIO_LAYOUT_NON_INTERLEAVED => Self::NonInterleaved,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -588,11 +588,11 @@ impl FromGlib<ffi::GstAudioNoiseShapingMethod> for AudioNoiseShapingMethod {
|
|||
unsafe fn from_glib(value: ffi::GstAudioNoiseShapingMethod) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::None,
|
||||
1 => Self::ErrorFeedback,
|
||||
2 => Self::Simple,
|
||||
3 => Self::Medium,
|
||||
4 => Self::High,
|
||||
ffi::GST_AUDIO_NOISE_SHAPING_NONE => Self::None,
|
||||
ffi::GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK => Self::ErrorFeedback,
|
||||
ffi::GST_AUDIO_NOISE_SHAPING_SIMPLE => Self::Simple,
|
||||
ffi::GST_AUDIO_NOISE_SHAPING_MEDIUM => Self::Medium,
|
||||
ffi::GST_AUDIO_NOISE_SHAPING_HIGH => Self::High,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -676,11 +676,11 @@ impl FromGlib<ffi::GstAudioResamplerMethod> for AudioResamplerMethod {
|
|||
unsafe fn from_glib(value: ffi::GstAudioResamplerMethod) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Nearest,
|
||||
1 => Self::Linear,
|
||||
2 => Self::Cubic,
|
||||
3 => Self::BlackmanNuttall,
|
||||
4 => Self::Kaiser,
|
||||
ffi::GST_AUDIO_RESAMPLER_METHOD_NEAREST => Self::Nearest,
|
||||
ffi::GST_AUDIO_RESAMPLER_METHOD_LINEAR => Self::Linear,
|
||||
ffi::GST_AUDIO_RESAMPLER_METHOD_CUBIC => Self::Cubic,
|
||||
ffi::GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL => Self::BlackmanNuttall,
|
||||
ffi::GST_AUDIO_RESAMPLER_METHOD_KAISER => Self::Kaiser,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -805,24 +805,24 @@ impl FromGlib<ffi::GstAudioRingBufferFormatType> for AudioRingBufferFormatType {
|
|||
unsafe fn from_glib(value: ffi::GstAudioRingBufferFormatType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Raw,
|
||||
1 => Self::MuLaw,
|
||||
2 => Self::ALaw,
|
||||
3 => Self::ImaAdpcm,
|
||||
4 => Self::Mpeg,
|
||||
5 => Self::Gsm,
|
||||
6 => Self::Iec958,
|
||||
7 => Self::Ac3,
|
||||
8 => Self::Eac3,
|
||||
9 => Self::Dts,
|
||||
10 => Self::Mpeg2Aac,
|
||||
11 => Self::Mpeg4Aac,
|
||||
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_A_LAW => Self::ALaw,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM => Self::ImaAdpcm,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG => Self::Mpeg,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM => Self::Gsm,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958 => Self::Iec958,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3 => Self::Ac3,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3 => Self::Eac3,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS => Self::Dts,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC => Self::Mpeg2Aac,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC => Self::Mpeg4Aac,
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
12 => Self::Mpeg2AacRaw,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW => Self::Mpeg2AacRaw,
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
13 => Self::Mpeg4AacRaw,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW => Self::Mpeg4AacRaw,
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
14 => Self::Flac,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC => Self::Flac,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -894,9 +894,9 @@ impl FromGlib<ffi::GstStreamVolumeFormat> for StreamVolumeFormat {
|
|||
unsafe fn from_glib(value: ffi::GstStreamVolumeFormat) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Linear,
|
||||
1 => Self::Cubic,
|
||||
2 => Self::Db,
|
||||
ffi::GST_STREAM_VOLUME_FORMAT_LINEAR => Self::Linear,
|
||||
ffi::GST_STREAM_VOLUME_FORMAT_CUBIC => Self::Cubic,
|
||||
ffi::GST_STREAM_VOLUME_FORMAT_DB => Self::Db,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -341,7 +341,7 @@ pub struct GstAudioAggregatorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioAggregatorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioAggregatorClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioAggregatorClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("create_output_buffer", &self.create_output_buffer)
|
||||
.field("aggregate_one_buffer", &self.aggregate_one_buffer)
|
||||
|
@ -358,12 +358,9 @@ pub struct GstAudioAggregatorConvertPadClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioAggregatorConvertPadClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstAudioAggregatorConvertPadClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstAudioAggregatorConvertPadClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -390,14 +387,11 @@ pub struct GstAudioAggregatorPadClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioAggregatorPadClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstAudioAggregatorPadClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("convert_buffer", &self.convert_buffer)
|
||||
.field("update_conversion_info", &self.update_conversion_info)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstAudioAggregatorPadClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("convert_buffer", &self.convert_buffer)
|
||||
.field("update_conversion_info", &self.update_conversion_info)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -425,7 +419,7 @@ pub struct GstAudioBaseSinkClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioBaseSinkClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioBaseSinkClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioBaseSinkClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("create_ringbuffer", &self.create_ringbuffer)
|
||||
.field("payload", &self.payload)
|
||||
|
@ -449,7 +443,7 @@ pub struct GstAudioBaseSrcClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioBaseSrcClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioBaseSrcClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioBaseSrcClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("create_ringbuffer", &self.create_ringbuffer)
|
||||
.finish()
|
||||
|
@ -477,7 +471,7 @@ pub struct GstAudioBuffer {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioBuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioBuffer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioBuffer @ {:p}", self))
|
||||
.field("info", &self.info)
|
||||
.field("n_samples", &self.n_samples)
|
||||
.field("n_planes", &self.n_planes)
|
||||
|
@ -499,7 +493,7 @@ pub struct GstAudioCdSrcClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioCdSrcClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioCdSrcClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioCdSrcClass @ {:p}", self))
|
||||
.field("pushsrc_class", &self.pushsrc_class)
|
||||
.field("open", &self.open)
|
||||
.field("close", &self.close)
|
||||
|
@ -527,7 +521,7 @@ pub struct GstAudioCdSrcTrack {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioCdSrcTrack {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioCdSrcTrack @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioCdSrcTrack @ {:p}", self))
|
||||
.field("is_audio", &self.is_audio)
|
||||
.field("num", &self.num)
|
||||
.field("start", &self.start)
|
||||
|
@ -553,7 +547,7 @@ pub struct GstAudioClippingMeta {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioClippingMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioClippingMeta @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioClippingMeta @ {:p}", self))
|
||||
.field("meta", &self.meta)
|
||||
.field("format", &self.format)
|
||||
.field("start", &self.start)
|
||||
|
@ -571,7 +565,7 @@ pub struct GstAudioClockClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioClockClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioClockClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioClockClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -582,7 +576,7 @@ pub struct GstAudioConverter(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioConverter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioConverter @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioConverter @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -640,7 +634,7 @@ pub struct GstAudioDecoderClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioDecoderClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioDecoderClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioDecoderClass @ {:p}", self))
|
||||
.field("element_class", &self.element_class)
|
||||
.field("start", &self.start)
|
||||
.field("stop", &self.stop)
|
||||
|
@ -682,7 +676,7 @@ pub struct GstAudioDownmixMeta {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioDownmixMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioDownmixMeta @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioDownmixMeta @ {:p}", self))
|
||||
.field("meta", &self.meta)
|
||||
.field("from_position", &self.from_position)
|
||||
.field("to_position", &self.to_position)
|
||||
|
@ -738,7 +732,7 @@ pub struct GstAudioEncoderClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioEncoderClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioEncoderClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioEncoderClass @ {:p}", self))
|
||||
.field("element_class", &self.element_class)
|
||||
.field("start", &self.start)
|
||||
.field("stop", &self.stop)
|
||||
|
@ -776,7 +770,7 @@ pub struct GstAudioFilterClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioFilterClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioFilterClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioFilterClass @ {:p}", self))
|
||||
.field("basetransformclass", &self.basetransformclass)
|
||||
.field("setup", &self.setup)
|
||||
.finish()
|
||||
|
@ -802,7 +796,7 @@ pub struct GstAudioFormatInfo {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioFormatInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioFormatInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioFormatInfo @ {:p}", self))
|
||||
.field("format", &self.format)
|
||||
.field("name", &self.name)
|
||||
.field("description", &self.description)
|
||||
|
@ -833,7 +827,7 @@ pub struct GstAudioInfo {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioInfo @ {:p}", self))
|
||||
.field("finfo", &self.finfo)
|
||||
.field("flags", &self.flags)
|
||||
.field("layout", &self.layout)
|
||||
|
@ -857,7 +851,7 @@ pub struct GstAudioMeta {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioMeta @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioMeta @ {:p}", self))
|
||||
.field("meta", &self.meta)
|
||||
.field("info", &self.info)
|
||||
.field("samples", &self.samples)
|
||||
|
@ -908,7 +902,7 @@ pub struct GstAudioRingBufferClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioRingBufferClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioRingBufferClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioRingBufferClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("open_device", &self.open_device)
|
||||
.field("acquire", &self.acquire)
|
||||
|
@ -942,7 +936,7 @@ pub struct GstAudioRingBufferSpec {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioRingBufferSpec {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioRingBufferSpec @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioRingBufferSpec @ {:p}", self))
|
||||
.field("caps", &self.caps)
|
||||
.field("type_", &self.type_)
|
||||
.field("info", &self.info)
|
||||
|
@ -975,7 +969,7 @@ pub struct GstAudioSinkClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioSinkClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioSinkClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioSinkClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("open", &self.open)
|
||||
.field("prepare", &self.prepare)
|
||||
|
@ -1000,12 +994,9 @@ pub struct GstAudioSinkClassExtension {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioSinkClassExtension {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstAudioSinkClassExtension @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("clear_all", &self.clear_all)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstAudioSinkClassExtension @ {:p}", self))
|
||||
.field("clear_all", &self.clear_all)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1028,7 +1019,7 @@ pub struct GstAudioSrcClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioSrcClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioSrcClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioSrcClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("open", &self.open)
|
||||
.field("prepare", &self.prepare)
|
||||
|
@ -1046,7 +1037,7 @@ pub struct GstAudioStreamAlign(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioStreamAlign {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioStreamAlign @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioStreamAlign @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1059,12 +1050,9 @@ pub struct GstStreamVolumeInterface {
|
|||
|
||||
impl ::std::fmt::Debug for GstStreamVolumeInterface {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstStreamVolumeInterface @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("iface", &self.iface)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstStreamVolumeInterface @ {:p}", self))
|
||||
.field("iface", &self.iface)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1080,7 +1068,7 @@ pub struct GstAudioAggregator {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioAggregator {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioAggregator @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioAggregator @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("current_caps", &self.current_caps)
|
||||
.finish()
|
||||
|
@ -1097,11 +1085,8 @@ pub struct GstAudioAggregatorConvertPad {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioAggregatorConvertPad {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstAudioAggregatorConvertPad @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstAudioAggregatorConvertPad @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1116,7 +1101,7 @@ pub struct GstAudioAggregatorPad {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioAggregatorPad {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioAggregatorPad @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioAggregatorPad @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("info", &self.info)
|
||||
.finish()
|
||||
|
@ -1139,7 +1124,7 @@ pub struct GstAudioBaseSink {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioBaseSink {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioBaseSink @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioBaseSink @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("ringbuffer", &self.ringbuffer)
|
||||
.field("buffer_time", &self.buffer_time)
|
||||
|
@ -1166,7 +1151,7 @@ pub struct GstAudioBaseSrc {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioBaseSrc {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioBaseSrc @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioBaseSrc @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("ringbuffer", &self.ringbuffer)
|
||||
.field("buffer_time", &self.buffer_time)
|
||||
|
@ -1189,7 +1174,7 @@ pub struct GstAudioCdSrc {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioCdSrc {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioCdSrc @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioCdSrc @ {:p}", self))
|
||||
.field("pushsrc", &self.pushsrc)
|
||||
.field("tags", &self.tags)
|
||||
.finish()
|
||||
|
@ -1210,7 +1195,7 @@ pub struct GstAudioClock {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioClock {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioClock @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioClock @ {:p}", self))
|
||||
.field("clock", &self.clock)
|
||||
.field("func", &self.func)
|
||||
.field("user_data", &self.user_data)
|
||||
|
@ -1234,7 +1219,7 @@ pub struct GstAudioDecoder {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioDecoder {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioDecoder @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioDecoder @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("sinkpad", &self.sinkpad)
|
||||
.field("srcpad", &self.srcpad)
|
||||
|
@ -1260,7 +1245,7 @@ pub struct GstAudioEncoder {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioEncoder {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioEncoder @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioEncoder @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("sinkpad", &self.sinkpad)
|
||||
.field("srcpad", &self.srcpad)
|
||||
|
@ -1281,7 +1266,7 @@ pub struct GstAudioFilter {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioFilter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioFilter @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioFilter @ {:p}", self))
|
||||
.field("basetransform", &self.basetransform)
|
||||
.field("info", &self.info)
|
||||
.finish()
|
||||
|
@ -1318,7 +1303,7 @@ pub struct GstAudioRingBuffer {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioRingBuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioRingBuffer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioRingBuffer @ {:p}", self))
|
||||
.field("object", &self.object)
|
||||
.field("cond", &self.cond)
|
||||
.field("open", &self.open)
|
||||
|
@ -1346,7 +1331,7 @@ pub struct GstAudioSink {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioSink {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioSink @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioSink @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.finish()
|
||||
}
|
||||
|
@ -1362,7 +1347,7 @@ pub struct GstAudioSrc {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioSrc {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioSrc @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioSrc @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.finish()
|
||||
}
|
||||
|
@ -1374,7 +1359,7 @@ pub struct GstStreamVolume(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstStreamVolume {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
write!(f, "GstStreamVolume @ {:?}", self as *const _)
|
||||
write!(f, "GstStreamVolume @ {:p}", self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -436,7 +436,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
|||
) -> (Result<gst::FlowSuccess, gst::FlowError>, gst::ClockTimeDiff) {
|
||||
unsafe {
|
||||
let mut jitter = mem::MaybeUninit::uninit();
|
||||
let ret = gst::FlowSuccess::try_from_glib(ffi::gst_base_sink_wait(
|
||||
let ret = try_from_glib(ffi::gst_base_sink_wait(
|
||||
self.as_ref().to_glib_none().0,
|
||||
time.into_glib(),
|
||||
jitter.as_mut_ptr(),
|
||||
|
@ -455,7 +455,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
|||
) {
|
||||
unsafe {
|
||||
let mut jitter = mem::MaybeUninit::uninit();
|
||||
let ret = gst::ClockSuccess::try_from_glib(ffi::gst_base_sink_wait_clock(
|
||||
let ret = try_from_glib(ffi::gst_base_sink_wait_clock(
|
||||
self.as_ref().to_glib_none().0,
|
||||
time.into_glib(),
|
||||
jitter.as_mut_ptr(),
|
||||
|
@ -467,7 +467,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
|||
|
||||
fn wait_preroll(&self) -> Result<gst::FlowSuccess, gst::FlowError> {
|
||||
unsafe {
|
||||
gst::FlowSuccess::try_from_glib(ffi::gst_base_sink_wait_preroll(
|
||||
try_from_glib(ffi::gst_base_sink_wait_preroll(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
|
|
|
@ -243,16 +243,12 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
|||
}
|
||||
|
||||
fn start_wait(&self) -> Result<gst::FlowSuccess, gst::FlowError> {
|
||||
unsafe {
|
||||
gst::FlowSuccess::try_from_glib(ffi::gst_base_src_start_wait(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
unsafe { try_from_glib(ffi::gst_base_src_start_wait(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
fn wait_playing(&self) -> Result<gst::FlowSuccess, gst::FlowError> {
|
||||
unsafe {
|
||||
gst::FlowSuccess::try_from_glib(ffi::gst_base_src_wait_playing(
|
||||
try_from_glib(ffi::gst_base_src_wait_playing(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
|
|
|
@ -58,9 +58,9 @@ impl FromGlib<ffi::GstAggregatorStartTimeSelection> for AggregatorStartTimeSelec
|
|||
unsafe fn from_glib(value: ffi::GstAggregatorStartTimeSelection) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Zero,
|
||||
1 => Self::First,
|
||||
2 => Self::Set,
|
||||
ffi::GST_AGGREGATOR_START_TIME_SELECTION_ZERO => Self::Zero,
|
||||
ffi::GST_AGGREGATOR_START_TIME_SELECTION_FIRST => Self::First,
|
||||
ffi::GST_AGGREGATOR_START_TIME_SELECTION_SET => Self::Set,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -68,7 +68,7 @@ pub union GstCollectData_ABI {
|
|||
|
||||
impl ::std::fmt::Debug for GstCollectData_ABI {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstCollectData_ABI @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstCollectData_ABI @ {:p}", self))
|
||||
.field("abi", unsafe { &self.abi })
|
||||
.finish()
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ pub struct GstAggregatorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAggregatorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAggregatorClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAggregatorClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("flush", &self.flush)
|
||||
.field("clip", &self.clip)
|
||||
|
@ -281,7 +281,7 @@ pub struct GstAggregatorPadClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAggregatorPadClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAggregatorPadClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAggregatorPadClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("flush", &self.flush)
|
||||
.field("skip_buffer", &self.skip_buffer)
|
||||
|
@ -339,7 +339,7 @@ pub struct GstBaseParseClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseParseClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseParseClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseParseClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("start", &self.start)
|
||||
.field("stop", &self.stop)
|
||||
|
@ -373,7 +373,7 @@ pub struct GstBaseParseFrame {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseParseFrame {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseParseFrame @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseParseFrame @ {:p}", self))
|
||||
.field("buffer", &self.buffer)
|
||||
.field("out_buffer", &self.out_buffer)
|
||||
.field("flags", &self.flags)
|
||||
|
@ -433,7 +433,7 @@ pub struct GstBaseSinkClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseSinkClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseSinkClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseSinkClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("get_caps", &self.get_caps)
|
||||
.field("set_caps", &self.set_caps)
|
||||
|
@ -523,7 +523,7 @@ pub struct GstBaseSrcClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseSrcClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseSrcClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseSrcClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("get_caps", &self.get_caps)
|
||||
.field("negotiate", &self.negotiate)
|
||||
|
@ -680,7 +680,7 @@ pub struct GstBaseTransformClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseTransformClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseTransformClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseTransformClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("passthrough_on_same_caps", &self.passthrough_on_same_caps)
|
||||
.field(
|
||||
|
@ -730,7 +730,7 @@ pub struct GstBitReader {
|
|||
|
||||
impl ::std::fmt::Debug for GstBitReader {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBitReader @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBitReader @ {:p}", self))
|
||||
.field("data", &self.data)
|
||||
.field("size", &self.size)
|
||||
.field("byte", &self.byte)
|
||||
|
@ -752,7 +752,7 @@ pub struct GstBitWriter {
|
|||
|
||||
impl ::std::fmt::Debug for GstBitWriter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBitWriter @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBitWriter @ {:p}", self))
|
||||
.field("data", &self.data)
|
||||
.field("bit_size", &self.bit_size)
|
||||
.finish()
|
||||
|
@ -770,7 +770,7 @@ pub struct GstByteReader {
|
|||
|
||||
impl ::std::fmt::Debug for GstByteReader {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstByteReader @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstByteReader @ {:p}", self))
|
||||
.field("data", &self.data)
|
||||
.field("size", &self.size)
|
||||
.field("byte", &self.byte)
|
||||
|
@ -790,7 +790,7 @@ pub struct GstByteWriter {
|
|||
|
||||
impl ::std::fmt::Debug for GstByteWriter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstByteWriter @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstByteWriter @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("alloc_size", &self.alloc_size)
|
||||
.field("fixed", &self.fixed)
|
||||
|
@ -814,7 +814,7 @@ pub struct GstCollectData {
|
|||
|
||||
impl ::std::fmt::Debug for GstCollectData {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstCollectData @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstCollectData @ {:p}", self))
|
||||
.field("collect", &self.collect)
|
||||
.field("pad", &self.pad)
|
||||
.field("buffer", &self.buffer)
|
||||
|
@ -838,7 +838,7 @@ pub struct GstCollectData_ABI_abi {
|
|||
|
||||
impl ::std::fmt::Debug for GstCollectData_ABI_abi {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstCollectData_ABI_abi @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstCollectData_ABI_abi @ {:p}", self))
|
||||
.field("dts", &self.dts)
|
||||
.finish()
|
||||
}
|
||||
|
@ -853,7 +853,7 @@ pub struct GstCollectPadsClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstCollectPadsClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstCollectPadsClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstCollectPadsClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -875,7 +875,7 @@ pub struct GstDataQueueClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstDataQueueClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDataQueueClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDataQueueClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("empty", &self.empty)
|
||||
.field("full", &self.full)
|
||||
|
@ -897,7 +897,7 @@ pub struct GstDataQueueItem {
|
|||
|
||||
impl ::std::fmt::Debug for GstDataQueueItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDataQueueItem @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDataQueueItem @ {:p}", self))
|
||||
.field("object", &self.object)
|
||||
.field("size", &self.size)
|
||||
.field("duration", &self.duration)
|
||||
|
@ -922,7 +922,7 @@ pub struct GstDataQueueSize {
|
|||
|
||||
impl ::std::fmt::Debug for GstDataQueueSize {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDataQueueSize @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDataQueueSize @ {:p}", self))
|
||||
.field("visible", &self.visible)
|
||||
.field("bytes", &self.bytes)
|
||||
.field("time", &self.time)
|
||||
|
@ -935,7 +935,7 @@ pub struct GstFlowCombiner(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstFlowCombiner {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstFlowCombiner @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstFlowCombiner @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -955,7 +955,7 @@ pub struct GstPushSrcClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstPushSrcClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPushSrcClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPushSrcClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("create", &self.create)
|
||||
.field("alloc", &self.alloc)
|
||||
|
@ -975,8 +975,7 @@ pub struct GstAdapter(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstAdapter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAdapter @ {:?}", self as *const _))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstAdapter @ {:p}", self)).finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -991,7 +990,7 @@ pub struct GstAggregator {
|
|||
|
||||
impl ::std::fmt::Debug for GstAggregator {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAggregator @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAggregator @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("srcpad", &self.srcpad)
|
||||
.finish()
|
||||
|
@ -1009,7 +1008,7 @@ pub struct GstAggregatorPad {
|
|||
|
||||
impl ::std::fmt::Debug for GstAggregatorPad {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAggregatorPad @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAggregatorPad @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("segment", &self.segment)
|
||||
.finish()
|
||||
|
@ -1030,7 +1029,7 @@ pub struct GstBaseParse {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseParse {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseParse @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseParse @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("sinkpad", &self.sinkpad)
|
||||
.field("srcpad", &self.srcpad)
|
||||
|
@ -1068,7 +1067,7 @@ pub struct GstBaseSink {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseSink {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseSink @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseSink @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("sinkpad", &self.sinkpad)
|
||||
.field("pad_mode", &self.pad_mode)
|
||||
|
@ -1113,7 +1112,7 @@ pub struct GstBaseSrc {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseSrc {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseSrc @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseSrc @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("srcpad", &self.srcpad)
|
||||
.field("live_lock", &self.live_lock)
|
||||
|
@ -1151,7 +1150,7 @@ pub struct GstBaseTransform {
|
|||
|
||||
impl ::std::fmt::Debug for GstBaseTransform {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstBaseTransform @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstBaseTransform @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("sinkpad", &self.sinkpad)
|
||||
.field("srcpad", &self.srcpad)
|
||||
|
@ -1174,7 +1173,7 @@ pub struct GstCollectPads {
|
|||
|
||||
impl ::std::fmt::Debug for GstCollectPads {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstCollectPads @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstCollectPads @ {:p}", self))
|
||||
.field("object", &self.object)
|
||||
.field("data", &self.data)
|
||||
.finish()
|
||||
|
@ -1191,7 +1190,7 @@ pub struct GstDataQueue {
|
|||
|
||||
impl ::std::fmt::Debug for GstDataQueue {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDataQueue @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDataQueue @ {:p}", self))
|
||||
.field("object", &self.object)
|
||||
.finish()
|
||||
}
|
||||
|
@ -1206,7 +1205,7 @@ pub struct GstPushSrc {
|
|||
|
||||
impl ::std::fmt::Debug for GstPushSrc {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPushSrc @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPushSrc @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -45,7 +45,7 @@ pub struct GstHarness {
|
|||
|
||||
impl ::std::fmt::Debug for GstHarness {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstHarness @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstHarness @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.field("srcpad", &self.srcpad)
|
||||
.field("sinkpad", &self.sinkpad)
|
||||
|
@ -78,7 +78,7 @@ pub struct GstTestClockClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstTestClockClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstTestClockClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstTestClockClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ pub struct GstTestClock {
|
|||
|
||||
impl ::std::fmt::Debug for GstTestClock {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstTestClock @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstTestClock @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -45,10 +45,10 @@ impl FromGlib<ffi::GstInterpolationMode> for InterpolationMode {
|
|||
unsafe fn from_glib(value: ffi::GstInterpolationMode) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::None,
|
||||
1 => Self::Linear,
|
||||
2 => Self::Cubic,
|
||||
3 => Self::CubicMonotonic,
|
||||
ffi::GST_INTERPOLATION_MODE_NONE => Self::None,
|
||||
ffi::GST_INTERPOLATION_MODE_LINEAR => Self::Linear,
|
||||
ffi::GST_INTERPOLATION_MODE_CUBIC => Self::Cubic,
|
||||
ffi::GST_INTERPOLATION_MODE_CUBIC_MONOTONIC => Self::CubicMonotonic,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -126,11 +126,11 @@ impl FromGlib<ffi::GstLFOWaveform> for LFOWaveform {
|
|||
unsafe fn from_glib(value: ffi::GstLFOWaveform) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Sine,
|
||||
1 => Self::Square,
|
||||
2 => Self::Saw,
|
||||
3 => Self::ReverseSaw,
|
||||
4 => Self::Triangle,
|
||||
ffi::GST_LFO_WAVEFORM_SINE => Self::Sine,
|
||||
ffi::GST_LFO_WAVEFORM_SQUARE => Self::Square,
|
||||
ffi::GST_LFO_WAVEFORM_SAW => Self::Saw,
|
||||
ffi::GST_LFO_WAVEFORM_REVERSE_SAW => Self::ReverseSaw,
|
||||
ffi::GST_LFO_WAVEFORM_TRIANGLE => Self::Triangle,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -50,7 +50,7 @@ pub union GstControlPoint_cache {
|
|||
|
||||
impl ::std::fmt::Debug for GstControlPoint_cache {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstControlPoint_cache @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstControlPoint_cache @ {:p}", self))
|
||||
.field("cubic", unsafe { &self.cubic })
|
||||
.field("cubic_monotonic", unsafe { &self.cubic_monotonic })
|
||||
.finish()
|
||||
|
@ -66,13 +66,10 @@ pub union GstDirectControlBinding_ABI {
|
|||
|
||||
impl ::std::fmt::Debug for GstDirectControlBinding_ABI {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstDirectControlBinding_ABI @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("_gst_reserved", unsafe { &self._gst_reserved })
|
||||
.field("abi", unsafe { &self.abi })
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstDirectControlBinding_ABI @ {:p}", self))
|
||||
.field("_gst_reserved", unsafe { &self._gst_reserved })
|
||||
.field("abi", unsafe { &self.abi })
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -92,12 +89,9 @@ pub struct GstARGBControlBindingClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstARGBControlBindingClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstARGBControlBindingClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstARGBControlBindingClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -111,7 +105,7 @@ pub struct GstControlPoint {
|
|||
|
||||
impl ::std::fmt::Debug for GstControlPoint {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstControlPoint @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstControlPoint @ {:p}", self))
|
||||
.field("timestamp", &self.timestamp)
|
||||
.field("value", &self.value)
|
||||
.field("cache", &self.cache)
|
||||
|
@ -128,13 +122,10 @@ pub struct GstControlPoint_cache_cubic {
|
|||
|
||||
impl ::std::fmt::Debug for GstControlPoint_cache_cubic {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstControlPoint_cache_cubic @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("h", &self.h)
|
||||
.field("z", &self.z)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstControlPoint_cache_cubic @ {:p}", self))
|
||||
.field("h", &self.h)
|
||||
.field("z", &self.z)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -149,8 +140,8 @@ pub struct GstControlPoint_cache_cubic_monotonic {
|
|||
impl ::std::fmt::Debug for GstControlPoint_cache_cubic_monotonic {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstControlPoint_cache_cubic_monotonic @ {:?}",
|
||||
self as *const _
|
||||
"GstControlPoint_cache_cubic_monotonic @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("c1s", &self.c1s)
|
||||
.field("c2s", &self.c2s)
|
||||
|
@ -168,12 +159,9 @@ pub struct GstDirectControlBindingClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstDirectControlBindingClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstDirectControlBindingClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstDirectControlBindingClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -185,12 +173,9 @@ pub struct GstDirectControlBinding_ABI_abi {
|
|||
|
||||
impl ::std::fmt::Debug for GstDirectControlBinding_ABI_abi {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstDirectControlBinding_ABI_abi @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("want_absolute", &self.want_absolute)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstDirectControlBinding_ABI_abi @ {:p}", self))
|
||||
.field("want_absolute", &self.want_absolute)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -203,12 +188,9 @@ pub struct GstInterpolationControlSourceClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstInterpolationControlSourceClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstInterpolationControlSourceClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstInterpolationControlSourceClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -226,12 +208,9 @@ pub struct GstLFOControlSourceClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstLFOControlSourceClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstLFOControlSourceClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstLFOControlSourceClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -249,11 +228,8 @@ pub struct GstProxyControlBindingClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstProxyControlBindingClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstProxyControlBindingClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstProxyControlBindingClass @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -266,12 +242,9 @@ pub struct GstTimedValueControlSourceClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstTimedValueControlSourceClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstTimedValueControlSourceClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstTimedValueControlSourceClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -289,12 +262,9 @@ pub struct GstTriggerControlSourceClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstTriggerControlSourceClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstTriggerControlSourceClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstTriggerControlSourceClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -319,7 +289,7 @@ pub struct GstARGBControlBinding {
|
|||
|
||||
impl ::std::fmt::Debug for GstARGBControlBinding {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstARGBControlBinding @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstARGBControlBinding @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
@ -340,7 +310,7 @@ pub struct GstDirectControlBinding {
|
|||
|
||||
impl ::std::fmt::Debug for GstDirectControlBinding {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDirectControlBinding @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDirectControlBinding @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("ABI", &self.ABI)
|
||||
.finish()
|
||||
|
@ -357,12 +327,9 @@ pub struct GstInterpolationControlSource {
|
|||
|
||||
impl ::std::fmt::Debug for GstInterpolationControlSource {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstInterpolationControlSource @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstInterpolationControlSource @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -377,7 +344,7 @@ pub struct GstLFOControlSource {
|
|||
|
||||
impl ::std::fmt::Debug for GstLFOControlSource {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstLFOControlSource @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstLFOControlSource @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
@ -394,7 +361,7 @@ pub struct GstProxyControlBinding {
|
|||
|
||||
impl ::std::fmt::Debug for GstProxyControlBinding {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstProxyControlBinding @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstProxyControlBinding @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -413,16 +380,13 @@ pub struct GstTimedValueControlSource {
|
|||
|
||||
impl ::std::fmt::Debug for GstTimedValueControlSource {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstTimedValueControlSource @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent", &self.parent)
|
||||
.field("lock", &self.lock)
|
||||
.field("values", &self.values)
|
||||
.field("nvalues", &self.nvalues)
|
||||
.field("valid_cache", &self.valid_cache)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstTimedValueControlSource @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("lock", &self.lock)
|
||||
.field("values", &self.values)
|
||||
.field("nvalues", &self.nvalues)
|
||||
.field("valid_cache", &self.valid_cache)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -436,7 +400,7 @@ pub struct GstTriggerControlSource {
|
|||
|
||||
impl ::std::fmt::Debug for GstTriggerControlSource {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstTriggerControlSource @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstTriggerControlSource @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -73,9 +73,9 @@ impl FromGlib<ffi::GESEdge> for Edge {
|
|||
unsafe fn from_glib(value: ffi::GESEdge) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Start,
|
||||
1 => Self::End,
|
||||
2 => Self::None,
|
||||
ffi::GES_EDGE_START => Self::Start,
|
||||
ffi::GES_EDGE_END => Self::End,
|
||||
ffi::GES_EDGE_NONE => Self::None,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -178,11 +178,11 @@ impl FromGlib<ffi::GESEditMode> for EditMode {
|
|||
unsafe fn from_glib(value: ffi::GESEditMode) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Normal,
|
||||
1 => Self::Ripple,
|
||||
2 => Self::Roll,
|
||||
3 => Self::Trim,
|
||||
4 => Self::Slide,
|
||||
ffi::GES_EDIT_MODE_NORMAL => Self::Normal,
|
||||
ffi::GES_EDIT_MODE_RIPPLE => Self::Ripple,
|
||||
ffi::GES_EDIT_MODE_ROLL => Self::Roll,
|
||||
ffi::GES_EDIT_MODE_TRIM => Self::Trim,
|
||||
ffi::GES_EDIT_MODE_SLIDE => Self::Slide,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -461,78 +461,78 @@ impl FromGlib<ffi::GESVideoStandardTransitionType> for VideoStandardTransitionTy
|
|||
unsafe fn from_glib(value: ffi::GESVideoStandardTransitionType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::None,
|
||||
1 => Self::BarWipeLr,
|
||||
2 => Self::BarWipeTb,
|
||||
3 => Self::BoxWipeTl,
|
||||
4 => Self::BoxWipeTr,
|
||||
5 => Self::BoxWipeBr,
|
||||
6 => Self::BoxWipeBl,
|
||||
7 => Self::FourBoxWipeCi,
|
||||
8 => Self::FourBoxWipeCo,
|
||||
21 => Self::BarndoorV,
|
||||
22 => Self::BarndoorH,
|
||||
23 => Self::BoxWipeTc,
|
||||
24 => Self::BoxWipeRc,
|
||||
25 => Self::BoxWipeBc,
|
||||
26 => Self::BoxWipeLc,
|
||||
41 => Self::DiagonalTl,
|
||||
42 => Self::DiagonalTr,
|
||||
43 => Self::BowtieV,
|
||||
44 => Self::BowtieH,
|
||||
45 => Self::BarndoorDbl,
|
||||
46 => Self::BarndoorDtl,
|
||||
47 => Self::MiscDiagonalDbd,
|
||||
48 => Self::MiscDiagonalDd,
|
||||
61 => Self::VeeD,
|
||||
62 => Self::VeeL,
|
||||
63 => Self::VeeU,
|
||||
64 => Self::VeeR,
|
||||
65 => Self::BarnveeD,
|
||||
66 => Self::BarnveeL,
|
||||
67 => Self::BarnveeU,
|
||||
68 => Self::BarnveeR,
|
||||
101 => Self::IrisRect,
|
||||
201 => Self::ClockCw12,
|
||||
202 => Self::ClockCw3,
|
||||
203 => Self::ClockCw6,
|
||||
204 => Self::ClockCw9,
|
||||
205 => Self::PinwheelTbv,
|
||||
206 => Self::PinwheelTbh,
|
||||
207 => Self::PinwheelFb,
|
||||
211 => Self::FanCt,
|
||||
212 => Self::FanCr,
|
||||
213 => Self::DoublefanFov,
|
||||
214 => Self::DoublefanFoh,
|
||||
221 => Self::SinglesweepCwt,
|
||||
222 => Self::SinglesweepCwr,
|
||||
223 => Self::SinglesweepCwb,
|
||||
224 => Self::SinglesweepCwl,
|
||||
225 => Self::DoublesweepPv,
|
||||
226 => Self::DoublesweepPd,
|
||||
227 => Self::DoublesweepOv,
|
||||
228 => Self::DoublesweepOh,
|
||||
231 => Self::FanT,
|
||||
232 => Self::FanR,
|
||||
233 => Self::FanB,
|
||||
234 => Self::FanL,
|
||||
235 => Self::DoublefanFiv,
|
||||
236 => Self::DoublefanFih,
|
||||
241 => Self::SinglesweepCwtl,
|
||||
242 => Self::SinglesweepCwbl,
|
||||
243 => Self::SinglesweepCwbr,
|
||||
244 => Self::SinglesweepCwtr,
|
||||
245 => Self::DoublesweepPdtl,
|
||||
246 => Self::DoublesweepPdbl,
|
||||
251 => Self::SaloondoorT,
|
||||
252 => Self::SaloondoorL,
|
||||
253 => Self::SaloondoorB,
|
||||
254 => Self::SaloondoorR,
|
||||
261 => Self::WindshieldR,
|
||||
262 => Self::WindshieldU,
|
||||
263 => Self::WindshieldV,
|
||||
264 => Self::WindshieldH,
|
||||
512 => Self::Crossfade,
|
||||
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_TB => Self::BarWipeTb,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL => Self::BoxWipeTl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR => Self::BoxWipeTr,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR => Self::BoxWipeBr,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL => Self::BoxWipeBl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI => Self::FourBoxWipeCi,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO => Self::FourBoxWipeCo,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V => Self::BarndoorV,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H => Self::BarndoorH,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC => Self::BoxWipeTc,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC => Self::BoxWipeRc,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC => Self::BoxWipeBc,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC => Self::BoxWipeLc,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL => Self::DiagonalTl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR => Self::DiagonalTr,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V => Self::BowtieV,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H => Self::BowtieH,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL => Self::BarndoorDbl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL => Self::BarndoorDtl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD => Self::MiscDiagonalDbd,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD => Self::MiscDiagonalDd,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D => Self::VeeD,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L => Self::VeeL,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U => Self::VeeU,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R => Self::VeeR,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D => Self::BarnveeD,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L => Self::BarnveeL,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U => Self::BarnveeU,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R => Self::BarnveeR,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT => Self::IrisRect,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12 => Self::ClockCw12,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3 => Self::ClockCw3,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6 => Self::ClockCw6,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9 => Self::ClockCw9,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV => Self::PinwheelTbv,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH => Self::PinwheelTbh,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB => Self::PinwheelFb,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT => Self::FanCt,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR => Self::FanCr,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV => Self::DoublefanFov,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH => Self::DoublefanFoh,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT => Self::SinglesweepCwt,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR => Self::SinglesweepCwr,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB => Self::SinglesweepCwb,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL => Self::SinglesweepCwl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV => Self::DoublesweepPv,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD => Self::DoublesweepPd,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV => Self::DoublesweepOv,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH => Self::DoublesweepOh,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T => Self::FanT,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R => Self::FanR,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B => Self::FanB,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L => Self::FanL,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV => Self::DoublefanFiv,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH => Self::DoublefanFih,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL => Self::SinglesweepCwtl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL => Self::SinglesweepCwbl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR => Self::SinglesweepCwbr,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR => Self::SinglesweepCwtr,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL => Self::DoublesweepPdtl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL => Self::DoublesweepPdbl,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T => Self::SaloondoorT,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L => Self::SaloondoorL,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B => Self::SaloondoorB,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R => Self::SaloondoorR,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R => Self::WindshieldR,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U => Self::WindshieldU,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V => Self::WindshieldV,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H => Self::WindshieldH,
|
||||
ffi::GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE => Self::Crossfade,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -38,7 +38,7 @@ pub struct GstGLDisplayEGLClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplayEGLClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLDisplayEGLClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLDisplayEGLClass @ {:p}", self))
|
||||
.field("object_class", &self.object_class)
|
||||
.field("_padding", &self._padding)
|
||||
.finish()
|
||||
|
@ -57,7 +57,7 @@ pub struct GstGLDisplayEGL {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplayEGL {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLDisplayEGL @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLDisplayEGL @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -57,12 +57,12 @@ impl FromGlib<ffi::GstGLContextError> for GLContextError {
|
|||
unsafe fn from_glib(value: ffi::GstGLContextError) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Failed,
|
||||
1 => Self::WrongConfig,
|
||||
2 => Self::WrongApi,
|
||||
3 => Self::OldLibs,
|
||||
4 => Self::CreateContext,
|
||||
5 => Self::ResourceUnavailable,
|
||||
ffi::GST_GL_CONTEXT_ERROR_FAILED => Self::Failed,
|
||||
ffi::GST_GL_CONTEXT_ERROR_WRONG_CONFIG => Self::WrongConfig,
|
||||
ffi::GST_GL_CONTEXT_ERROR_WRONG_API => Self::WrongApi,
|
||||
ffi::GST_GL_CONTEXT_ERROR_OLD_LIBS => Self::OldLibs,
|
||||
ffi::GST_GL_CONTEXT_ERROR_CREATE_CONTEXT => Self::CreateContext,
|
||||
ffi::GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE => Self::ResourceUnavailable,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -82,12 +82,12 @@ impl ErrorDomain for GLContextError {
|
|||
fn from(code: i32) -> Option<Self> {
|
||||
skip_assert_initialized!();
|
||||
match code {
|
||||
0 => Some(Self::Failed),
|
||||
1 => Some(Self::WrongConfig),
|
||||
2 => Some(Self::WrongApi),
|
||||
3 => Some(Self::OldLibs),
|
||||
4 => Some(Self::CreateContext),
|
||||
5 => Some(Self::ResourceUnavailable),
|
||||
ffi::GST_GL_CONTEXT_ERROR_FAILED => Some(Self::Failed),
|
||||
ffi::GST_GL_CONTEXT_ERROR_WRONG_CONFIG => Some(Self::WrongConfig),
|
||||
ffi::GST_GL_CONTEXT_ERROR_WRONG_API => Some(Self::WrongApi),
|
||||
ffi::GST_GL_CONTEXT_ERROR_OLD_LIBS => Some(Self::OldLibs),
|
||||
ffi::GST_GL_CONTEXT_ERROR_CREATE_CONTEXT => Some(Self::CreateContext),
|
||||
ffi::GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE => Some(Self::ResourceUnavailable),
|
||||
_ => Some(Self::Failed),
|
||||
}
|
||||
}
|
||||
|
@ -263,25 +263,25 @@ impl FromGlib<ffi::GstGLFormat> for GLFormat {
|
|||
unsafe fn from_glib(value: ffi::GstGLFormat) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
6409 => Self::Luminance,
|
||||
6406 => Self::Alpha,
|
||||
6410 => Self::LuminanceAlpha,
|
||||
6403 => Self::Red,
|
||||
33321 => Self::R8,
|
||||
33319 => Self::Rg,
|
||||
33323 => Self::Rg8,
|
||||
6407 => Self::Rgb,
|
||||
32849 => Self::Rgb8,
|
||||
36194 => Self::Rgb565,
|
||||
32852 => Self::Rgb16,
|
||||
6408 => Self::Rgba,
|
||||
32856 => Self::Rgba8,
|
||||
32859 => Self::Rgba16,
|
||||
33189 => Self::DepthComponent16,
|
||||
35056 => Self::Depth24Stencil8,
|
||||
32857 => Self::Rgb10A2,
|
||||
33322 => Self::R16,
|
||||
33324 => Self::Rg16,
|
||||
ffi::GST_GL_LUMINANCE => Self::Luminance,
|
||||
ffi::GST_GL_ALPHA => Self::Alpha,
|
||||
ffi::GST_GL_LUMINANCE_ALPHA => Self::LuminanceAlpha,
|
||||
ffi::GST_GL_RED => Self::Red,
|
||||
ffi::GST_GL_R8 => Self::R8,
|
||||
ffi::GST_GL_RG => Self::Rg,
|
||||
ffi::GST_GL_RG8 => Self::Rg8,
|
||||
ffi::GST_GL_RGB => Self::Rgb,
|
||||
ffi::GST_GL_RGB8 => Self::Rgb8,
|
||||
ffi::GST_GL_RGB565 => Self::Rgb565,
|
||||
ffi::GST_GL_RGB16 => Self::Rgb16,
|
||||
ffi::GST_GL_RGBA => Self::Rgba,
|
||||
ffi::GST_GL_RGBA8 => Self::Rgba8,
|
||||
ffi::GST_GL_RGBA16 => Self::Rgba16,
|
||||
ffi::GST_GL_DEPTH_COMPONENT16 => Self::DepthComponent16,
|
||||
ffi::GST_GL_DEPTH24_STENCIL8 => Self::Depth24Stencil8,
|
||||
ffi::GST_GL_RGB10_A2 => Self::Rgb10A2,
|
||||
ffi::GST_GL_R16 => Self::R16,
|
||||
ffi::GST_GL_RG16 => Self::Rg16,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -353,9 +353,9 @@ impl FromGlib<ffi::GstGLQueryType> for GLQueryType {
|
|||
unsafe fn from_glib(value: ffi::GstGLQueryType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::None,
|
||||
1 => Self::TimeElapsed,
|
||||
2 => Self::Timestamp,
|
||||
ffi::GST_GL_QUERY_NONE => Self::None,
|
||||
ffi::GST_GL_QUERY_TIME_ELAPSED => Self::TimeElapsed,
|
||||
ffi::GST_GL_QUERY_TIMESTAMP => Self::Timestamp,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -427,9 +427,9 @@ impl FromGlib<ffi::GstGLSLError> for GLSLError {
|
|||
unsafe fn from_glib(value: ffi::GstGLSLError) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Compile,
|
||||
1 => Self::Link,
|
||||
2 => Self::Program,
|
||||
ffi::GST_GLSL_ERROR_COMPILE => Self::Compile,
|
||||
ffi::GST_GLSL_ERROR_LINK => Self::Link,
|
||||
ffi::GST_GLSL_ERROR_PROGRAM => Self::Program,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -449,9 +449,9 @@ impl ErrorDomain for GLSLError {
|
|||
fn from(code: i32) -> Option<Self> {
|
||||
skip_assert_initialized!();
|
||||
match code {
|
||||
0 => Some(Self::Compile),
|
||||
1 => Some(Self::Link),
|
||||
2 => Some(Self::Program),
|
||||
ffi::GST_GLSL_ERROR_COMPILE => Some(Self::Compile),
|
||||
ffi::GST_GLSL_ERROR_LINK => Some(Self::Link),
|
||||
ffi::GST_GLSL_ERROR_PROGRAM => Some(Self::Program),
|
||||
value => Some(Self::__Unknown(value)),
|
||||
}
|
||||
}
|
||||
|
@ -612,23 +612,23 @@ impl FromGlib<ffi::GstGLSLVersion> for GLSLVersion {
|
|||
unsafe fn from_glib(value: ffi::GstGLSLVersion) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::None,
|
||||
100 => Self::_100,
|
||||
110 => Self::_110,
|
||||
120 => Self::_120,
|
||||
130 => Self::_130,
|
||||
140 => Self::_140,
|
||||
150 => Self::_150,
|
||||
300 => Self::_300,
|
||||
310 => Self::_310,
|
||||
320 => Self::_320,
|
||||
330 => Self::_330,
|
||||
400 => Self::_400,
|
||||
410 => Self::_410,
|
||||
420 => Self::_420,
|
||||
430 => Self::_430,
|
||||
440 => Self::_440,
|
||||
450 => Self::_450,
|
||||
ffi::GST_GLSL_VERSION_NONE => Self::None,
|
||||
ffi::GST_GLSL_VERSION_100 => Self::_100,
|
||||
ffi::GST_GLSL_VERSION_110 => Self::_110,
|
||||
ffi::GST_GLSL_VERSION_120 => Self::_120,
|
||||
ffi::GST_GLSL_VERSION_130 => Self::_130,
|
||||
ffi::GST_GLSL_VERSION_140 => Self::_140,
|
||||
ffi::GST_GLSL_VERSION_150 => Self::_150,
|
||||
ffi::GST_GLSL_VERSION_300 => Self::_300,
|
||||
ffi::GST_GLSL_VERSION_310 => Self::_310,
|
||||
ffi::GST_GLSL_VERSION_320 => Self::_320,
|
||||
ffi::GST_GLSL_VERSION_330 => Self::_330,
|
||||
ffi::GST_GLSL_VERSION_400 => Self::_400,
|
||||
ffi::GST_GLSL_VERSION_410 => Self::_410,
|
||||
ffi::GST_GLSL_VERSION_420 => Self::_420,
|
||||
ffi::GST_GLSL_VERSION_430 => Self::_430,
|
||||
ffi::GST_GLSL_VERSION_440 => Self::_440,
|
||||
ffi::GST_GLSL_VERSION_450 => Self::_450,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -700,9 +700,9 @@ impl FromGlib<ffi::GstGLStereoDownmix> for GLStereoDownmix {
|
|||
unsafe fn from_glib(value: ffi::GstGLStereoDownmix) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::GreenMagentaDubois,
|
||||
1 => Self::RedCyanDubois,
|
||||
2 => Self::AmberBlueDubois,
|
||||
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_AMBER_BLUE_DUBOIS => Self::AmberBlueDubois,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -814,10 +814,10 @@ impl FromGlib<ffi::GstGLTextureTarget> for GLTextureTarget {
|
|||
unsafe fn from_glib(value: ffi::GstGLTextureTarget) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::None,
|
||||
1 => Self::_2d,
|
||||
2 => Self::Rectangle,
|
||||
3 => Self::ExternalOes,
|
||||
ffi::GST_GL_TEXTURE_TARGET_NONE => Self::None,
|
||||
ffi::GST_GL_TEXTURE_TARGET_2D => Self::_2d,
|
||||
ffi::GST_GL_TEXTURE_TARGET_RECTANGLE => Self::Rectangle,
|
||||
ffi::GST_GL_TEXTURE_TARGET_EXTERNAL_OES => Self::ExternalOes,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -895,11 +895,11 @@ impl FromGlib<ffi::GstGLUploadReturn> for GLUploadReturn {
|
|||
unsafe fn from_glib(value: ffi::GstGLUploadReturn) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
1 => Self::Done,
|
||||
-1 => Self::Error,
|
||||
-2 => Self::Unsupported,
|
||||
-3 => Self::Reconfigure,
|
||||
-100 => Self::UnsharedGlContext,
|
||||
ffi::GST_GL_UPLOAD_DONE => Self::Done,
|
||||
ffi::GST_GL_UPLOAD_ERROR => Self::Error,
|
||||
ffi::GST_GL_UPLOAD_UNSUPPORTED => Self::Unsupported,
|
||||
ffi::GST_GL_UPLOAD_RECONFIGURE => Self::Reconfigure,
|
||||
ffi::GST_GL_UPLOAD_UNSHARED_GL_CONTEXT => Self::UnsharedGlContext,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -971,9 +971,9 @@ impl FromGlib<ffi::GstGLWindowError> for GLWindowError {
|
|||
unsafe fn from_glib(value: ffi::GstGLWindowError) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Failed,
|
||||
1 => Self::OldLibs,
|
||||
2 => Self::ResourceUnavailable,
|
||||
ffi::GST_GL_WINDOW_ERROR_FAILED => Self::Failed,
|
||||
ffi::GST_GL_WINDOW_ERROR_OLD_LIBS => Self::OldLibs,
|
||||
ffi::GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE => Self::ResourceUnavailable,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -993,9 +993,9 @@ impl ErrorDomain for GLWindowError {
|
|||
fn from(code: i32) -> Option<Self> {
|
||||
skip_assert_initialized!();
|
||||
match code {
|
||||
0 => Some(Self::Failed),
|
||||
1 => Some(Self::OldLibs),
|
||||
2 => Some(Self::ResourceUnavailable),
|
||||
ffi::GST_GL_WINDOW_ERROR_FAILED => Some(Self::Failed),
|
||||
ffi::GST_GL_WINDOW_ERROR_OLD_LIBS => Some(Self::OldLibs),
|
||||
ffi::GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE => Some(Self::ResourceUnavailable),
|
||||
_ => Some(Self::Failed),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -264,7 +264,7 @@ pub struct GstGLAllocationParams {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLAllocationParams {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLAllocationParams @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLAllocationParams @ {:p}", self))
|
||||
.field("struct_size", &self.struct_size)
|
||||
.field("copy", &self.copy)
|
||||
.field("free", &self.free)
|
||||
|
@ -299,7 +299,7 @@ pub struct GstGLAsyncDebug {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLAsyncDebug {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLAsyncDebug @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLAsyncDebug @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -323,7 +323,7 @@ pub struct GstGLBaseFilterClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBaseFilterClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBaseFilterClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBaseFilterClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("supported_gl_api", &self.supported_gl_api)
|
||||
.field("gl_start", &self.gl_start)
|
||||
|
@ -358,7 +358,7 @@ pub struct GstGLBaseMemory {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBaseMemory {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBaseMemory @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBaseMemory @ {:p}", self))
|
||||
.field("mem", &self.mem)
|
||||
.field("context", &self.context)
|
||||
.field("lock", &self.lock)
|
||||
|
@ -386,18 +386,15 @@ pub struct GstGLBaseMemoryAllocatorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBaseMemoryAllocatorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLBaseMemoryAllocatorClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("alloc", &self.alloc)
|
||||
.field("create", &self.create)
|
||||
.field("map", &self.map)
|
||||
.field("unmap", &self.unmap)
|
||||
.field("copy", &self.copy)
|
||||
.field("destroy", &self.destroy)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLBaseMemoryAllocatorClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("alloc", &self.alloc)
|
||||
.field("create", &self.create)
|
||||
.field("map", &self.map)
|
||||
.field("unmap", &self.unmap)
|
||||
.field("copy", &self.copy)
|
||||
.field("destroy", &self.destroy)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -415,7 +412,7 @@ pub struct GstGLBaseSrcClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBaseSrcClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBaseSrcClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBaseSrcClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("supported_gl_api", &self.supported_gl_api)
|
||||
.field("gl_start", &self.gl_start)
|
||||
|
@ -441,7 +438,7 @@ pub struct GstGLBuffer {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBuffer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBuffer @ {:p}", self))
|
||||
.field("mem", &self.mem)
|
||||
.field("id", &self.id)
|
||||
.field("target", &self.target)
|
||||
|
@ -461,14 +458,11 @@ pub struct GstGLBufferAllocationParams {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBufferAllocationParams {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLBufferAllocationParams @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent", &self.parent)
|
||||
.field("gl_target", &self.gl_target)
|
||||
.field("gl_usage", &self.gl_usage)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLBufferAllocationParams @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("gl_target", &self.gl_target)
|
||||
.field("gl_usage", &self.gl_usage)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -481,12 +475,9 @@ pub struct GstGLBufferAllocatorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBufferAllocatorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLBufferAllocatorClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLBufferAllocatorClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -499,7 +490,7 @@ pub struct GstGLBufferPoolClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBufferPoolClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBufferPoolClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBufferPoolClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -519,7 +510,7 @@ pub struct GstGLColorConvertClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLColorConvertClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLColorConvertClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLColorConvertClass @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -559,7 +550,7 @@ pub struct GstGLContextClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLContextClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLContextClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLContextClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("get_current_context", &self.get_current_context)
|
||||
.field("get_gl_context", &self.get_gl_context)
|
||||
|
@ -593,7 +584,7 @@ pub struct GstGLDisplayClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplayClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLDisplayClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLDisplayClass @ {:p}", self))
|
||||
.field("object_class", &self.object_class)
|
||||
.field("get_handle", &self.get_handle)
|
||||
.field("create_window", &self.create_window)
|
||||
|
@ -637,7 +628,7 @@ pub struct GstGLFilterClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLFilterClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLFilterClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLFilterClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("set_caps", &self.set_caps)
|
||||
.field("filter", &self.filter)
|
||||
|
@ -657,7 +648,7 @@ pub struct GstGLFramebufferClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLFramebufferClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLFramebufferClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLFramebufferClass @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -691,7 +682,7 @@ pub struct GstGLMemory {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLMemory {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLMemory @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLMemory @ {:p}", self))
|
||||
.field("mem", &self.mem)
|
||||
.field("tex_id", &self.tex_id)
|
||||
.field("tex_target", &self.tex_target)
|
||||
|
@ -719,14 +710,11 @@ pub struct GstGLMemoryAllocatorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLMemoryAllocatorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLMemoryAllocatorClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("map", &self.map)
|
||||
.field("copy", &self.copy)
|
||||
.field("unmap", &self.unmap)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLMemoryAllocatorClass @ {:p}", self))
|
||||
.field("map", &self.map)
|
||||
.field("copy", &self.copy)
|
||||
.field("unmap", &self.unmap)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -740,7 +728,7 @@ pub struct GstGLMemoryPBO {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLMemoryPBO {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLMemoryPBO @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLMemoryPBO @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -754,12 +742,9 @@ pub struct GstGLMemoryPBOAllocatorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLMemoryPBOAllocatorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLMemoryPBOAllocatorClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLMemoryPBOAllocatorClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -772,12 +757,9 @@ pub struct GstGLOverlayCompositorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLOverlayCompositorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLOverlayCompositorClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("object_class", &self.object_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLOverlayCompositorClass @ {:p}", self))
|
||||
.field("object_class", &self.object_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -795,8 +777,7 @@ pub struct GstGLQuery {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLQuery {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLQuery @ {:?}", self as *const _))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLQuery @ {:p}", self)).finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -814,7 +795,7 @@ pub struct GstGLRenderbuffer {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLRenderbuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLRenderbuffer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLRenderbuffer @ {:p}", self))
|
||||
.field("renderbuffer_id", &self.renderbuffer_id)
|
||||
.field("renderbuffer_format", &self.renderbuffer_format)
|
||||
.field("width", &self.width)
|
||||
|
@ -836,14 +817,11 @@ pub struct GstGLRenderbufferAllocationParams {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLRenderbufferAllocationParams {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLRenderbufferAllocationParams @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("renderbuffer_format", &self.renderbuffer_format)
|
||||
.field("width", &self.width)
|
||||
.field("height", &self.height)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLRenderbufferAllocationParams @ {:p}", self))
|
||||
.field("renderbuffer_format", &self.renderbuffer_format)
|
||||
.field("width", &self.width)
|
||||
.field("height", &self.height)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -856,12 +834,9 @@ pub struct GstGLRenderbufferAllocatorClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLRenderbufferAllocatorClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLRenderbufferAllocatorClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLRenderbufferAllocatorClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -874,7 +849,7 @@ pub struct GstGLSLStageClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLSLStageClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLSLStageClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLSLStageClass @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -892,7 +867,7 @@ pub struct GstGLShaderClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLShaderClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLShaderClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLShaderClass @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -928,7 +903,7 @@ pub struct GstGLSyncMeta {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLSyncMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLSyncMeta @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLSyncMeta @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("context", &self.context)
|
||||
.field("data", &self.data)
|
||||
|
@ -954,7 +929,7 @@ pub struct GstGLUploadClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLUploadClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLUploadClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLUploadClass @ {:p}", self))
|
||||
.field("object_class", &self.object_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -979,17 +954,14 @@ pub struct GstGLVideoAllocationParams {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLVideoAllocationParams {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLVideoAllocationParams @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent", &self.parent)
|
||||
.field("v_info", &self.v_info)
|
||||
.field("plane", &self.plane)
|
||||
.field("valign", &self.valign)
|
||||
.field("target", &self.target)
|
||||
.field("tex_format", &self.tex_format)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLVideoAllocationParams @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("v_info", &self.v_info)
|
||||
.field("plane", &self.plane)
|
||||
.field("valign", &self.valign)
|
||||
.field("target", &self.target)
|
||||
.field("tex_format", &self.tex_format)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1002,7 +974,7 @@ pub struct GstGLViewConvertClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLViewConvertClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLViewConvertClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLViewConvertClass @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1041,7 +1013,7 @@ pub struct GstGLWindowClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLWindowClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLWindowClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLWindowClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("get_display", &self.get_display)
|
||||
.field("set_window_handle", &self.set_window_handle)
|
||||
|
@ -1084,7 +1056,7 @@ pub struct GstGLBaseFilter {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBaseFilter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBaseFilter @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBaseFilter @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("display", &self.display)
|
||||
.field("context", &self.context)
|
||||
|
@ -1104,11 +1076,8 @@ pub struct GstGLBaseMemoryAllocator {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBaseMemoryAllocator {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLBaseMemoryAllocator @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLBaseMemoryAllocator @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1127,7 +1096,7 @@ pub struct GstGLBaseSrc {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBaseSrc {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBaseSrc @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBaseSrc @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("display", &self.display)
|
||||
.field("context", &self.context)
|
||||
|
@ -1147,7 +1116,7 @@ pub struct GstGLBufferAllocator {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBufferAllocator {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBufferAllocator @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBufferAllocator @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
@ -1164,7 +1133,7 @@ pub struct GstGLBufferPool {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLBufferPool {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLBufferPool @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLBufferPool @ {:p}", self))
|
||||
.field("bufferpool", &self.bufferpool)
|
||||
.field("context", &self.context)
|
||||
.finish()
|
||||
|
@ -1190,7 +1159,7 @@ pub struct GstGLColorConvert {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLColorConvert {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLColorConvert @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLColorConvert @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1208,7 +1177,7 @@ pub struct GstGLContext {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLContext {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLContext @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLContext @ {:p}", self))
|
||||
.field("gl_vtable", &self.gl_vtable)
|
||||
.finish()
|
||||
}
|
||||
|
@ -1228,7 +1197,7 @@ pub struct GstGLDisplay {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplay {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLDisplay @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLDisplay @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1258,7 +1227,7 @@ pub struct GstGLFilter {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLFilter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLFilter @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLFilter @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("in_info", &self.in_info)
|
||||
.field("out_info", &self.out_info)
|
||||
|
@ -1283,7 +1252,7 @@ pub struct GstGLFramebuffer {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLFramebuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLFramebuffer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLFramebuffer @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1297,7 +1266,7 @@ pub struct GstGLMemoryAllocator {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLMemoryAllocator {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLMemoryAllocator @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLMemoryAllocator @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1311,7 +1280,7 @@ pub struct GstGLMemoryPBOAllocator {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLMemoryPBOAllocator {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLMemoryPBOAllocator @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLMemoryPBOAllocator @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
@ -1333,7 +1302,7 @@ pub struct GstGLOverlayCompositor {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLOverlayCompositor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLOverlayCompositor @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLOverlayCompositor @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1347,12 +1316,9 @@ pub struct GstGLRenderbufferAllocator {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLRenderbufferAllocator {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLRenderbufferAllocator @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLRenderbufferAllocator @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1367,7 +1333,7 @@ pub struct GstGLSLStage {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLSLStage {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLSLStage @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLSLStage @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1383,7 +1349,7 @@ pub struct GstGLShader {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLShader {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLShader @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLShader @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("context", &self.context)
|
||||
.finish()
|
||||
|
@ -1401,7 +1367,7 @@ pub struct GstGLUpload {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLUpload {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLUpload @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLUpload @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("context", &self.context)
|
||||
.finish()
|
||||
|
@ -1433,7 +1399,7 @@ pub struct GstGLViewConvert {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLViewConvert {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLViewConvert @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLViewConvert @ {:p}", self))
|
||||
.field("object", &self.object)
|
||||
.field("context", &self.context)
|
||||
.field("shader", &self.shader)
|
||||
|
@ -1479,7 +1445,7 @@ pub struct GstGLWindow {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLWindow {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLWindow @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLWindow @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -34,13 +34,10 @@ pub struct GstGLDisplayWaylandClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplayWaylandClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstGLDisplayWaylandClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("object_class", &self.object_class)
|
||||
.field("_padding", &self._padding)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstGLDisplayWaylandClass @ {:p}", self))
|
||||
.field("object_class", &self.object_class)
|
||||
.field("_padding", &self._padding)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,7 +57,7 @@ pub struct GstGLDisplayWayland {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplayWayland {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLDisplayWayland @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLDisplayWayland @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("display", &self.display)
|
||||
.field("registry", &self.registry)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -34,7 +34,7 @@ pub struct GstGLDisplayX11Class {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplayX11Class {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLDisplayX11Class @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLDisplayX11Class @ {:p}", self))
|
||||
.field("object_class", &self.object_class)
|
||||
.field("_padding", &self._padding)
|
||||
.finish()
|
||||
|
@ -55,7 +55,7 @@ pub struct GstGLDisplayX11 {
|
|||
|
||||
impl ::std::fmt::Debug for GstGLDisplayX11 {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstGLDisplayX11 @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstGLDisplayX11 @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -612,7 +612,7 @@ pub struct GstMpegtsAtscEIT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscEIT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscEIT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscEIT @ {:p}", self))
|
||||
.field("source_id", &self.source_id)
|
||||
.field("protocol_version", &self.protocol_version)
|
||||
.field("events", &self.events)
|
||||
|
@ -633,7 +633,7 @@ pub struct GstMpegtsAtscEITEvent {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscEITEvent {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscEITEvent @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscEITEvent @ {:p}", self))
|
||||
.field("event_id", &self.event_id)
|
||||
.field("start_time", &self.start_time)
|
||||
.field("etm_location", &self.etm_location)
|
||||
|
@ -655,7 +655,7 @@ pub struct GstMpegtsAtscETT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscETT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscETT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscETT @ {:p}", self))
|
||||
.field("ett_table_id_extension", &self.ett_table_id_extension)
|
||||
.field("protocol_version", &self.protocol_version)
|
||||
.field("etm_id", &self.etm_id)
|
||||
|
@ -675,7 +675,7 @@ pub struct GstMpegtsAtscMGT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscMGT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscMGT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscMGT @ {:p}", self))
|
||||
.field("protocol_version", &self.protocol_version)
|
||||
.field("tables_defined", &self.tables_defined)
|
||||
.field("tables", &self.tables)
|
||||
|
@ -696,7 +696,7 @@ pub struct GstMpegtsAtscMGTTable {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscMGTTable {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscMGTTable @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscMGTTable @ {:p}", self))
|
||||
.field("table_type", &self.table_type)
|
||||
.field("pid", &self.pid)
|
||||
.field("version_number", &self.version_number)
|
||||
|
@ -715,7 +715,7 @@ pub struct GstMpegtsAtscMultString {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscMultString {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscMultString @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscMultString @ {:p}", self))
|
||||
.field("iso_639_langcode", &self.iso_639_langcode)
|
||||
.field("segments", &self.segments)
|
||||
.finish()
|
||||
|
@ -734,7 +734,7 @@ pub struct GstMpegtsAtscRRT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscRRT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscRRT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscRRT @ {:p}", self))
|
||||
.field("protocol_version", &self.protocol_version)
|
||||
.field("names", &self.names)
|
||||
.field("dimensions_defined", &self.dimensions_defined)
|
||||
|
@ -755,15 +755,12 @@ pub struct GstMpegtsAtscRRTDimension {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscRRTDimension {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsAtscRRTDimension @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("names", &self.names)
|
||||
.field("graduated_scale", &self.graduated_scale)
|
||||
.field("values_defined", &self.values_defined)
|
||||
.field("values", &self.values)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsAtscRRTDimension @ {:p}", self))
|
||||
.field("names", &self.names)
|
||||
.field("graduated_scale", &self.graduated_scale)
|
||||
.field("values_defined", &self.values_defined)
|
||||
.field("values", &self.values)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -776,13 +773,10 @@ pub struct GstMpegtsAtscRRTDimensionValue {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscRRTDimensionValue {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsAtscRRTDimensionValue @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("abbrev_ratings", &self.abbrev_ratings)
|
||||
.field("ratings", &self.ratings)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsAtscRRTDimensionValue @ {:p}", self))
|
||||
.field("abbrev_ratings", &self.abbrev_ratings)
|
||||
.field("ratings", &self.ratings)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -801,7 +795,7 @@ pub struct GstMpegtsAtscSTT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscSTT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscSTT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscSTT @ {:p}", self))
|
||||
.field("protocol_version", &self.protocol_version)
|
||||
.field("system_time", &self.system_time)
|
||||
.field("gps_utc_offset", &self.gps_utc_offset)
|
||||
|
@ -826,16 +820,13 @@ pub struct GstMpegtsAtscStringSegment {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscStringSegment {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsAtscStringSegment @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("compression_type", &self.compression_type)
|
||||
.field("mode", &self.mode)
|
||||
.field("compressed_data_size", &self.compressed_data_size)
|
||||
.field("compressed_data", &self.compressed_data)
|
||||
.field("cached_string", &self.cached_string)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsAtscStringSegment @ {:p}", self))
|
||||
.field("compression_type", &self.compression_type)
|
||||
.field("mode", &self.mode)
|
||||
.field("compressed_data_size", &self.compressed_data_size)
|
||||
.field("compressed_data", &self.compressed_data)
|
||||
.field("cached_string", &self.cached_string)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -850,7 +841,7 @@ pub struct GstMpegtsAtscVCT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscVCT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscVCT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscVCT @ {:p}", self))
|
||||
.field("transport_stream_id", &self.transport_stream_id)
|
||||
.field("protocol_version", &self.protocol_version)
|
||||
.field("sources", &self.sources)
|
||||
|
@ -882,7 +873,7 @@ pub struct GstMpegtsAtscVCTSource {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsAtscVCTSource {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsAtscVCTSource @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsAtscVCTSource @ {:p}", self))
|
||||
.field("short_name", &self.short_name)
|
||||
.field("major_channel_number", &self.major_channel_number)
|
||||
.field("minor_channel_number", &self.minor_channel_number)
|
||||
|
@ -912,7 +903,7 @@ pub struct GstMpegtsBAT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsBAT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsBAT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsBAT @ {:p}", self))
|
||||
.field("descriptors", &self.descriptors)
|
||||
.field("streams", &self.streams)
|
||||
.finish()
|
||||
|
@ -929,7 +920,7 @@ pub struct GstMpegtsBATStream {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsBATStream {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsBATStream @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsBATStream @ {:p}", self))
|
||||
.field("transport_stream_id", &self.transport_stream_id)
|
||||
.field("original_network_id", &self.original_network_id)
|
||||
.field("descriptors", &self.descriptors)
|
||||
|
@ -950,8 +941,8 @@ pub struct GstMpegtsCableDeliverySystemDescriptor {
|
|||
impl ::std::fmt::Debug for GstMpegtsCableDeliverySystemDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsCableDeliverySystemDescriptor @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsCableDeliverySystemDescriptor @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("frequency", &self.frequency)
|
||||
.field("outer_fec", &self.outer_fec)
|
||||
|
@ -974,16 +965,13 @@ pub struct GstMpegtsComponentDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsComponentDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsComponentDescriptor @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("stream_content", &self.stream_content)
|
||||
.field("component_type", &self.component_type)
|
||||
.field("component_tag", &self.component_tag)
|
||||
.field("language_code", &self.language_code)
|
||||
.field("text", &self.text)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsComponentDescriptor @ {:p}", self))
|
||||
.field("stream_content", &self.stream_content)
|
||||
.field("component_type", &self.component_type)
|
||||
.field("component_tag", &self.component_tag)
|
||||
.field("language_code", &self.language_code)
|
||||
.field("text", &self.text)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -997,7 +985,7 @@ pub struct GstMpegtsContent {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsContent {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsContent @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsContent @ {:p}", self))
|
||||
.field("content_nibble_1", &self.content_nibble_1)
|
||||
.field("content_nibble_2", &self.content_nibble_2)
|
||||
.field("user_byte", &self.user_byte)
|
||||
|
@ -1019,17 +1007,14 @@ pub struct GstMpegtsDVBLinkageDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDVBLinkageDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDVBLinkageDescriptor @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("transport_stream_id", &self.transport_stream_id)
|
||||
.field("original_network_id", &self.original_network_id)
|
||||
.field("service_id", &self.service_id)
|
||||
.field("linkage_type", &self.linkage_type)
|
||||
.field("private_data_length", &self.private_data_length)
|
||||
.field("private_data_bytes", &self.private_data_bytes)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsDVBLinkageDescriptor @ {:p}", self))
|
||||
.field("transport_stream_id", &self.transport_stream_id)
|
||||
.field("original_network_id", &self.original_network_id)
|
||||
.field("service_id", &self.service_id)
|
||||
.field("linkage_type", &self.linkage_type)
|
||||
.field("private_data_length", &self.private_data_length)
|
||||
.field("private_data_bytes", &self.private_data_bytes)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1043,14 +1028,11 @@ pub struct GstMpegtsDVBLinkageEvent {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDVBLinkageEvent {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDVBLinkageEvent @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("target_event_id", &self.target_event_id)
|
||||
.field("target_listed", &self.target_listed)
|
||||
.field("event_simulcast", &self.event_simulcast)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsDVBLinkageEvent @ {:p}", self))
|
||||
.field("target_event_id", &self.target_event_id)
|
||||
.field("target_listed", &self.target_listed)
|
||||
.field("event_simulcast", &self.event_simulcast)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1072,28 +1054,25 @@ pub struct GstMpegtsDVBLinkageExtendedEvent {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDVBLinkageExtendedEvent {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDVBLinkageExtendedEvent @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("target_event_id", &self.target_event_id)
|
||||
.field("target_listed", &self.target_listed)
|
||||
.field("event_simulcast", &self.event_simulcast)
|
||||
.field("link_type", &self.link_type)
|
||||
.field("target_id_type", &self.target_id_type)
|
||||
.field("original_network_id_flag", &self.original_network_id_flag)
|
||||
.field("service_id_flag", &self.service_id_flag)
|
||||
.field("user_defined_id", &self.user_defined_id)
|
||||
.field(
|
||||
"target_transport_stream_id",
|
||||
&self.target_transport_stream_id,
|
||||
)
|
||||
.field(
|
||||
"target_original_network_id",
|
||||
&self.target_original_network_id,
|
||||
)
|
||||
.field("target_service_id", &self.target_service_id)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsDVBLinkageExtendedEvent @ {:p}", self))
|
||||
.field("target_event_id", &self.target_event_id)
|
||||
.field("target_listed", &self.target_listed)
|
||||
.field("event_simulcast", &self.event_simulcast)
|
||||
.field("link_type", &self.link_type)
|
||||
.field("target_id_type", &self.target_id_type)
|
||||
.field("original_network_id_flag", &self.original_network_id_flag)
|
||||
.field("service_id_flag", &self.service_id_flag)
|
||||
.field("user_defined_id", &self.user_defined_id)
|
||||
.field(
|
||||
"target_transport_stream_id",
|
||||
&self.target_transport_stream_id,
|
||||
)
|
||||
.field(
|
||||
"target_original_network_id",
|
||||
&self.target_original_network_id,
|
||||
)
|
||||
.field("target_service_id", &self.target_service_id)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1108,15 +1087,12 @@ pub struct GstMpegtsDVBLinkageMobileHandOver {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDVBLinkageMobileHandOver {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDVBLinkageMobileHandOver @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("hand_over_type", &self.hand_over_type)
|
||||
.field("origin_type", &self.origin_type)
|
||||
.field("network_id", &self.network_id)
|
||||
.field("initial_service_id", &self.initial_service_id)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsDVBLinkageMobileHandOver @ {:p}", self))
|
||||
.field("hand_over_type", &self.hand_over_type)
|
||||
.field("origin_type", &self.origin_type)
|
||||
.field("network_id", &self.network_id)
|
||||
.field("initial_service_id", &self.initial_service_id)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1129,13 +1105,10 @@ pub struct GstMpegtsDVBParentalRatingItem {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDVBParentalRatingItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDVBParentalRatingItem @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("country_code", &self.country_code)
|
||||
.field("rating", &self.rating)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsDVBParentalRatingItem @ {:p}", self))
|
||||
.field("country_code", &self.country_code)
|
||||
.field("rating", &self.rating)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1148,13 +1121,10 @@ pub struct GstMpegtsDVBServiceListItem {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDVBServiceListItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDVBServiceListItem @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("service_id", &self.service_id)
|
||||
.field("type_", &self.type_)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsDVBServiceListItem @ {:p}", self))
|
||||
.field("service_id", &self.service_id)
|
||||
.field("type_", &self.type_)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1171,17 +1141,14 @@ pub struct GstMpegtsDataBroadcastDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDataBroadcastDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDataBroadcastDescriptor @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("data_broadcast_id", &self.data_broadcast_id)
|
||||
.field("component_tag", &self.component_tag)
|
||||
.field("length", &self.length)
|
||||
.field("selector_bytes", &self.selector_bytes)
|
||||
.field("language_code", &self.language_code)
|
||||
.field("text", &self.text)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsDataBroadcastDescriptor @ {:p}", self))
|
||||
.field("data_broadcast_id", &self.data_broadcast_id)
|
||||
.field("component_tag", &self.component_tag)
|
||||
.field("length", &self.length)
|
||||
.field("selector_bytes", &self.selector_bytes)
|
||||
.field("language_code", &self.language_code)
|
||||
.field("text", &self.text)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1197,7 +1164,7 @@ pub struct GstMpegtsDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsDescriptor @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsDescriptor @ {:p}", self))
|
||||
.field("tag", &self.tag)
|
||||
.field("tag_extension", &self.tag_extension)
|
||||
.field("length", &self.length)
|
||||
|
@ -1216,8 +1183,8 @@ pub struct GstMpegtsDvbMultilingualBouquetNameItem {
|
|||
impl ::std::fmt::Debug for GstMpegtsDvbMultilingualBouquetNameItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDvbMultilingualBouquetNameItem @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsDvbMultilingualBouquetNameItem @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("language_code", &self.language_code)
|
||||
.field("bouquet_name", &self.bouquet_name)
|
||||
|
@ -1235,8 +1202,8 @@ pub struct GstMpegtsDvbMultilingualComponentItem {
|
|||
impl ::std::fmt::Debug for GstMpegtsDvbMultilingualComponentItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDvbMultilingualComponentItem @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsDvbMultilingualComponentItem @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("language_code", &self.language_code)
|
||||
.field("description", &self.description)
|
||||
|
@ -1254,8 +1221,8 @@ pub struct GstMpegtsDvbMultilingualNetworkNameItem {
|
|||
impl ::std::fmt::Debug for GstMpegtsDvbMultilingualNetworkNameItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDvbMultilingualNetworkNameItem @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsDvbMultilingualNetworkNameItem @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("language_code", &self.language_code)
|
||||
.field("network_name", &self.network_name)
|
||||
|
@ -1274,8 +1241,8 @@ pub struct GstMpegtsDvbMultilingualServiceNameItem {
|
|||
impl ::std::fmt::Debug for GstMpegtsDvbMultilingualServiceNameItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsDvbMultilingualServiceNameItem @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsDvbMultilingualServiceNameItem @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("language_code", &self.language_code)
|
||||
.field("provider_name", &self.provider_name)
|
||||
|
@ -1298,7 +1265,7 @@ pub struct GstMpegtsEIT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsEIT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsEIT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsEIT @ {:p}", self))
|
||||
.field("transport_stream_id", &self.transport_stream_id)
|
||||
.field("original_network_id", &self.original_network_id)
|
||||
.field(
|
||||
|
@ -1326,7 +1293,7 @@ pub struct GstMpegtsEITEvent {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsEITEvent {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsEITEvent @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsEITEvent @ {:p}", self))
|
||||
.field("event_id", &self.event_id)
|
||||
.field("start_time", &self.start_time)
|
||||
.field("duration", &self.duration)
|
||||
|
@ -1349,16 +1316,13 @@ pub struct GstMpegtsExtendedEventDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsExtendedEventDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsExtendedEventDescriptor @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("descriptor_number", &self.descriptor_number)
|
||||
.field("last_descriptor_number", &self.last_descriptor_number)
|
||||
.field("language_code", &self.language_code)
|
||||
.field("items", &self.items)
|
||||
.field("text", &self.text)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsExtendedEventDescriptor @ {:p}", self))
|
||||
.field("descriptor_number", &self.descriptor_number)
|
||||
.field("last_descriptor_number", &self.last_descriptor_number)
|
||||
.field("language_code", &self.language_code)
|
||||
.field("items", &self.items)
|
||||
.field("text", &self.text)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1371,13 +1335,10 @@ pub struct GstMpegtsExtendedEventItem {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsExtendedEventItem {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsExtendedEventItem @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("item_description", &self.item_description)
|
||||
.field("item", &self.item)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsExtendedEventItem @ {:p}", self))
|
||||
.field("item_description", &self.item_description)
|
||||
.field("item", &self.item)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1391,12 +1352,9 @@ pub struct GstMpegtsISO639LanguageDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsISO639LanguageDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsISO639LanguageDescriptor @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("nb_language", &self.nb_language)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsISO639LanguageDescriptor @ {:p}", self))
|
||||
.field("nb_language", &self.nb_language)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1410,7 +1368,7 @@ pub struct GstMpegtsLogicalChannel {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsLogicalChannel {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsLogicalChannel @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsLogicalChannel @ {:p}", self))
|
||||
.field("service_id", &self.service_id)
|
||||
.field("visible_service", &self.visible_service)
|
||||
.field("logical_channel_number", &self.logical_channel_number)
|
||||
|
@ -1427,12 +1385,9 @@ pub struct GstMpegtsLogicalChannelDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsLogicalChannelDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsLogicalChannelDescriptor @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("nb_channels", &self.nb_channels)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsLogicalChannelDescriptor @ {:p}", self))
|
||||
.field("nb_channels", &self.nb_channels)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1447,7 +1402,7 @@ pub struct GstMpegtsNIT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsNIT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsNIT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsNIT @ {:p}", self))
|
||||
.field("actual_network", &self.actual_network)
|
||||
.field("network_id", &self.network_id)
|
||||
.field("descriptors", &self.descriptors)
|
||||
|
@ -1466,7 +1421,7 @@ pub struct GstMpegtsNITStream {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsNITStream {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsNITStream @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsNITStream @ {:p}", self))
|
||||
.field("transport_stream_id", &self.transport_stream_id)
|
||||
.field("original_network_id", &self.original_network_id)
|
||||
.field("descriptors", &self.descriptors)
|
||||
|
@ -1485,7 +1440,7 @@ pub struct GstMpegtsPMT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsPMT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsPMT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsPMT @ {:p}", self))
|
||||
.field("pcr_pid", &self.pcr_pid)
|
||||
.field("program_number", &self.program_number)
|
||||
.field("descriptors", &self.descriptors)
|
||||
|
@ -1504,7 +1459,7 @@ pub struct GstMpegtsPMTStream {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsPMTStream {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsPMTStream @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsPMTStream @ {:p}", self))
|
||||
.field("stream_type", &self.stream_type)
|
||||
.field("pid", &self.pid)
|
||||
.field("descriptors", &self.descriptors)
|
||||
|
@ -1521,7 +1476,7 @@ pub struct GstMpegtsPatProgram {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsPatProgram {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsPatProgram @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsPatProgram @ {:p}", self))
|
||||
.field("program_number", &self.program_number)
|
||||
.field(
|
||||
"network_or_program_map_PID",
|
||||
|
@ -1549,7 +1504,7 @@ pub struct GstMpegtsSCTESIT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsSCTESIT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsSCTESIT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsSCTESIT @ {:p}", self))
|
||||
.field("encrypted_packet", &self.encrypted_packet)
|
||||
.field("encryption_algorithm", &self.encryption_algorithm)
|
||||
.field("pts_adjustment", &self.pts_adjustment)
|
||||
|
@ -1586,34 +1541,31 @@ pub struct GstMpegtsSCTESpliceEvent {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsSCTESpliceEvent {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsSCTESpliceEvent @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("insert_event", &self.insert_event)
|
||||
.field("splice_event_id", &self.splice_event_id)
|
||||
.field(
|
||||
"splice_event_cancel_indicator",
|
||||
&self.splice_event_cancel_indicator,
|
||||
)
|
||||
.field("out_of_network_indicator", &self.out_of_network_indicator)
|
||||
.field("program_splice_flag", &self.program_splice_flag)
|
||||
.field("duration_flag", &self.duration_flag)
|
||||
.field("splice_immediate_flag", &self.splice_immediate_flag)
|
||||
.field(
|
||||
"program_splice_time_specified",
|
||||
&self.program_splice_time_specified,
|
||||
)
|
||||
.field("program_splice_time", &self.program_splice_time)
|
||||
.field(
|
||||
"break_duration_auto_return",
|
||||
&self.break_duration_auto_return,
|
||||
)
|
||||
.field("break_duration", &self.break_duration)
|
||||
.field("unique_program_id", &self.unique_program_id)
|
||||
.field("avail_num", &self.avail_num)
|
||||
.field("avails_expected", &self.avails_expected)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsSCTESpliceEvent @ {:p}", self))
|
||||
.field("insert_event", &self.insert_event)
|
||||
.field("splice_event_id", &self.splice_event_id)
|
||||
.field(
|
||||
"splice_event_cancel_indicator",
|
||||
&self.splice_event_cancel_indicator,
|
||||
)
|
||||
.field("out_of_network_indicator", &self.out_of_network_indicator)
|
||||
.field("program_splice_flag", &self.program_splice_flag)
|
||||
.field("duration_flag", &self.duration_flag)
|
||||
.field("splice_immediate_flag", &self.splice_immediate_flag)
|
||||
.field(
|
||||
"program_splice_time_specified",
|
||||
&self.program_splice_time_specified,
|
||||
)
|
||||
.field("program_splice_time", &self.program_splice_time)
|
||||
.field(
|
||||
"break_duration_auto_return",
|
||||
&self.break_duration_auto_return,
|
||||
)
|
||||
.field("break_duration", &self.break_duration)
|
||||
.field("unique_program_id", &self.unique_program_id)
|
||||
.field("avail_num", &self.avail_num)
|
||||
.field("avails_expected", &self.avails_expected)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1628,7 +1580,7 @@ pub struct GstMpegtsSDT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsSDT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsSDT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsSDT @ {:p}", self))
|
||||
.field("original_network_id", &self.original_network_id)
|
||||
.field("actual_ts", &self.actual_ts)
|
||||
.field("transport_stream_id", &self.transport_stream_id)
|
||||
|
@ -1650,7 +1602,7 @@ pub struct GstMpegtsSDTService {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsSDTService {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsSDTService @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsSDTService @ {:p}", self))
|
||||
.field("service_id", &self.service_id)
|
||||
.field("EIT_schedule_flag", &self.EIT_schedule_flag)
|
||||
.field(
|
||||
|
@ -1681,8 +1633,8 @@ pub struct GstMpegtsSatelliteDeliverySystemDescriptor {
|
|||
impl ::std::fmt::Debug for GstMpegtsSatelliteDeliverySystemDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsSatelliteDeliverySystemDescriptor @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsSatelliteDeliverySystemDescriptor @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("frequency", &self.frequency)
|
||||
.field("orbital_position", &self.orbital_position)
|
||||
|
@ -1722,7 +1674,7 @@ pub struct GstMpegtsSection {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsSection {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsSection @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsSection @ {:p}", self))
|
||||
.field("section_type", &self.section_type)
|
||||
.field("pid", &self.pid)
|
||||
.field("table_id", &self.table_id)
|
||||
|
@ -1746,14 +1698,11 @@ pub struct GstMpegtsT2DeliverySystemCell {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsT2DeliverySystemCell {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsT2DeliverySystemCell @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("cell_id", &self.cell_id)
|
||||
.field("centre_frequencies", &self.centre_frequencies)
|
||||
.field("sub_cells", &self.sub_cells)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsT2DeliverySystemCell @ {:p}", self))
|
||||
.field("cell_id", &self.cell_id)
|
||||
.field("centre_frequencies", &self.centre_frequencies)
|
||||
.field("sub_cells", &self.sub_cells)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1767,8 +1716,8 @@ pub struct GstMpegtsT2DeliverySystemCellExtension {
|
|||
impl ::std::fmt::Debug for GstMpegtsT2DeliverySystemCellExtension {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsT2DeliverySystemCellExtension @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsT2DeliverySystemCellExtension @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("cell_id_extension", &self.cell_id_extension)
|
||||
.field("transposer_frequency", &self.transposer_frequency)
|
||||
|
@ -1792,20 +1741,17 @@ pub struct GstMpegtsT2DeliverySystemDescriptor {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsT2DeliverySystemDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsT2DeliverySystemDescriptor @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("plp_id", &self.plp_id)
|
||||
.field("t2_system_id", &self.t2_system_id)
|
||||
.field("siso_miso", &self.siso_miso)
|
||||
.field("bandwidth", &self.bandwidth)
|
||||
.field("guard_interval", &self.guard_interval)
|
||||
.field("transmission_mode", &self.transmission_mode)
|
||||
.field("other_frequency", &self.other_frequency)
|
||||
.field("tfs", &self.tfs)
|
||||
.field("cells", &self.cells)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstMpegtsT2DeliverySystemDescriptor @ {:p}", self))
|
||||
.field("plp_id", &self.plp_id)
|
||||
.field("t2_system_id", &self.t2_system_id)
|
||||
.field("siso_miso", &self.siso_miso)
|
||||
.field("bandwidth", &self.bandwidth)
|
||||
.field("guard_interval", &self.guard_interval)
|
||||
.field("transmission_mode", &self.transmission_mode)
|
||||
.field("other_frequency", &self.other_frequency)
|
||||
.field("tfs", &self.tfs)
|
||||
.field("cells", &self.cells)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1818,7 +1764,7 @@ pub struct GstMpegtsTOT {
|
|||
|
||||
impl ::std::fmt::Debug for GstMpegtsTOT {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstMpegtsTOT @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstMpegtsTOT @ {:p}", self))
|
||||
.field("utc_time", &self.utc_time)
|
||||
.field("descriptors", &self.descriptors)
|
||||
.finish()
|
||||
|
@ -1845,8 +1791,8 @@ pub struct GstMpegtsTerrestrialDeliverySystemDescriptor {
|
|||
impl ::std::fmt::Debug for GstMpegtsTerrestrialDeliverySystemDescriptor {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstMpegtsTerrestrialDeliverySystemDescriptor @ {:?}",
|
||||
self as *const _
|
||||
"GstMpegtsTerrestrialDeliverySystemDescriptor @ {:p}",
|
||||
self
|
||||
))
|
||||
.field("frequency", &self.frequency)
|
||||
.field("bandwidth", &self.bandwidth)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -51,7 +51,7 @@ pub struct GstNetAddressMeta {
|
|||
|
||||
impl ::std::fmt::Debug for GstNetAddressMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNetAddressMeta @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNetAddressMeta @ {:p}", self))
|
||||
.field("meta", &self.meta)
|
||||
.field("addr", &self.addr)
|
||||
.finish()
|
||||
|
@ -67,7 +67,7 @@ pub struct GstNetClientClockClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstNetClientClockClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNetClientClockClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNetClientClockClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -87,13 +87,10 @@ pub struct GstNetControlMessageMeta {
|
|||
|
||||
impl ::std::fmt::Debug for GstNetControlMessageMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstNetControlMessageMeta @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("meta", &self.meta)
|
||||
.field("message", &self.message)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstNetControlMessageMeta @ {:p}", self))
|
||||
.field("meta", &self.meta)
|
||||
.field("message", &self.message)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -106,7 +103,7 @@ pub struct GstNetTimePacket {
|
|||
|
||||
impl ::std::fmt::Debug for GstNetTimePacket {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNetTimePacket @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNetTimePacket @ {:p}", self))
|
||||
.field("local_time", &self.local_time)
|
||||
.field("remote_time", &self.remote_time)
|
||||
.finish()
|
||||
|
@ -122,7 +119,7 @@ pub struct GstNetTimeProviderClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstNetTimeProviderClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNetTimeProviderClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNetTimeProviderClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("_gst_reserved", &self._gst_reserved)
|
||||
.finish()
|
||||
|
@ -143,7 +140,7 @@ pub struct GstNtpClockClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstNtpClockClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNtpClockClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNtpClockClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -158,7 +155,7 @@ pub struct GstPtpClockClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstPtpClockClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPtpClockClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPtpClockClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
|
@ -180,7 +177,7 @@ pub struct GstNetClientClock {
|
|||
|
||||
impl ::std::fmt::Debug for GstNetClientClock {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNetClientClock @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNetClientClock @ {:p}", self))
|
||||
.field("clock", &self.clock)
|
||||
.finish()
|
||||
}
|
||||
|
@ -196,7 +193,7 @@ pub struct GstNetTimeProvider {
|
|||
|
||||
impl ::std::fmt::Debug for GstNetTimeProvider {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNetTimeProvider @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNetTimeProvider @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
@ -212,7 +209,7 @@ pub struct GstNtpClock {
|
|||
|
||||
impl ::std::fmt::Debug for GstNtpClock {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstNtpClock @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstNtpClock @ {:p}", self))
|
||||
.field("clock", &self.clock)
|
||||
.finish()
|
||||
}
|
||||
|
@ -228,7 +225,7 @@ pub struct GstPtpClock {
|
|||
|
||||
impl ::std::fmt::Debug for GstPtpClock {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPtpClock @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPtpClock @ {:p}", self))
|
||||
.field("clock", &self.clock)
|
||||
.finish()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -51,12 +51,12 @@ impl FromGlib<ffi::GstDiscovererResult> for DiscovererResult {
|
|||
unsafe fn from_glib(value: ffi::GstDiscovererResult) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Ok,
|
||||
1 => Self::UriInvalid,
|
||||
2 => Self::Error,
|
||||
3 => Self::Timeout,
|
||||
4 => Self::Busy,
|
||||
5 => Self::MissingPlugins,
|
||||
ffi::GST_DISCOVERER_OK => Self::Ok,
|
||||
ffi::GST_DISCOVERER_URI_INVALID => Self::UriInvalid,
|
||||
ffi::GST_DISCOVERER_ERROR => Self::Error,
|
||||
ffi::GST_DISCOVERER_TIMEOUT => Self::Timeout,
|
||||
ffi::GST_DISCOVERER_BUSY => Self::Busy,
|
||||
ffi::GST_DISCOVERER_MISSING_PLUGINS => Self::MissingPlugins,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -118,7 +118,7 @@ pub struct GstAudioVisualizerClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioVisualizerClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioVisualizerClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioVisualizerClass @ {:p}", self))
|
||||
.field("setup", &self.setup)
|
||||
.field("render", &self.render)
|
||||
.field("decide_allocation", &self.decide_allocation)
|
||||
|
@ -146,7 +146,7 @@ pub struct GstDiscovererClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscovererClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDiscovererClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDiscovererClass @ {:p}", self))
|
||||
.field("parentclass", &self.parentclass)
|
||||
.field("finished", &self.finished)
|
||||
.field("starting", &self.starting)
|
||||
|
@ -187,11 +187,8 @@ pub struct GstInstallPluginsContext(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstInstallPluginsContext {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstInstallPluginsContext @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstInstallPluginsContext @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -208,7 +205,7 @@ pub struct GstAudioVisualizer {
|
|||
|
||||
impl ::std::fmt::Debug for GstAudioVisualizer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioVisualizer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstAudioVisualizer @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("req_spf", &self.req_spf)
|
||||
.field("vinfo", &self.vinfo)
|
||||
|
@ -227,7 +224,7 @@ pub struct GstDiscoverer {
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscoverer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDiscoverer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDiscoverer @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.finish()
|
||||
}
|
||||
|
@ -238,7 +235,7 @@ pub struct GstDiscovererAudioInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscovererAudioInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDiscovererAudioInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDiscovererAudioInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -248,11 +245,8 @@ pub struct GstDiscovererContainerInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscovererContainerInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstDiscovererContainerInfo @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstDiscovererContainerInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -261,7 +255,7 @@ pub struct GstDiscovererInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscovererInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDiscovererInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDiscovererInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -271,7 +265,7 @@ pub struct GstDiscovererStreamInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscovererStreamInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDiscovererStreamInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDiscovererStreamInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -281,11 +275,8 @@ pub struct GstDiscovererSubtitleInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscovererSubtitleInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstDiscovererSubtitleInfo @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstDiscovererSubtitleInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -294,7 +285,7 @@ pub struct GstDiscovererVideoInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstDiscovererVideoInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDiscovererVideoInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstDiscovererVideoInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -304,7 +295,7 @@ pub struct GstEncodingAudioProfile(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstEncodingAudioProfile {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstEncodingAudioProfile @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstEncodingAudioProfile @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -314,11 +305,8 @@ pub struct GstEncodingContainerProfile(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstEncodingContainerProfile {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstEncodingContainerProfile @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstEncodingContainerProfile @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -327,7 +315,7 @@ pub struct GstEncodingProfile(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstEncodingProfile {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstEncodingProfile @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstEncodingProfile @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -337,7 +325,7 @@ pub struct GstEncodingTarget(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstEncodingTarget {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstEncodingTarget @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstEncodingTarget @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -347,7 +335,7 @@ pub struct GstEncodingVideoProfile(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstEncodingVideoProfile {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstEncodingVideoProfile @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstEncodingVideoProfile @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -60,10 +60,10 @@ impl FromGlib<ffi::GstPlayerColorBalanceType> for PlayerColorBalanceType {
|
|||
unsafe fn from_glib(value: ffi::GstPlayerColorBalanceType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
3 => Self::Hue,
|
||||
0 => Self::Brightness,
|
||||
2 => Self::Saturation,
|
||||
1 => Self::Contrast,
|
||||
ffi::GST_PLAYER_COLOR_BALANCE_HUE => Self::Hue,
|
||||
ffi::GST_PLAYER_COLOR_BALANCE_BRIGHTNESS => Self::Brightness,
|
||||
ffi::GST_PLAYER_COLOR_BALANCE_SATURATION => Self::Saturation,
|
||||
ffi::GST_PLAYER_COLOR_BALANCE_CONTRAST => Self::Contrast,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ impl FromGlib<ffi::GstPlayerError> for PlayerError {
|
|||
unsafe fn from_glib(value: ffi::GstPlayerError) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Failed,
|
||||
ffi::GST_PLAYER_ERROR_FAILED => Self::Failed,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ impl ErrorDomain for PlayerError {
|
|||
fn from(code: i32) -> Option<Self> {
|
||||
skip_assert_initialized!();
|
||||
match code {
|
||||
0 => Some(Self::Failed),
|
||||
ffi::GST_PLAYER_ERROR_FAILED => Some(Self::Failed),
|
||||
_ => Some(Self::Failed),
|
||||
}
|
||||
}
|
||||
|
@ -236,11 +236,11 @@ impl FromGlib<ffi::GstPlayerSnapshotFormat> for PlayerSnapshotFormat {
|
|||
unsafe fn from_glib(value: ffi::GstPlayerSnapshotFormat) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::RawNative,
|
||||
1 => Self::RawXrgb,
|
||||
2 => Self::RawBgrx,
|
||||
3 => Self::Jpg,
|
||||
4 => Self::Png,
|
||||
ffi::GST_PLAYER_THUMBNAIL_RAW_NATIVE => Self::RawNative,
|
||||
ffi::GST_PLAYER_THUMBNAIL_RAW_xRGB => Self::RawXrgb,
|
||||
ffi::GST_PLAYER_THUMBNAIL_RAW_BGRx => Self::RawBgrx,
|
||||
ffi::GST_PLAYER_THUMBNAIL_JPG => Self::Jpg,
|
||||
ffi::GST_PLAYER_THUMBNAIL_PNG => Self::Png,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -291,10 +291,10 @@ impl FromGlib<ffi::GstPlayerState> for PlayerState {
|
|||
unsafe fn from_glib(value: ffi::GstPlayerState) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Stopped,
|
||||
1 => Self::Buffering,
|
||||
2 => Self::Paused,
|
||||
3 => Self::Playing,
|
||||
ffi::GST_PLAYER_STATE_STOPPED => Self::Stopped,
|
||||
ffi::GST_PLAYER_STATE_BUFFERING => Self::Buffering,
|
||||
ffi::GST_PLAYER_STATE_PAUSED => Self::Paused,
|
||||
ffi::GST_PLAYER_STATE_PLAYING => Self::Playing,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -91,13 +91,10 @@ pub struct GstPlayerSignalDispatcherInterface {
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerSignalDispatcherInterface {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstPlayerSignalDispatcherInterface @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_iface", &self.parent_iface)
|
||||
.field("dispatch", &self.dispatch)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstPlayerSignalDispatcherInterface @ {:p}", self))
|
||||
.field("parent_iface", &self.parent_iface)
|
||||
.field("dispatch", &self.dispatch)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -132,13 +129,10 @@ pub struct GstPlayerVideoRendererInterface {
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerVideoRendererInterface {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstPlayerVideoRendererInterface @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_iface", &self.parent_iface)
|
||||
.field("create_video_sink", &self.create_video_sink)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstPlayerVideoRendererInterface @ {:p}", self))
|
||||
.field("parent_iface", &self.parent_iface)
|
||||
.field("create_video_sink", &self.create_video_sink)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -151,7 +145,7 @@ pub struct GstPlayerVisualization {
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerVisualization {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPlayerVisualization @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPlayerVisualization @ {:p}", self))
|
||||
.field("name", &self.name)
|
||||
.field("description", &self.description)
|
||||
.finish()
|
||||
|
@ -164,8 +158,7 @@ pub struct GstPlayer(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPlayer @ {:?}", self as *const _))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstPlayer @ {:p}", self)).finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -174,7 +167,7 @@ pub struct GstPlayerAudioInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerAudioInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPlayerAudioInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPlayerAudioInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -185,8 +178,8 @@ pub struct GstPlayerGMainContextSignalDispatcher(c_void);
|
|||
impl ::std::fmt::Debug for GstPlayerGMainContextSignalDispatcher {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstPlayerGMainContextSignalDispatcher @ {:?}",
|
||||
self as *const _
|
||||
"GstPlayerGMainContextSignalDispatcher @ {:p}",
|
||||
self
|
||||
))
|
||||
.finish()
|
||||
}
|
||||
|
@ -197,7 +190,7 @@ pub struct GstPlayerMediaInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerMediaInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPlayerMediaInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPlayerMediaInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -207,7 +200,7 @@ pub struct GstPlayerStreamInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerStreamInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPlayerStreamInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPlayerStreamInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -217,7 +210,7 @@ pub struct GstPlayerSubtitleInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerSubtitleInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPlayerSubtitleInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPlayerSubtitleInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -227,7 +220,7 @@ pub struct GstPlayerVideoInfo(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerVideoInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstPlayerVideoInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstPlayerVideoInfo @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -237,11 +230,8 @@ pub struct GstPlayerVideoOverlayVideoRenderer(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerVideoOverlayVideoRenderer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstPlayerVideoOverlayVideoRenderer @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstPlayerVideoOverlayVideoRenderer @ {:p}", self))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -251,7 +241,7 @@ pub struct GstPlayerSignalDispatcher(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerSignalDispatcher {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
write!(f, "GstPlayerSignalDispatcher @ {:?}", self as *const _)
|
||||
write!(f, "GstPlayerSignalDispatcher @ {:p}", self)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -260,7 +250,7 @@ pub struct GstPlayerVideoRenderer(c_void);
|
|||
|
||||
impl ::std::fmt::Debug for GstPlayerVideoRenderer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
write!(f, "GstPlayerVideoRenderer @ {:?}", self as *const _)
|
||||
write!(f, "GstPlayerVideoRenderer @ {:p}", self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -60,15 +60,15 @@ impl FromGlib<ffi::GstRTCPFBType> for RTCPFBType {
|
|||
unsafe fn from_glib(value: ffi::GstRTCPFBType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::FbTypeInvalid,
|
||||
1 => Self::RtpfbTypeNack,
|
||||
3 => Self::RtpfbTypeTmmbr,
|
||||
4 => Self::RtpfbTypeTmmbn,
|
||||
5 => Self::RtpfbTypeRtcpSrReq,
|
||||
15 => Self::RtpfbTypeTwcc,
|
||||
2 => Self::PsfbTypeSli,
|
||||
6 => Self::PsfbTypeTstn,
|
||||
7 => Self::PsfbTypeVbcn,
|
||||
ffi::GST_RTCP_FB_TYPE_INVALID => Self::FbTypeInvalid,
|
||||
ffi::GST_RTCP_RTPFB_TYPE_NACK => Self::RtpfbTypeNack,
|
||||
ffi::GST_RTCP_RTPFB_TYPE_TMMBR => Self::RtpfbTypeTmmbr,
|
||||
ffi::GST_RTCP_RTPFB_TYPE_TMMBN => Self::RtpfbTypeTmmbn,
|
||||
ffi::GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ => Self::RtpfbTypeRtcpSrReq,
|
||||
ffi::GST_RTCP_RTPFB_TYPE_TWCC => Self::RtpfbTypeTwcc,
|
||||
ffi::GST_RTCP_PSFB_TYPE_SLI => Self::PsfbTypeSli,
|
||||
ffi::GST_RTCP_PSFB_TYPE_TSTN => Self::PsfbTypeTstn,
|
||||
ffi::GST_RTCP_PSFB_TYPE_VBCN => Self::PsfbTypeVbcn,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -161,16 +161,16 @@ impl FromGlib<ffi::GstRTCPSDESType> for RTCPSDESType {
|
|||
unsafe fn from_glib(value: ffi::GstRTCPSDESType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
-1 => Self::Invalid,
|
||||
0 => Self::End,
|
||||
1 => Self::Cname,
|
||||
2 => Self::Name,
|
||||
3 => Self::Email,
|
||||
4 => Self::Phone,
|
||||
5 => Self::Loc,
|
||||
6 => Self::Tool,
|
||||
7 => Self::Note,
|
||||
8 => Self::Priv,
|
||||
ffi::GST_RTCP_SDES_INVALID => Self::Invalid,
|
||||
ffi::GST_RTCP_SDES_END => Self::End,
|
||||
ffi::GST_RTCP_SDES_CNAME => Self::Cname,
|
||||
ffi::GST_RTCP_SDES_NAME => Self::Name,
|
||||
ffi::GST_RTCP_SDES_EMAIL => Self::Email,
|
||||
ffi::GST_RTCP_SDES_PHONE => Self::Phone,
|
||||
ffi::GST_RTCP_SDES_LOC => Self::Loc,
|
||||
ffi::GST_RTCP_SDES_TOOL => Self::Tool,
|
||||
ffi::GST_RTCP_SDES_NOTE => Self::Note,
|
||||
ffi::GST_RTCP_SDES_PRIV => Self::Priv,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -260,15 +260,15 @@ impl FromGlib<ffi::GstRTCPType> for RTCPType {
|
|||
unsafe fn from_glib(value: ffi::GstRTCPType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Invalid,
|
||||
200 => Self::Sr,
|
||||
201 => Self::Rr,
|
||||
202 => Self::Sdes,
|
||||
203 => Self::Bye,
|
||||
204 => Self::App,
|
||||
205 => Self::Rtpfb,
|
||||
206 => Self::Psfb,
|
||||
207 => Self::Xr,
|
||||
ffi::GST_RTCP_TYPE_INVALID => Self::Invalid,
|
||||
ffi::GST_RTCP_TYPE_SR => Self::Sr,
|
||||
ffi::GST_RTCP_TYPE_RR => Self::Rr,
|
||||
ffi::GST_RTCP_TYPE_SDES => Self::Sdes,
|
||||
ffi::GST_RTCP_TYPE_BYE => Self::Bye,
|
||||
ffi::GST_RTCP_TYPE_APP => Self::App,
|
||||
ffi::GST_RTCP_TYPE_RTPFB => Self::Rtpfb,
|
||||
ffi::GST_RTCP_TYPE_PSFB => Self::Psfb,
|
||||
ffi::GST_RTCP_TYPE_XR => Self::Xr,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -361,14 +361,14 @@ impl FromGlib<ffi::GstRTCPXRType> for RTCPXRType {
|
|||
unsafe fn from_glib(value: ffi::GstRTCPXRType) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
-1 => Self::Invalid,
|
||||
1 => Self::Lrle,
|
||||
2 => Self::Drle,
|
||||
3 => Self::Prt,
|
||||
4 => Self::Rrt,
|
||||
5 => Self::Dlrr,
|
||||
6 => Self::Ssumm,
|
||||
7 => Self::VoipMetrics,
|
||||
ffi::GST_RTCP_XR_TYPE_INVALID => Self::Invalid,
|
||||
ffi::GST_RTCP_XR_TYPE_LRLE => Self::Lrle,
|
||||
ffi::GST_RTCP_XR_TYPE_DRLE => Self::Drle,
|
||||
ffi::GST_RTCP_XR_TYPE_PRT => Self::Prt,
|
||||
ffi::GST_RTCP_XR_TYPE_RRT => Self::Rrt,
|
||||
ffi::GST_RTCP_XR_TYPE_DLRR => Self::Dlrr,
|
||||
ffi::GST_RTCP_XR_TYPE_SSUMM => Self::Ssumm,
|
||||
ffi::GST_RTCP_XR_TYPE_VOIP_METRICS => Self::VoipMetrics,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -517,32 +517,32 @@ impl FromGlib<ffi::GstRTPPayload> for RTPPayload {
|
|||
unsafe fn from_glib(value: ffi::GstRTPPayload) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Pcmu,
|
||||
1 => Self::_1016,
|
||||
2 => Self::G721,
|
||||
3 => Self::Gsm,
|
||||
4 => Self::G723,
|
||||
5 => Self::Dvi48000,
|
||||
6 => Self::Dvi416000,
|
||||
7 => Self::Lpc,
|
||||
8 => Self::Pcma,
|
||||
9 => Self::G722,
|
||||
10 => Self::L16Stereo,
|
||||
11 => Self::L16Mono,
|
||||
12 => Self::Qcelp,
|
||||
13 => Self::Cn,
|
||||
14 => Self::Mpa,
|
||||
15 => Self::G728,
|
||||
16 => Self::Dvi411025,
|
||||
17 => Self::Dvi422050,
|
||||
18 => Self::G729,
|
||||
25 => Self::Cellb,
|
||||
26 => Self::Jpeg,
|
||||
28 => Self::Nv,
|
||||
31 => Self::H261,
|
||||
32 => Self::Mpv,
|
||||
33 => Self::Mp2t,
|
||||
34 => Self::H263,
|
||||
ffi::GST_RTP_PAYLOAD_PCMU => Self::Pcmu,
|
||||
ffi::GST_RTP_PAYLOAD_1016 => Self::_1016,
|
||||
ffi::GST_RTP_PAYLOAD_G721 => Self::G721,
|
||||
ffi::GST_RTP_PAYLOAD_GSM => Self::Gsm,
|
||||
ffi::GST_RTP_PAYLOAD_G723 => Self::G723,
|
||||
ffi::GST_RTP_PAYLOAD_DVI4_8000 => Self::Dvi48000,
|
||||
ffi::GST_RTP_PAYLOAD_DVI4_16000 => Self::Dvi416000,
|
||||
ffi::GST_RTP_PAYLOAD_LPC => Self::Lpc,
|
||||
ffi::GST_RTP_PAYLOAD_PCMA => Self::Pcma,
|
||||
ffi::GST_RTP_PAYLOAD_G722 => Self::G722,
|
||||
ffi::GST_RTP_PAYLOAD_L16_STEREO => Self::L16Stereo,
|
||||
ffi::GST_RTP_PAYLOAD_L16_MONO => Self::L16Mono,
|
||||
ffi::GST_RTP_PAYLOAD_QCELP => Self::Qcelp,
|
||||
ffi::GST_RTP_PAYLOAD_CN => Self::Cn,
|
||||
ffi::GST_RTP_PAYLOAD_MPA => Self::Mpa,
|
||||
ffi::GST_RTP_PAYLOAD_G728 => Self::G728,
|
||||
ffi::GST_RTP_PAYLOAD_DVI4_11025 => Self::Dvi411025,
|
||||
ffi::GST_RTP_PAYLOAD_DVI4_22050 => Self::Dvi422050,
|
||||
ffi::GST_RTP_PAYLOAD_G729 => Self::G729,
|
||||
ffi::GST_RTP_PAYLOAD_CELLB => Self::Cellb,
|
||||
ffi::GST_RTP_PAYLOAD_JPEG => Self::Jpeg,
|
||||
ffi::GST_RTP_PAYLOAD_NV => Self::Nv,
|
||||
ffi::GST_RTP_PAYLOAD_H261 => Self::H261,
|
||||
ffi::GST_RTP_PAYLOAD_MPV => Self::Mpv,
|
||||
ffi::GST_RTP_PAYLOAD_MP2T => Self::Mp2t,
|
||||
ffi::GST_RTP_PAYLOAD_H263 => Self::H263,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
@ -620,11 +620,11 @@ impl FromGlib<ffi::GstRTPProfile> for RTPProfile {
|
|||
unsafe fn from_glib(value: ffi::GstRTPProfile) -> Self {
|
||||
skip_assert_initialized!();
|
||||
match value {
|
||||
0 => Self::Unknown,
|
||||
1 => Self::Avp,
|
||||
2 => Self::Savp,
|
||||
3 => Self::Avpf,
|
||||
4 => Self::Savpf,
|
||||
ffi::GST_RTP_PROFILE_UNKNOWN => Self::Unknown,
|
||||
ffi::GST_RTP_PROFILE_AVP => Self::Avp,
|
||||
ffi::GST_RTP_PROFILE_SAVP => Self::Savp,
|
||||
ffi::GST_RTP_PROFILE_AVPF => Self::Avpf,
|
||||
ffi::GST_RTP_PROFILE_SAVPF => Self::Savpf,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
@ -184,7 +184,7 @@ pub struct GstRTCPBuffer {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTCPBuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTCPBuffer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTCPBuffer @ {:p}", self))
|
||||
.field("buffer", &self.buffer)
|
||||
.field("map", &self.map)
|
||||
.finish()
|
||||
|
@ -207,7 +207,7 @@ pub struct GstRTCPPacket {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTCPPacket {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTCPPacket @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTCPPacket @ {:p}", self))
|
||||
.field("rtcp", &self.rtcp)
|
||||
.field("offset", &self.offset)
|
||||
.finish()
|
||||
|
@ -223,12 +223,9 @@ pub struct GstRTPBaseAudioPayloadClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPBaseAudioPayloadClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstRTPBaseAudioPayloadClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstRTPBaseAudioPayloadClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -258,17 +255,14 @@ pub struct GstRTPBaseDepayloadClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPBaseDepayloadClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!(
|
||||
"GstRTPBaseDepayloadClass @ {:?}",
|
||||
self as *const _
|
||||
))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("set_caps", &self.set_caps)
|
||||
.field("process", &self.process)
|
||||
.field("packet_lost", &self.packet_lost)
|
||||
.field("handle_event", &self.handle_event)
|
||||
.field("process_rtp_packet", &self.process_rtp_packet)
|
||||
.finish()
|
||||
f.debug_struct(&format!("GstRTPBaseDepayloadClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("set_caps", &self.set_caps)
|
||||
.field("process", &self.process)
|
||||
.field("packet_lost", &self.packet_lost)
|
||||
.field("handle_event", &self.handle_event)
|
||||
.field("process_rtp_packet", &self.process_rtp_packet)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -309,7 +303,7 @@ pub struct GstRTPBasePayloadClass {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPBasePayloadClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTPBasePayloadClass @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTPBasePayloadClass @ {:p}", self))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.field("get_caps", &self.get_caps)
|
||||
.field("set_caps", &self.set_caps)
|
||||
|
@ -338,7 +332,7 @@ pub struct GstRTPBuffer {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPBuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTPBuffer @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTPBuffer @ {:p}", self))
|
||||
.field("buffer", &self.buffer)
|
||||
.field("state", &self.state)
|
||||
.field("data", &self.data)
|
||||
|
@ -362,7 +356,7 @@ pub struct GstRTPPayloadInfo {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPPayloadInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTPPayloadInfo @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTPPayloadInfo @ {:p}", self))
|
||||
.field("payload_type", &self.payload_type)
|
||||
.field("media", &self.media)
|
||||
.field("encoding_name", &self.encoding_name)
|
||||
|
@ -385,7 +379,7 @@ pub struct GstRTPSourceMeta {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPSourceMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTPSourceMeta @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTPSourceMeta @ {:p}", self))
|
||||
.field("meta", &self.meta)
|
||||
.field("ssrc", &self.ssrc)
|
||||
.field("ssrc_valid", &self.ssrc_valid)
|
||||
|
@ -410,7 +404,7 @@ pub struct GstRTPBaseAudioPayload {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPBaseAudioPayload {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTPBaseAudioPayload @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTPBaseAudioPayload @ {:p}", self))
|
||||
.field("payload", &self.payload)
|
||||
.field("priv_", &self.priv_)
|
||||
.field("base_ts", &self.base_ts)
|
||||
|
@ -436,7 +430,7 @@ pub struct GstRTPBaseDepayload {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPBaseDepayload {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTPBaseDepayload @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTPBaseDepayload @ {:p}", self))
|
||||
.field("parent", &self.parent)
|
||||
.field("sinkpad", &self.sinkpad)
|
||||
.field("srcpad", &self.srcpad)
|
||||
|
@ -478,7 +472,7 @@ pub struct GstRTPBasePayload {
|
|||
|
||||
impl ::std::fmt::Debug for GstRTPBasePayload {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstRTPBasePayload @ {:?}", self as *const _))
|
||||
f.debug_struct(&format!("GstRTPBasePayload @ {:p}", self))
|
||||
.field("element", &self.element)
|
||||
.finish()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue