mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-26 01:50:33 +00:00
Update gstreamer-pbutils
This commit is contained in:
parent
50505d19b8
commit
c4cdcc7b68
11 changed files with 28 additions and 10 deletions
|
@ -29,6 +29,7 @@ optional = true
|
|||
[features]
|
||||
v1_10 = ["gstreamer-sys/v1_10", "gstreamer-pbutils-sys/v1_10"]
|
||||
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-pbutils-sys/v1_12", "v1_10"]
|
||||
v1_14 = ["gstreamer-sys/v1_14", "gstreamer-pbutils-sys/v1_14", "v1_12"]
|
||||
embed-lgpl-docs = ["rustdoc-stripper"]
|
||||
purge-lgpl-docs = ["rustdoc-stripper"]
|
||||
dox = ["gstreamer-pbutils-sys/dox"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -25,6 +25,13 @@ impl DiscovererAudioInfo {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||
pub fn get_channel_mask(&self) -> u64 {
|
||||
unsafe {
|
||||
ffi::gst_discoverer_audio_info_get_channel_mask(self.to_glib_none().0)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_channels(&self) -> u32 {
|
||||
unsafe {
|
||||
ffi::gst_discoverer_audio_info_get_channels(self.to_glib_none().0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -44,6 +44,9 @@ pub trait DiscovererInfoExt {
|
|||
|
||||
fn get_duration(&self) -> gst::ClockTime;
|
||||
|
||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||
fn get_live(&self) -> bool;
|
||||
|
||||
fn get_misc(&self) -> Option<gst::Structure>;
|
||||
|
||||
fn get_missing_elements_installer_details(&self) -> Vec<String>;
|
||||
|
@ -96,6 +99,13 @@ impl<O: IsA<DiscovererInfo>> DiscovererInfoExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||
fn get_live(&self) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::gst_discoverer_info_get_live(const_override(self.to_glib_none().0)))
|
||||
}
|
||||
}
|
||||
|
||||
fn get_misc(&self) -> Option<gst::Structure> {
|
||||
unsafe {
|
||||
from_glib_none(ffi::gst_discoverer_info_get_misc(const_override(self.to_glib_none().0)))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
Loading…
Reference in a new issue