📄 config.h.in
字号:
/***************************************************************************** * config.h: limits and configuration * Defines all compilation-time configuration constants and size limits ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN * * Authors: * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************//* Conventions regarding names of symbols and variables * ---------------------------------------------------- * * - Symbols should begin with a prefix indicating in which module they are * used, such as INTF_, VOUT_ or ADEC_. * * - Regarding environment variables, which are used as initialization parameters * for threads : * + variable names should end with '_VAR' * + environment variable default value should end with '_DEFAULT' * + values having a special meaning with '_VAL' * *//***************************************************************************** * Program information *****************************************************************************//* Program version and copyright message */#define VERSION_MESSAGE "vlc @VLC_VERSION@ @VLC_CODENAME@ " \ /* "(" PROGRAM_BUILD ") (" PROGRAM_OPTIONS ")\n" */ \ "Copyright 1996-2000 VideoLAN\n"#define COPYRIGHT_MESSAGE "VideoLAN Client - version @VLC_VERSION@" \ " @VLC_CODENAME@ - (c)1996-2000 VideoLAN"#define VERSION "@VLC_VERSION@"/***************************************************************************** * General compilation options *****************************************************************************//* Define for DVB support - Note that some extensions or restrictions may be * incompatible with native MPEG2 streams *///#define DVB_EXTENSIONS//#define DVB_RESTRICTIONS/* Define to disable some obscure heuristics behind the video_parser and the * video_decoder that improve performance but are not fully MPEG2 compliant * and might cause problems with some very weird streams. *///#define MPEG2_COMPLIANT/* Define for profiling and statistics support - such informations, like FPS * or pictures count won't be available if it not set */#define STATS/* Define for unthreaded version of the program FIXME: not yet implemented ??*///#define NO_THREAD/***************************************************************************** * Debugging options - define or undefine symbols *****************************************************************************/#if DEBUG == 1/* General debugging support, which depends of the DEBUG define, is determined * in the Makefile *//* Modules specific debugging - this will produce a lot of output, but can be * usefull to track a bug */#define DEBUG_INTF#define DEBUG_INPUT#define DEBUG_AUDIO//#define DEBUG_VIDEO/* Debugging log file - if defined, a file can be used to store all messages. If * DEBUG_LOG_ONLY is defined, debug messages will only be printed to the log and * will not appear on the screen */#define DEBUG_LOG "vlc-debug.log"#define DEBUG_LOG_ONLY#endif/***************************************************************************** * General configuration *****************************************************************************/#define CLOCK_FREQ 1000000/* Automagically spawn input, audio and video threads ? *//* XXX?? used ? */#define AUTO_SPAWN/* When creating or destroying threads in blocking mode, delay to poll thread * status */#define THREAD_SLEEP ((int)(0.010*CLOCK_FREQ))/* * Decoders FIFO configuration *//* Size of the FIFO. FIFO_SIZE+1 must be a power of 2 */#define FIFO_SIZE 1023/***************************************************************************** * Interface configuration *****************************************************************************//* Environment variable used to store startup script name and default value */#define INTF_INIT_SCRIPT_VAR "vlc_init"#define INTF_INIT_SCRIPT_DEFAULT "vlc.init"/* Environment variable used to store channels file and default value */#define INTF_CHANNELS_VAR "vlc_channels"#define INTF_CHANNELS_DEFAULT "vlc.channels"/* Base delay in micro second for interface sleeps */#define INTF_IDLE_SLEEP ((int)(0.100*CLOCK_FREQ))/* Step for changing gamma, and minimum and maximum values */#define INTF_GAMMA_STEP .1#define INTF_GAMMA_LIMIT 3/* Maximum number of channels */#define INTF_MAX_CHANNELS 10/* * X11 settings *//* Title of the X11 window */#define VOUT_TITLE "VideoLAN Client"/***************************************************************************** * Input thread configuration *****************************************************************************//* XXX?? */#define INPUT_IDLE_SLEEP ((int)(0.100*CLOCK_FREQ))/* * General limitations *//* Broadcast address, in case of a broadcasted stream */#define INPUT_BCAST_ADDR "138.195.143.255"/* Maximum number of input threads - this value is used exclusively by * interface, and is in fact an interface limitation */#define INPUT_MAX_THREADS 10/* Maximum number of programs definitions in a TS stream */#define INPUT_MAX_PGRM 10/* Maximum number of ES definitions in a TS stream */#define INPUT_MAX_ES 10/* Maximum number of ES in a single program */#define INPUT_MAX_PROGRAM_ES 10/* Maximum number of selected ES in an input thread */#define INPUT_MAX_SELECTED_ES 10/* Maximum number of TS packets in the client at any time * INPUT_MAX_TS + 1 must be a power of 2, to optimize the %(INPUT_MAX_TS+1) * operation with a &INPUT_MAX_TS in the case of a fifo netlist. * It should be > number of fifos * FIFO_SIZE to avoid input deadlock. */#define INPUT_MAX_TS 32767 /* INPUT_MAX_TS + 1 = 2^15 *//* Same thing with PES packets */#define INPUT_MAX_PES 16383/* Maximum number of TS packets we read from the socket in one readv(). * Since you can't put more than 7 TS packets in an Ethernet frame, * the maximum value is 7. This number should also limit the stream server, * otherwise any supplementary packet is lost. */#define INPUT_TS_READ_ONCE 7/* Use a LIFO or FIFO for TS netlist ? */#undef INPUT_LIFO_TS_NETLIST/* Use a LIFO or FIFO for PES netlist ? */#undef INPUT_LIFO_PES_NETLIST/* Maximum length of a hostname or source name */#define INPUT_MAX_SOURCE_LENGTH 100/* Default remote server */#define INPUT_SERVER_VAR "vlc_server"#define INPUT_SERVER_DEFAULT "138.195.143.220"/* Default input port */#define INPUT_PORT_VAR "vlc_server_port"#define INPUT_PORT_DEFAULT 1234/* * Vlan method *//* Default network interface and environment variable */#define INPUT_IFACE_VAR "vlc_iface"#define INPUT_IFACE_DEFAULT "eth0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -