mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
Regenerate with latest gir/gir-files/gst-gir-files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1159>
This commit is contained in:
parent
40a5a9edaa
commit
7012fa638e
94 changed files with 357 additions and 201 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_allocators_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_app_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -204,7 +204,7 @@ pub const GST_AUDIO_CONVERTER_OPT_QUANTIZATION: *const c_char =
|
|||
b"GstAudioConverter.quantization\0" as *const u8 as *const c_char;
|
||||
pub const GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD: *const c_char =
|
||||
b"GstAudioConverter.resampler-method\0" as *const u8 as *const c_char;
|
||||
pub const GST_AUDIO_DECODER_MAX_ERRORS: c_int = 10;
|
||||
pub const GST_AUDIO_DECODER_MAX_ERRORS: c_int = -1;
|
||||
pub const GST_AUDIO_DECODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
|
||||
pub const GST_AUDIO_DECODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char;
|
||||
pub const GST_AUDIO_DEF_CHANNELS: c_int = 2;
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_audio_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
@ -718,7 +718,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
"GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD",
|
||||
"GstAudioConverter.resampler-method",
|
||||
),
|
||||
("GST_AUDIO_DECODER_MAX_ERRORS", "10"),
|
||||
("GST_AUDIO_DECODER_MAX_ERRORS", "-1"),
|
||||
("GST_AUDIO_DECODER_SINK_NAME", "sink"),
|
||||
("GST_AUDIO_DECODER_SRC_NAME", "src"),
|
||||
("GST_AUDIO_DEF_CHANNELS", "2"),
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use glib::object::Cast;
|
||||
use glib::object::IsA;
|
||||
|
@ -54,6 +55,7 @@ pub trait BaseSrcExt: 'static {
|
|||
fn negotiate(&self) -> bool;
|
||||
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "gst_base_src_new_seamless_segment")]
|
||||
fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool;
|
||||
|
||||
|
@ -160,6 +162,7 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
|||
unsafe { from_glib(ffi::gst_base_src_negotiate(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::gst_base_src_new_seamless_segment(
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_base_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_check_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_controller_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Extractable;
|
||||
use crate::MetaContainer;
|
||||
|
@ -24,6 +25,7 @@ impl AudioTransition {
|
|||
pub const NONE: Option<&'static AudioTransition> = None;
|
||||
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_audio_transition_new")]
|
||||
pub fn new() -> AudioTransition {
|
||||
assert_initialized_main_thread!();
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Edge;
|
||||
use crate::EditMode;
|
||||
|
@ -42,6 +43,7 @@ pub trait GESContainerExt: 'static {
|
|||
fn add(&self, child: &impl IsA<TimelineElement>) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_container_edit")]
|
||||
fn edit(
|
||||
&self,
|
||||
|
@ -93,6 +95,7 @@ impl<O: IsA<Container>> GESContainerExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn edit(
|
||||
&self,
|
||||
layers: &[Layer],
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Asset;
|
||||
use crate::Extractable;
|
||||
|
@ -63,10 +64,12 @@ impl Formatter {
|
|||
|
||||
pub trait FormatterExt: 'static {
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_formatter_load_from_uri")]
|
||||
fn load_from_uri(&self, timeline: &impl IsA<Timeline>, uri: &str) -> Result<(), glib::Error>;
|
||||
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_formatter_save_to_uri")]
|
||||
fn save_to_uri(
|
||||
&self,
|
||||
|
@ -77,6 +80,7 @@ pub trait FormatterExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<Formatter>> FormatterExt for O {
|
||||
#[allow(deprecated)]
|
||||
fn load_from_uri(&self, timeline: &impl IsA<Timeline>, uri: &str) -> Result<(), glib::Error> {
|
||||
unsafe {
|
||||
let mut error = ptr::null_mut();
|
||||
|
@ -95,6 +99,7 @@ impl<O: IsA<Formatter>> FormatterExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn save_to_uri(
|
||||
&self,
|
||||
timeline: &impl IsA<Timeline>,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Asset;
|
||||
use crate::Clip;
|
||||
|
@ -128,6 +129,7 @@ pub trait LayerExt: 'static {
|
|||
fn set_auto_transition(&self, auto_transition: bool);
|
||||
|
||||
#[cfg_attr(feature = "v1_16", deprecated = "Since 1.16")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_layer_set_priority")]
|
||||
fn set_priority(&self, priority: u32);
|
||||
|
||||
|
@ -328,6 +330,7 @@ impl<O: IsA<Layer>> LayerExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_priority(&self, priority: u32) {
|
||||
unsafe {
|
||||
ffi::ges_layer_set_priority(self.as_ref().to_glib_none().0, priority);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Extractable;
|
||||
use crate::MetaContainer;
|
||||
|
@ -26,6 +27,7 @@ impl TextOverlay {
|
|||
pub const NONE: Option<&'static TextOverlay> = None;
|
||||
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_text_overlay_new")]
|
||||
pub fn new() -> Option<TextOverlay> {
|
||||
assert_initialized_main_thread!();
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Asset;
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
|
@ -74,6 +75,7 @@ impl Default for Timeline {
|
|||
|
||||
pub trait TimelineExt: 'static {
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_timeline_add_layer")]
|
||||
fn add_layer(&self, layer: &impl IsA<Layer>) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
|
@ -89,6 +91,11 @@ pub trait TimelineExt: 'static {
|
|||
#[doc(alias = "ges_timeline_commit_sync")]
|
||||
fn commit_sync(&self) -> bool;
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
#[doc(alias = "ges_timeline_disable_edit_apis")]
|
||||
fn disable_edit_apis(&self, disable_edit_apis: bool);
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "ges_timeline_freeze_commit")]
|
||||
|
@ -102,6 +109,12 @@ pub trait TimelineExt: 'static {
|
|||
#[doc(alias = "get_duration")]
|
||||
fn duration(&self) -> gst::ClockTime;
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
#[doc(alias = "ges_timeline_get_edit_apis_disabled")]
|
||||
#[doc(alias = "get_edit_apis_disabled")]
|
||||
fn is_edit_apis_disabled(&self) -> bool;
|
||||
|
||||
#[doc(alias = "ges_timeline_get_element")]
|
||||
#[doc(alias = "get_element")]
|
||||
fn element(&self, name: &str) -> Option<TimelineElement>;
|
||||
|
@ -249,6 +262,7 @@ pub trait TimelineExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<Timeline>> TimelineExt for O {
|
||||
#[allow(deprecated)]
|
||||
fn add_layer(&self, layer: &impl IsA<Layer>) -> Result<(), glib::error::BoolError> {
|
||||
unsafe {
|
||||
glib::result_from_gboolean!(
|
||||
|
@ -293,6 +307,17 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
fn disable_edit_apis(&self, disable_edit_apis: bool) {
|
||||
unsafe {
|
||||
ffi::ges_timeline_disable_edit_apis(
|
||||
self.as_ref().to_glib_none().0,
|
||||
disable_edit_apis.into_glib(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
fn freeze_commit(&self) {
|
||||
|
@ -318,6 +343,16 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
fn is_edit_apis_disabled(&self) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::ges_timeline_get_edit_apis_disabled(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
fn element(&self, name: &str) -> Option<TimelineElement> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::ges_timeline_get_element(
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
|
@ -214,6 +215,7 @@ pub trait TimelineElementExt: 'static {
|
|||
fn set_parent(&self, parent: &impl IsA<TimelineElement>) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
#[deprecated = "Since 1.10"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_timeline_element_set_priority")]
|
||||
fn set_priority(&self, priority: u32) -> bool;
|
||||
|
||||
|
@ -714,6 +716,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_priority(&self, priority: u32) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::ges_timeline_element_set_priority(
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Clip;
|
||||
use crate::Container;
|
||||
|
@ -41,74 +42,90 @@ impl TitleClip {
|
|||
|
||||
pub trait TitleClipExt: 'static {
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_background_color")]
|
||||
#[doc(alias = "get_background_color")]
|
||||
fn background_color(&self) -> u32;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_font_desc")]
|
||||
#[doc(alias = "get_font_desc")]
|
||||
fn font_desc(&self) -> Option<glib::GString>;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_halignment")]
|
||||
#[doc(alias = "get_halignment")]
|
||||
fn halignment(&self) -> TextHAlign;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_text")]
|
||||
#[doc(alias = "get_text")]
|
||||
fn text(&self) -> Option<glib::GString>;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_text_color")]
|
||||
#[doc(alias = "get_text_color")]
|
||||
fn text_color(&self) -> u32;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_valignment")]
|
||||
#[doc(alias = "get_valignment")]
|
||||
fn valignment(&self) -> TextVAlign;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_xpos")]
|
||||
#[doc(alias = "get_xpos")]
|
||||
fn xpos(&self) -> f64;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_get_ypos")]
|
||||
#[doc(alias = "get_ypos")]
|
||||
fn ypos(&self) -> f64;
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_background")]
|
||||
fn set_background(&self, background: u32);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_color")]
|
||||
fn set_color(&self, color: u32);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_font_desc")]
|
||||
fn set_font_desc(&self, font_desc: Option<&str>);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_halignment")]
|
||||
fn set_halignment(&self, halign: TextHAlign);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_text")]
|
||||
fn set_text(&self, text: Option<&str>);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_valignment")]
|
||||
fn set_valignment(&self, valign: TextVAlign);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_xpos")]
|
||||
fn set_xpos(&self, position: f64);
|
||||
|
||||
#[deprecated = "Since 1.6"]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_clip_set_ypos")]
|
||||
fn set_ypos(&self, position: f64);
|
||||
|
||||
|
@ -152,10 +169,12 @@ pub trait TitleClipExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<TitleClip>> TitleClipExt for O {
|
||||
#[allow(deprecated)]
|
||||
fn background_color(&self) -> u32 {
|
||||
unsafe { ffi::ges_title_clip_get_background_color(self.as_ref().to_glib_none().0) }
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn font_desc(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::ges_title_clip_get_font_desc(
|
||||
|
@ -164,6 +183,7 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn halignment(&self) -> TextHAlign {
|
||||
unsafe {
|
||||
from_glib(ffi::ges_title_clip_get_halignment(
|
||||
|
@ -172,14 +192,17 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn text(&self) -> Option<glib::GString> {
|
||||
unsafe { from_glib_full(ffi::ges_title_clip_get_text(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn text_color(&self) -> u32 {
|
||||
unsafe { ffi::ges_title_clip_get_text_color(self.as_ref().to_glib_none().0) }
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn valignment(&self) -> TextVAlign {
|
||||
unsafe {
|
||||
from_glib(ffi::ges_title_clip_get_valignment(
|
||||
|
@ -188,26 +211,31 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn xpos(&self) -> f64 {
|
||||
unsafe { ffi::ges_title_clip_get_xpos(self.as_ref().to_glib_none().0) }
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn ypos(&self) -> f64 {
|
||||
unsafe { ffi::ges_title_clip_get_ypos(self.as_ref().to_glib_none().0) }
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_background(&self, background: u32) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_background(self.as_ref().to_glib_none().0, background);
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_color(&self, color: u32) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_color(self.as_ref().to_glib_none().0, color);
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_font_desc(&self, font_desc: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_font_desc(
|
||||
|
@ -217,30 +245,35 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_halignment(&self, halign: TextHAlign) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_halignment(self.as_ref().to_glib_none().0, halign.into_glib());
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_text(&self, text: Option<&str>) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_text(self.as_ref().to_glib_none().0, text.to_glib_none().0);
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_valignment(&self, valign: TextVAlign) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_valignment(self.as_ref().to_glib_none().0, valign.into_glib());
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_xpos(&self, position: f64) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_xpos(self.as_ref().to_glib_none().0, position);
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_ypos(&self, position: f64) {
|
||||
unsafe {
|
||||
ffi::ges_title_clip_set_ypos(self.as_ref().to_glib_none().0, position);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Extractable;
|
||||
use crate::MetaContainer;
|
||||
|
@ -33,6 +34,7 @@ pub trait TitleSourceExt: 'static {
|
|||
fn background_color(&self) -> u32;
|
||||
|
||||
#[cfg_attr(feature = "v1_16", deprecated = "Since 1.16")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_source_get_font_desc")]
|
||||
#[doc(alias = "get_font_desc")]
|
||||
fn font_desc(&self) -> Option<glib::GString>;
|
||||
|
@ -42,6 +44,7 @@ pub trait TitleSourceExt: 'static {
|
|||
fn halignment(&self) -> TextHAlign;
|
||||
|
||||
#[cfg_attr(feature = "v1_16", deprecated = "Since 1.16")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_title_source_get_text")]
|
||||
#[doc(alias = "get_text")]
|
||||
fn text(&self) -> Option<glib::GString>;
|
||||
|
@ -92,6 +95,7 @@ impl<O: IsA<TitleSource>> TitleSourceExt for O {
|
|||
unsafe { ffi::ges_title_source_get_background_color(self.as_ref().to_glib_none().0) }
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn font_desc(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::ges_title_source_get_font_desc(
|
||||
|
@ -108,6 +112,7 @@ impl<O: IsA<TitleSource>> TitleSourceExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn text(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::ges_title_source_get_text(
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Edge;
|
||||
use crate::EditMode;
|
||||
|
@ -50,6 +51,7 @@ pub trait TrackElementExt: 'static {
|
|||
fn clamp_control_source(&self, property_name: &str);
|
||||
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_track_element_edit")]
|
||||
fn edit(
|
||||
&self,
|
||||
|
@ -236,6 +238,7 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn edit(
|
||||
&self,
|
||||
layers: &[Layer],
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Extractable;
|
||||
use crate::MetaContainer;
|
||||
|
@ -47,6 +48,7 @@ impl Default for VideoTransition {
|
|||
|
||||
pub trait VideoTransitionExt: 'static {
|
||||
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_video_transition_get_border")]
|
||||
#[doc(alias = "get_border")]
|
||||
fn border(&self) -> i32;
|
||||
|
@ -56,14 +58,17 @@ pub trait VideoTransitionExt: 'static {
|
|||
fn transition_type(&self) -> VideoStandardTransitionType;
|
||||
|
||||
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_video_transition_is_inverted")]
|
||||
fn is_inverted(&self) -> bool;
|
||||
|
||||
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_video_transition_set_border")]
|
||||
fn set_border(&self, value: u32);
|
||||
|
||||
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "ges_video_transition_set_inverted")]
|
||||
fn set_inverted(&self, inverted: bool);
|
||||
|
||||
|
@ -88,6 +93,7 @@ pub trait VideoTransitionExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<VideoTransition>> VideoTransitionExt for O {
|
||||
#[allow(deprecated)]
|
||||
fn border(&self) -> i32 {
|
||||
unsafe { ffi::ges_video_transition_get_border(self.as_ref().to_glib_none().0) }
|
||||
}
|
||||
|
@ -100,6 +106,7 @@ impl<O: IsA<VideoTransition>> VideoTransitionExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn is_inverted(&self) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::ges_video_transition_is_inverted(
|
||||
|
@ -108,12 +115,14 @@ impl<O: IsA<VideoTransition>> VideoTransitionExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_border(&self, value: u32) {
|
||||
unsafe {
|
||||
ffi::ges_video_transition_set_border(self.as_ref().to_glib_none().0, value);
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn set_inverted(&self, inverted: bool) {
|
||||
unsafe {
|
||||
ffi::ges_video_transition_set_inverted(
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3514,11 +3514,17 @@ extern "C" {
|
|||
pub fn ges_timeline_append_layer(timeline: *mut GESTimeline) -> *mut GESLayer;
|
||||
pub fn ges_timeline_commit(timeline: *mut GESTimeline) -> gboolean;
|
||||
pub fn ges_timeline_commit_sync(timeline: *mut GESTimeline) -> gboolean;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn ges_timeline_disable_edit_apis(self_: *mut GESTimeline, disable_edit_apis: gboolean);
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn ges_timeline_freeze_commit(timeline: *mut GESTimeline);
|
||||
pub fn ges_timeline_get_auto_transition(timeline: *mut GESTimeline) -> gboolean;
|
||||
pub fn ges_timeline_get_duration(timeline: *mut GESTimeline) -> gst::GstClockTime;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn ges_timeline_get_edit_apis_disabled(self_: *mut GESTimeline) -> gboolean;
|
||||
pub fn ges_timeline_get_element(
|
||||
timeline: *mut GESTimeline,
|
||||
name: *const c_char,
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_editing_services_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_gl_egl_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_gl_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_gl_wayland_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_gl_x11_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_mpegts_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_net_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::DiscovererAudioInfo;
|
||||
use crate::DiscovererContainerInfo;
|
||||
|
@ -132,6 +133,7 @@ impl DiscovererInfo {
|
|||
}
|
||||
|
||||
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
||||
#[allow(deprecated)]
|
||||
#[doc(alias = "gst_discoverer_info_get_tags")]
|
||||
#[doc(alias = "get_tags")]
|
||||
pub fn tags(&self) -> Option<gst::TagList> {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_pbutils_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_play_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_player_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_rtp_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_rtsp_server_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_rtsp_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_sdp_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_tag_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_validate_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use glib::object::Cast;
|
||||
use glib::object::IsA;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -541,7 +541,7 @@ pub const GST_VIDEO_CONVERTER_OPT_SRC_Y: *const c_char =
|
|||
b"GstVideoConverter.src-y\0" as *const u8 as *const c_char;
|
||||
pub const GST_VIDEO_CONVERTER_OPT_THREADS: *const c_char =
|
||||
b"GstVideoConverter.threads\0" as *const u8 as *const c_char;
|
||||
pub const GST_VIDEO_DECODER_MAX_ERRORS: c_int = 10;
|
||||
pub const GST_VIDEO_DECODER_MAX_ERRORS: c_int = -1;
|
||||
pub const GST_VIDEO_DECODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
|
||||
pub const GST_VIDEO_DECODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char;
|
||||
pub const GST_VIDEO_ENCODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char;
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_video_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
@ -1245,7 +1245,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
"GST_VIDEO_CONVERTER_OPT_THREADS",
|
||||
"GstVideoConverter.threads",
|
||||
),
|
||||
("GST_VIDEO_DECODER_MAX_ERRORS", "10"),
|
||||
("GST_VIDEO_DECODER_MAX_ERRORS", "-1"),
|
||||
(
|
||||
"(guint) GST_VIDEO_DECODER_REQUEST_SYNC_POINT_CORRUPT_OUTPUT",
|
||||
"2",
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_webrtc_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Bus;
|
||||
use crate::Caps;
|
||||
|
|
|
@ -918,6 +918,14 @@ impl EventType {
|
|||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib(ffi::gst_event_type_to_quark(self.into_glib())) }
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
#[doc(alias = "gst_event_type_to_sticky_ordering")]
|
||||
pub fn to_sticky_ordering(self) -> u32 {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { ffi::gst_event_type_to_sticky_ordering(self.into_glib()) }
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for EventType {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e)
|
||||
|
|
|
@ -4019,6 +4019,9 @@ extern "C" {
|
|||
pub fn gst_event_type_get_flags(type_: GstEventType) -> GstEventTypeFlags;
|
||||
pub fn gst_event_type_get_name(type_: GstEventType) -> *const c_char;
|
||||
pub fn gst_event_type_to_quark(type_: GstEventType) -> glib::GQuark;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_event_type_to_sticky_ordering(type_: GstEventType) -> c_uint;
|
||||
|
||||
//=========================================================================
|
||||
// GstFlowReturn
|
||||
|
@ -4972,6 +4975,9 @@ extern "C" {
|
|||
// GstDebugMessage
|
||||
//=========================================================================
|
||||
pub fn gst_debug_message_get(message: *mut GstDebugMessage) -> *const c_char;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_debug_message_get_id(message: *mut GstDebugMessage) -> *const c_char;
|
||||
|
||||
//=========================================================================
|
||||
// GstDeviceProviderClass
|
||||
|
@ -8935,6 +8941,32 @@ extern "C" {
|
|||
object: *mut gobject::GObject,
|
||||
message: *mut GstDebugMessage,
|
||||
) -> *mut c_char;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_debug_log_id(
|
||||
category: *mut GstDebugCategory,
|
||||
level: GstDebugLevel,
|
||||
file: *const c_char,
|
||||
function: *const c_char,
|
||||
line: c_int,
|
||||
id: *const c_char,
|
||||
format: *const c_char,
|
||||
...
|
||||
);
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_debug_log_id_literal(
|
||||
category: *mut GstDebugCategory,
|
||||
level: GstDebugLevel,
|
||||
file: *const c_char,
|
||||
function: *const c_char,
|
||||
line: c_int,
|
||||
id: *const c_char,
|
||||
message_string: *const c_char,
|
||||
);
|
||||
//#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
//pub fn gst_debug_log_id_valist(category: *mut GstDebugCategory, level: GstDebugLevel, file: *const c_char, function: *const c_char, line: c_int, id: *const c_char, format: *const c_char, args: /*Unimplemented*/va_list);
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_debug_log_literal(
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![cfg(target_os = "linux")]
|
||||
|
||||
use gstreamer_sys::*;
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -111,7 +113,6 @@ impl Results {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_constants_with_c() {
|
||||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
|
@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cross_validate_layout_with_c() {
|
||||
let mut c_layouts = Vec::new();
|
||||
|
||||
|
|
Loading…
Reference in a new issue