Valadoc | Vala | Tutorial | API-References | Markup

video_parse_caps_pixel_aspect_ratio


Description:

public bool video_parse_caps_pixel_aspect_ratio (Caps caps, ref int par_n, ref int par_d)

Extracts the pixel aspect ratio from caps and places the values in the locations pointed to by par_n and par_d. Returns TRUE if the values could be parsed correctly, FALSE if not. This function can be used with Caps that have any media type; it is not limited to formats handled by VideoFormat.

Parameters:

caps pointer to a Caps instance
par_n pointer to numerator of pixel aspect ratio (output)
par_d pointer to denominator of pixel aspect ratio (output)

Returns:

TRUE if caps was parsed correctly.

Namespace: Gst
Package: gstreamer-video-0.10