/*
 * call-seq:
 *   palette=OsdPalette
 *
 * Sets the palette of the osd to the given one.
 */
static VALUE osd_set_palette(VALUE self, VALUE palette) {