GStreamingCompiledTraitConst

Trait GStreamingCompiledTraitConst 

Source
pub trait GStreamingCompiledTraitConst {
    // Required method
    fn as_raw_GStreamingCompiled(&self) -> *const c_void;

    // Provided methods
    fn running(&self) -> Result<bool> { ... }
    fn to_bool(&self) -> Result<bool> { ... }
}
Expand description

Constant methods for crate::gapi::GStreamingCompiled

Required Methods§

Provided Methods§

Source

fn running(&self) -> Result<bool>

Test if the pipeline is running.

Note: This method is not thread-safe (with respect to the user side) at the moment. Protect the access if start()/stop()/setSource() may be called on the same object in multiple threads in your application.

§Returns

true if the current stream is not over yet.

Source

fn to_bool(&self) -> Result<bool>

Check if compiled object is valid (non-empty)

§Returns

true if the object is runnable (valid), false otherwise

Implementors§