Struct gstreamer_app::app_src::AppSrcBuilder
source · pub struct AppSrcBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct AppSrc
objects.
Implementations§
source§impl AppSrcBuilder
impl AppSrcBuilder
pub fn automatic_eos(self, automatic_eos: bool) -> Self
pub fn block(self, block: bool) -> Self
pub fn callbacks(self, callbacks: AppSrcCallbacks) -> Self
pub fn caps(self, caps: &Caps) -> Self
pub fn do_timestamp(self, do_timestamp: bool) -> Self
pub fn duration(self, duration: u64) -> Self
pub fn format(self, format: Format) -> Self
pub fn handle_segment_change(self, handle_segment_change: bool) -> Self
Available on crate feature
v1_18
only.pub fn is_live(self, is_live: bool) -> Self
pub fn leaky_type(self, leaky_type: AppLeakyType) -> Self
Available on crate feature
v1_20
only.pub fn max_buffers(self, max_buffers: u64) -> Self
Available on crate feature
v1_20
only.pub fn max_bytes(self, max_bytes: u64) -> Self
pub fn max_latency(self, max_latency: i64) -> Self
pub fn max_time(self, max_time: Option<ClockTime>) -> Self
Available on crate feature
v1_20
only.pub fn min_latency(self, min_latency: i64) -> Self
pub fn min_percent(self, min_percent: u32) -> Self
pub fn size(self, size: i64) -> Self
pub fn stream_type(self, stream_type: AppStreamType) -> Self
pub fn name(self, name: impl Into<GString>) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for AppSrcBuilder
impl !Send for AppSrcBuilder
impl !Sync for AppSrcBuilder
impl Unpin for AppSrcBuilder
impl !UnwindSafe for AppSrcBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more