Valadoc | Vala | Tutorial | API-References | Markup

video_parse_caps_framerate


Description:

public bool video_parse_caps_framerate (Caps caps, ref int fps_n, ref int fps_d)

Extracts the frame rate from caps and places the values in the locations pointed to by fps_n and fps_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
fps_n pointer to integer to hold numerator of frame rate (output)
fps_d pointer to integer to hold denominator of frame rate (output)

Returns:

TRUE if caps was parsed correctly.

Namespace: Gst
Package: gstreamer-video-0.10