VideoFormat.fromFourcc
Converts a FOURCC value into the corresponding #GstVideoFormat. If the FOURCC cannot be represented by #GstVideoFormat, #GST_VIDEO_FORMAT_UNKNOWN is returned.
Parameters
fourcc | a FOURCC value representing raw YUV video |
Returns
the #GstVideoFormat describing the FOURCC value