view mp-opt-reg.c @ 4833:395844d9d5d6

fixes bug in alban's new input handling code that caused the terminal state to get trashed and not restored on exit. hopefully this change won't interfere with the functionality of the new code; as far as i can tell it seems to work fine.
author rfelker
date Sun, 24 Feb 2002 04:56:54 +0000
parents 2bf9749cb7c2
children 8e88e92fe331
line wrap: on
line source


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

#ifdef HAVE_NEW_INPUT
extern void mp_input_register_options(m_config_t* cfg);
#endif
extern void libmpdemux_register_options(m_config_t* cfg);

void
mp_register_options(m_config_t* cfg) {
  
#ifdef HAVE_NEW_INPUT
  mp_input_register_options(cfg);
#endif
  libmpdemux_register_options(cfg);

}