view mp-opt-reg.c @ 7492:5465cbd5c5ef

Modern versions of OpenSSH listen on localhost to forward the X11 connection (X11UseLocalhost defaults to yes). The following patch permits to consider as non local any DISPLAY environment which port is greater or equal to 10 else mplayer tries a local optimization on a distant X server which doesn't work. patch by Denis.Ducamp@groar.org
author arpi
date Mon, 23 Sep 2002 21:17:30 +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);
}