view mp-opt-reg.c @ 7256:ec6dd0a29d93

Add the code that chooses a good X11 truecolor visual to the vo_x11 config() function. This is useful for framebuffers on Sun hardware, where we have multiple truecolor visuals of different depths available, and the root window typically runs at depth 8, yet there are 24 bit true color visuals available as well.
author jkeil
date Tue, 03 Sep 2002 18:10:42 +0000
parents b65b78640d49
children
line wrap: on
line source

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include "cfgparser.h"

extern void mp_input_register_options(m_config_t* cfg);
extern void libmpdemux_register_options(m_config_t* cfg);
extern void libvo_register_options(m_config_t* cfg);

void
mp_register_options(m_config_t* cfg) {
  
  mp_input_register_options(cfg);
  libmpdemux_register_options(cfg);
  libvo_register_options(cfg);
}