Commit e3774ad4 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

Update gstreamer-app

parent b25a0711
...@@ -71,6 +71,11 @@ trait = false ...@@ -71,6 +71,11 @@ trait = false
# Pass by value # Pass by value
ignore = true ignore = true
[[object.function]]
name = "push_buffer_list"
# Pass by value
ignore = true
[[object.signal]] [[object.signal]]
name = "end-of-stream" name = "end-of-stream"
# Action signal # Action signal
...@@ -81,6 +86,11 @@ trait = false ...@@ -81,6 +86,11 @@ trait = false
# Action signal # Action signal
ignore = true ignore = true
[[object.signal]]
name = "push-buffer-list"
# Action signal
ignore = true
[[object.signal]] [[object.signal]]
name = "push-sample" name = "push-sample"
# Action signal # Action signal
...@@ -117,6 +127,11 @@ name = "Gst.Buffer" ...@@ -117,6 +127,11 @@ name = "Gst.Buffer"
status = "manual" status = "manual"
ref_mode = "ref" ref_mode = "ref"
[[object]]
name = "Gst.BufferList"
status = "manual"
ref_mode = "ref"
[[object]] [[object]]
name = "Gst.Sample" name = "Gst.Sample"
status = "manual" status = "manual"
......
...@@ -31,6 +31,7 @@ optional = true ...@@ -31,6 +31,7 @@ optional = true
[features] [features]
v1_10 = ["gstreamer-sys/v1_10", "gstreamer-base/v1_10", "gstreamer-app-sys/v1_10"] 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_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"] embed-lgpl-docs = ["rustdoc-stripper"]
purge-lgpl-docs = ["rustdoc-stripper"] purge-lgpl-docs = ["rustdoc-stripper"]
dox = ["gstreamer-app-sys/dox", "glib/dox", "gstreamer/dox", "gstreamer-base/dox"] dox = ["gstreamer-app-sys/dox", "glib/dox", "gstreamer/dox", "gstreamer-base/dox"]
......
...@@ -159,6 +159,16 @@ impl AppSrc { ...@@ -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) { pub fn set_callbacks(&self, callbacks: AppSrcCallbacks) {
unsafe { unsafe {
ffi::gst_app_src_set_callbacks( ffi::gst_app_src_set_callbacks(
......
// 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 @ ???) // from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT // DO NOT EDIT
......
// 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 @ ???) // from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT // DO NOT EDIT
......
// 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 @ ???) // from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT // DO NOT EDIT
......
// 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 @ ???) // from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT // DO NOT EDIT
......
// 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 @ ???) // from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT // DO NOT EDIT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment