forked from mirrors/gstreamer-rs
Update gstreamer-app
This commit is contained in:
parent
b25a071145
commit
e3774ad458
8 changed files with 31 additions and 5 deletions
|
@ -71,6 +71,11 @@ trait = false
|
|||
# Pass by value
|
||||
ignore = true
|
||||
|
||||
[[object.function]]
|
||||
name = "push_buffer_list"
|
||||
# Pass by value
|
||||
ignore = true
|
||||
|
||||
[[object.signal]]
|
||||
name = "end-of-stream"
|
||||
# Action signal
|
||||
|
@ -81,6 +86,11 @@ trait = false
|
|||
# Action signal
|
||||
ignore = true
|
||||
|
||||
[[object.signal]]
|
||||
name = "push-buffer-list"
|
||||
# Action signal
|
||||
ignore = true
|
||||
|
||||
[[object.signal]]
|
||||
name = "push-sample"
|
||||
# Action signal
|
||||
|
@ -117,6 +127,11 @@ name = "Gst.Buffer"
|
|||
status = "manual"
|
||||
ref_mode = "ref"
|
||||
|
||||
[[object]]
|
||||
name = "Gst.BufferList"
|
||||
status = "manual"
|
||||
ref_mode = "ref"
|
||||
|
||||
[[object]]
|
||||
name = "Gst.Sample"
|
||||
status = "manual"
|
||||
|
|
|
@ -31,6 +31,7 @@ optional = true
|
|||
[features]
|
||||
v1_10 = ["gstreamer-sys/v1_10", "gstreamer-base/v1_10", "gstreamer-app-sys/v1_10"]
|
||||
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-base/v1_12", "gstreamer-app-sys/v1_12", "v1_10"]
|
||||
v1_14 = ["gstreamer-sys/v1_14", "gstreamer-base/v1_14", "gstreamer-app-sys/v1_14", "v1_12"]
|
||||
embed-lgpl-docs = ["rustdoc-stripper"]
|
||||
purge-lgpl-docs = ["rustdoc-stripper"]
|
||||
dox = ["gstreamer-app-sys/dox", "glib/dox", "gstreamer/dox", "gstreamer-base/dox"]
|
||||
|
|
|
@ -159,6 +159,16 @@ impl AppSrc {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||
pub fn push_buffer_list(&self, list: gst::BufferList) -> gst::FlowReturn {
|
||||
unsafe {
|
||||
from_glib(ffi::gst_app_src_push_buffer_list(
|
||||
self.to_glib_none().0,
|
||||
list.into_ptr(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn set_callbacks(&self, callbacks: AppSrcCallbacks) {
|
||||
unsafe {
|
||||
ffi::gst_app_src_set_callbacks(
|
||||
|
|
|
@ -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