comparison cfg-common.h @ 8882:1c44c46ed57f

Overlapping subs are a feature mainly present in subtitling software formats, such as JACOsub and SSA. This patch enables them, by default, only with this formats; however the user can force both enabling and disabling overlapping subtitles by the mean of -overlapsub and -nooverlapsub options. The code itself should avoid all the 'jumping subtitles' problems reported by the users. patch by salvatore.falco@katamail.com
author arpi
date Fri, 10 Jan 2003 22:53:34 +0000
parents 1cd7fd7d4d30
children d00997f12257
comparison
equal deleted inserted replaced
8881:1e40d4a2466f 8882:1c44c46ed57f
176 {"noutf8", &sub_utf8, CONF_TYPE_FLAG, 0, 1, 0, NULL}, 176 {"noutf8", &sub_utf8, CONF_TYPE_FLAG, 0, 1, 0, NULL},
177 // specify IFO file for VOBSUB subtitle 177 // specify IFO file for VOBSUB subtitle
178 {"ifo", &spudec_ifo, CONF_TYPE_STRING, 0, 0, 0, NULL}, 178 {"ifo", &spudec_ifo, CONF_TYPE_STRING, 0, 0, 0, NULL},
179 // enable Closed Captioning display 179 // enable Closed Captioning display
180 {"subcc", &subcc_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL}, 180 {"subcc", &subcc_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL},
181 {"overlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 2, NULL},
181 {"nooverlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 0, NULL}, 182 {"nooverlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 0, NULL},
182 {"sub-bg-color", &sub_bg_color, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL}, 183 {"sub-bg-color", &sub_bg_color, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL},
183 {"sub-bg-alpha", &sub_bg_alpha, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL}, 184 {"sub-bg-alpha", &sub_bg_alpha, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL},
184 #endif 185 #endif
185 #ifdef USE_OSD 186 #ifdef USE_OSD