format does not have a palette.
VideoFormat.getPalette
const(void) * getPalette(gstvideo.types.VideoFormat format, out size_t size)Get the default palette of format. This the palette used in the pack function for paletted formats.
Parameters
format | a #GstVideoFormat |
size | size of the palette in bytes |
Returns
the default palette of format or null when