From 8d7d6caeaf7901cd63596d17efbde3133699fcdf Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Thu, 24 Apr 2014 17:42:54 +0200 Subject: options: rename subtitle-related options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --ass → --sub-ass --autosub → --sub-auto --autosub-match → --sub-auto-match --sub → --sub-file --subcp → --sub-codepage --subfps → --sub-fps --- options/options.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 6a7aab43bd..080e0f4b90 100644 --- a/options/options.c +++ b/options/options.c @@ -402,23 +402,23 @@ const m_option_t mp_opts[] = { // ------------------------- subtitles options -------------------- - OPT_STRINGLIST("sub", sub_name, 0), + OPT_STRINGLIST("sub-file", sub_name, 0), OPT_PATHLIST("sub-paths", sub_paths, 0), - OPT_STRING("subcp", sub_cp, 0), + OPT_STRING("sub-codepage", sub_cp, 0), OPT_FLOAT("sub-delay", sub_delay, 0), - OPT_FLOAT("subfps", sub_fps, 0), + OPT_FLOAT("sub-fps", sub_fps, 0), OPT_FLOAT("sub-speed", sub_speed, 0), - OPT_FLAG("autosub", sub_auto, 0), + OPT_FLAG("sub-auto", sub_auto, 0), OPT_FLAG("sub-visibility", sub_visibility, 0), OPT_FLAG("sub-forced-only", forced_subs_only, 0), OPT_FLAG("stretch-dvd-subs", stretch_dvd_subs, 0), OPT_FLAG_CONSTANTS("sub-fix-timing", suboverlap_enabled, 0, 1, 0), - OPT_CHOICE("autosub-match", sub_match_fuzziness, 0, + OPT_CHOICE("sub-auto-match", sub_match_fuzziness, 0, ({"exact", 0}, {"fuzzy", 1}, {"all", 2})), OPT_INTRANGE("sub-pos", sub_pos, 0, 0, 100), OPT_FLOATRANGE("sub-gauss", sub_gauss, 0, 0.0, 3.0), OPT_FLAG("sub-gray", sub_gray, 0), - OPT_FLAG("ass", ass_enabled, 0), + OPT_FLAG("sub-ass", ass_enabled, 0), OPT_FLOATRANGE("sub-scale", sub_scale, 0, 0, 100), OPT_FLOATRANGE("ass-line-spacing", ass_line_spacing, 0, -1000, 1000), OPT_FLAG("ass-use-margins", ass_use_margins, 0), -- cgit v1.2.3