# HG changeset patch # User diego # Date 1060565930 0 # Node ID 4cf6eae8b41ee3ac8d61b8c58a4f0ef576c4b850 # Parent 7c42b1f2e92f58839eb50698ca1f18bc57f89384 Moved -slices to cfg-common.h. diff -r 7c42b1f2e92f -r 4cf6eae8b41e cfg-common.h --- a/cfg-common.h Mon Aug 11 01:14:20 2003 +0000 +++ b/cfg-common.h Mon Aug 11 01:38:50 2003 +0000 @@ -183,6 +183,10 @@ {"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL}, {"tsfastparse", &ts_fastparse, CONF_TYPE_INT, 0, 0, 0, NULL}, + // draw by slices or whole frame (useful with libmpeg2/libavcodec) + {"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL}, + #ifdef USE_LIBAVCODEC {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, #endif @@ -244,6 +248,7 @@ extern float movie_aspect; extern int softzoom; extern int flip; +extern int vd_use_slices; /* from dec_audio, currently used for ac3surround decoder only */ extern int audio_output_channels; diff -r 7c42b1f2e92f -r 4cf6eae8b41e cfg-mencoder.h --- a/cfg-mencoder.h Mon Aug 11 01:14:20 2003 +0000 +++ b/cfg-mencoder.h Mon Aug 11 01:38:50 2003 +0000 @@ -147,8 +147,6 @@ {NULL, NULL, 0, 0, 0, 0, NULL} }; -extern int vd_use_slices; - static config_t mencoder_opts[]={ /* name, pointer, type, flags, min, max */ {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */ @@ -189,10 +187,6 @@ {"vobsuboutindex", &vobsub_out_index, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, {"vobsuboutid", &vobsub_out_id, CONF_TYPE_STRING, 0, 0, 0, NULL}, - // draw by slices or whole frame (usefull with libmpeg2/libavcodec) - {"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL}, - {"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL}, - {"autoexpand", &auto_expand, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"noautoexpand", &auto_expand, CONF_TYPE_FLAG, 0, 1, 0, NULL}, diff -r 7c42b1f2e92f -r 4cf6eae8b41e cfg-mplayer.h --- a/cfg-mplayer.h Mon Aug 11 01:14:20 2003 +0000 +++ b/cfg-mplayer.h Mon Aug 11 01:38:50 2003 +0000 @@ -56,7 +56,6 @@ extern int vo_fsmode; extern int vo_dbpp; extern int vo_directrendering; -extern int vd_use_slices; extern float vo_panscan; /* only used by startup (setting these values from configfile) */ extern int vo_gamma_brightness; @@ -309,10 +308,6 @@ {"vaa_dr", "Use -dr, -vaa_dr was obsoleted\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, {"vaa_nodr", "Use -nodr, -vaa_nodr was obsoleted\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, - // draw by slices or whole frame (usefull with libmpeg2/libavcodec) - {"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL}, - {"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL}, - #ifdef HAVE_AA // -vo aa {"aa*", vo_aa_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0 , &vo_aa_revertoption},