summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-11 01:38:50 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-11 01:38:50 +0000
commitcbb29a709a9be1735d65afedcef632899d429ea8 (patch)
tree890339c1b0d02ef7aa88e389110e28634c3ef013 /cfg-common.h
parent2cc682bbc325726b6379a8e48faee28491a379b1 (diff)
downloadmpv-cbb29a709a9be1735d65afedcef632899d429ea8.tar.bz2
mpv-cbb29a709a9be1735d65afedcef632899d429ea8.tar.xz
Moved -slices to cfg-common.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10563 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index e89bee0122..e913141c0a 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -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 screen_size_xy;
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;