mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
check/harness: Add new 1.19.1 set_live
function
This commit is contained in:
parent
fde3d2088d
commit
dc763501ae
1 changed files with 7 additions and 0 deletions
|
@ -398,6 +398,13 @@ impl Harness {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[doc(alias = "gst_harness_set_live")]
|
||||||
|
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||||
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||||
|
pub fn set_live(&mut self, is_live: bool) {
|
||||||
|
unsafe { ffi::gst_harness_set_live(self.0.as_ptr(), is_live.into_glib()) }
|
||||||
|
}
|
||||||
|
|
||||||
//pub fn set_propose_allocator<P: IsA<gst::Allocator>>(&mut self, allocator: Option<&P>, params: Option<&gst::AllocationParams>) {
|
//pub fn set_propose_allocator<P: IsA<gst::Allocator>>(&mut self, allocator: Option<&P>, params: Option<&gst::AllocationParams>) {
|
||||||
// unsafe { TODO: call ffi::gst_harness_set_propose_allocator() }
|
// unsafe { TODO: call ffi::gst_harness_set_propose_allocator() }
|
||||||
//}
|
//}
|
||||||
|
|
Loading…
Reference in a new issue