From 7dc42263486bd45d2ba830f065a8556c02aaf7c8 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Thu, 24 Apr 2008 08:20:59 +0300 Subject: Move vd_use_slices to options struct --- cfg-common-opts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cfg-common-opts.h') diff --git a/cfg-common-opts.h b/cfg-common-opts.h index e4dd1edc12..6401bf566b 100644 --- a/cfg-common-opts.h +++ b/cfg-common-opts.h @@ -242,8 +242,8 @@ {"tskeepbroken", &ts_keep_broken, CONF_TYPE_FLAG, 0, 0, 1, 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}, + OPT_FLAG_ON("slices", vd_use_slices, 0), + OPT_FLAG_OFF("noslices", vd_use_slices, 0), {"field-dominance", &field_dominance, CONF_TYPE_INT, CONF_RANGE, -1, 1, NULL}, #ifdef USE_LIBAVCODEC -- cgit v1.2.3