Mercurial > mplayer.hg
comparison cfg-mplayer.h @ 7867:3dc0b71630ff
cleanup config option handling in libmpdemux.
removed overcompilacted m_config_register_options() mess - export the
subconfig structs instead
author | arpi |
---|---|
date | Wed, 23 Oct 2002 17:21:01 +0000 |
parents | 732a8bfc7681 |
children | f483ab704252 |
comparison
equal
deleted
inserted
replaced
7866:732a8bfc7681 | 7867:3dc0b71630ff |
---|---|
85 #endif | 85 #endif |
86 | 86 |
87 #ifdef HAVE_ZR | 87 #ifdef HAVE_ZR |
88 extern int vo_zr_parseoption(struct config * conf, char *opt, char * param); | 88 extern int vo_zr_parseoption(struct config * conf, char *opt, char * param); |
89 extern void vo_zr_revertoption(config_t* opt,char* pram); | 89 extern void vo_zr_revertoption(config_t* opt,char* pram); |
90 #endif | |
91 | |
92 #ifdef HAVE_DXR2 | |
93 extern config_t dxr2_opts[]; | |
90 #endif | 94 #endif |
91 | 95 |
92 #ifdef STREAMING_LIVE_DOT_COM | 96 #ifdef STREAMING_LIVE_DOT_COM |
93 extern int isSDPFile; | 97 extern int isSDPFile; |
94 extern int rtspStreamOverTCP; | 98 extern int rtspStreamOverTCP; |
302 #ifdef HAVE_ZR | 306 #ifdef HAVE_ZR |
303 // -vo zr | 307 // -vo zr |
304 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption }, | 308 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption }, |
305 #endif | 309 #endif |
306 | 310 |
311 #ifdef HAVE_DXR2 | |
312 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | |
313 #endif | |
314 | |
307 #ifdef STREAMING_LIVE_DOT_COM | 315 #ifdef STREAMING_LIVE_DOT_COM |
308 // -sdp option, specifying that the source is a SDP file | 316 // -sdp option, specifying that the source is a SDP file |
309 {"sdp", &isSDPFile, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 317 {"sdp", &isSDPFile, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
310 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP | 318 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP |
311 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 319 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |