# HG changeset patch # User rfelker # Date 1059937189 0 # Node ID d94cb807c793b75cd0bb0ff6d25daa851a097d6f # Parent 14c8c762c2b7839191a182c2788eda78710c824e -noslices support for mencoder. ugly hack, but vf_crop and vf_expand are super buggy with slices enabled... :(( diff -r 14c8c762c2b7 -r d94cb807c793 cfg-mencoder.h --- a/cfg-mencoder.h Sun Aug 03 18:33:28 2003 +0000 +++ b/cfg-mencoder.h Sun Aug 03 18:59:49 2003 +0000 @@ -147,6 +147,8 @@ {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!!! */ @@ -187,6 +189,10 @@ {"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},