# HG changeset patch # User diego # Date 1189345305 0 # Node ID 93510574eb68a5c5a0ee2300c46fee8b615f49a4 # Parent 93d5f228ff8282e335f3c7128e672b501eded5e9 Add comments to some #endif preprocessor directives. diff -r 93d5f228ff82 -r 93510574eb68 cfg-common.h --- a/cfg-common.h Sun Sep 09 12:19:57 2007 +0000 +++ b/cfg-common.h Sun Sep 09 13:41:45 2007 +0000 @@ -61,14 +61,14 @@ {"prefer-ipv6", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 1, 0, NULL}, #else {"prefer-ipv6", "MPlayer was compiled without IPv6 support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, -#endif +#endif /* HAVE_AF_INET6 */ #else {"user", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, {"passwd", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, {"bandwidth", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, {"user-agent", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, -#endif +#endif /* MPLAYER_NETWORK */ #ifdef STREAMING_LIVE555 {"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, @@ -415,7 +415,7 @@ {"achannels", &stream_radio_defaults.achannels, CONF_TYPE_INT, CONF_MIN, 0 ,0, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; -#endif +#endif /* USE_RADIO */ #ifdef USE_TV m_option_t tvopts_conf[]={ @@ -457,19 +457,19 @@ {"quality", &stream_tv_defaults.quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL}, #if defined(HAVE_ALSA9) || defined(HAVE_ALSA1X) {"alsa", &stream_tv_defaults.alsa, CONF_TYPE_FLAG, 0, 0, 1, NULL}, -#endif +#endif /* defined(HAVE_ALSA9) || defined(HAVE_ALSA1X) */ {"adevice", &stream_tv_defaults.adevice, CONF_TYPE_STRING, 0, 0, 0, NULL}, -#endif +#endif /* defined(HAVE_TV_V4L) || defined(HAVE_TV_V4L2) */ #ifdef HAVE_TV_TELETEXT {"tdevice", &stream_tv_defaults.tdevice, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"tpage", &stream_tv_defaults.tpage, CONF_TYPE_INT, CONF_RANGE, 100, 899, NULL}, {"tformat", &stream_tv_defaults.tformat, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL}, {"tlang", &stream_tv_defaults.tlang, CONF_TYPE_INT, CONF_RANGE, -1, 0x7f, NULL}, -#endif +#endif /* HAVE_TV_TELETEXT */ {"audioid", &stream_tv_defaults.audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 9, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; -#endif +#endif /* USE_TV */ #ifdef HAVE_PVR extern int pvr_param_aspect_ratio; @@ -715,4 +715,4 @@ int dvd_parse_chapter_range(m_option_t*, const char*); -#endif +#endif /* MAIN_CONF */ diff -r 93d5f228ff82 -r 93510574eb68 cfg-mplayer.h --- a/cfg-mplayer.h Sun Sep 09 12:19:57 2007 +0000 +++ b/cfg-mplayer.h Sun Sep 09 13:41:45 2007 +0000 @@ -77,7 +77,7 @@ extern int menu_flip_hebrew; extern int menu_fribidi_flip_commas; #endif -#endif +#endif /* HAVE_MENU */ #ifdef HAVE_ZR extern int vo_zr_parseoption(m_option_t* conf, char *opt, char * param); @@ -315,10 +315,10 @@ {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL}, {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL}, {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL}, -#endif +#endif /* USE_FRIBIDI */ #else {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL}, -#endif +#endif /* HAVE_MENU */ // these should be moved to -common, and supported in MEncoder {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},