summaryrefslogtreecommitdiffstats
path: root/cfg-mencoder.h
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-03 18:59:49 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-03 18:59:49 +0000
commitffdab6e559732638d644fdf6bfbe20786a0149ec (patch)
treedc7ab869defd069b0f040bf304fc8014476b5145 /cfg-mencoder.h
parentc68f67e2e06664fd36293cf744b5bf043d68a00e (diff)
downloadmpv-ffdab6e559732638d644fdf6bfbe20786a0149ec.tar.bz2
mpv-ffdab6e559732638d644fdf6bfbe20786a0149ec.tar.xz
-noslices support for mencoder. ugly hack, but vf_crop and vf_expand
are super buggy with slices enabled... :(( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10518 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mencoder.h')
-rw-r--r--cfg-mencoder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index cb039cebc4..db62791bc7 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -147,6 +147,8 @@ struct config of_conf[]={
{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 @@ static config_t mencoder_opts[]={
{"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},