video_format_parse_caps
Description:
public bool video_format_parse_caps (
Caps caps,
ref VideoFormat format,
ref int width,
ref int height)
Determines the VideoFormat of caps and places it in the location pointed to
by format. Extracts the size of the video and places it in the location pointed to by width and height
. If caps does not represent one of the raw video formats listed in
VideoFormat, the function will fail and return FALSE.
Parameters:
| caps |
the Caps to parse |
| format |
the VideoFormat of the video represented by caps (output) |
| width |
the width of the video represented by caps, may be NULL (output) |
| height |
the height of the video represented by caps, may be NULL (output) |
Returns:
TRUE if caps was parsed correctly. |
Namespace: Gst
Package: gstreamer-video-0.10