mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 07:19:16 -04:00
libass option; disable enca autodetection when libass is disabled; bump portrevision Approved by: Thomas Zander (maintainer)
13 lines
399 B
C
13 lines
399 B
C
--- sub/subreader.c.orig 2011-07-22 23:08:52.000000000 -0400
|
|
+++ sub/subreader.c 2011-07-22 23:26:15.000000000 -0400
|
|
@@ -2509,8 +2509,10 @@
|
|
strip_markup = 1;
|
|
#endif
|
|
if (!strip_markup) {
|
|
+#ifdef CONFIG_ASS
|
|
subassconvert_subrip(txt, buf, MAX_SUBLINE + 1);
|
|
sub->text[sub->lines] = buf;
|
|
+#endif
|
|
} else {
|
|
for (i = 0; i < len && pos < MAX_SUBLINE; i++) {
|
|
char c = txt[i];
|