hack to provide an optional parameter for subtitle encoding in sub_add