Valadoc | Vala | Tutorial | API-References | Markup

video_get_size


Description:

public bool video_get_size (Pad pad, ref int width, ref int height)

Inspect the caps of the provided pad and retrieve the width and height of the video frames it is configured for. The pad needs to have negotiated caps containing width and height properties.

Parameters:

pad pointer to a Pad
width pointer to integer to hold pixel width of the video frames (output)
height pointer to integer to hold pixel height of the video frames (output)

Returns:

TRUE if the width and height could be retrieved.

Namespace: Gst
Package: gstreamer-video-0.10