Struct rinvideo::VideoAppSink[][src]

pub struct VideoAppSink { /* fields omitted */ }

Methods

impl VideoAppSink
[src]

Methods from Deref<Target = Pipeline>

Gets the GstBus of pipeline . The bus allows applications to receive Message packets.

Get the configured delay (see set_delay()).

Set the expected delay needed for all elements to perform the PAUSED to PLAYING state change. delay will be added to the base time of the elements so that they wait an additional delay amount of time before starting to process buffers and cannot be GST_CLOCK_TIME_NONE.

This option is used for tuning purposes and should normally not be used.

Returns a const raw pointer to the internal GstElement

Returns a mut raw pointer to the internal GstElement

Trait Implementations

impl Video for VideoAppSink
[src]

Blocks till a new frame is availble can return None if the output format is not supported Read more

Tries to receive a new frame and returns immediately if there's none available. It also returns Empty if the output format is not supported Read more

Blocks till a new frame is available, if there's more than one frame it discards them till the last one Read more

Tries to receive a new frame and returns immediately if there's none available. It also returns Empty if the output format is not supported. If there's more than one frame it discards them till the last one Read more

Tries to receive the last frame and stores it internally, it can be recovered using last_frame Read more

Returns a reference to the last frame if there's one available

Width of the video

Height of the video

fps of the video, this should be the reported framerate by the underlying backend not the real fps Read more

fps of the video, this should be the real fps calculated when calling any of the functions to return a new frame or update Read more

Size (width x height) of the video

impl Transfer for VideoAppSink
[src]

Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more

impl AsRef<Pipeline> for VideoAppSink
[src]

Performs the conversion.

impl AsMut<Pipeline> for VideoAppSink
[src]

Performs the conversion.

impl From<VideoAppSink> for Pipeline
[src]

Performs the conversion.

impl Deref for VideoAppSink
[src]

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for VideoAppSink
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl !Send for VideoAppSink

impl !Sync for VideoAppSink