[vlc-commits] quartztext: fix html rendering

Felix Paul Kühne git at videolan.org
Sun Jul 13 16:58:41 CEST 2014


vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jul 13 14:38:59 2014 +0200| [440d5cffabaa1dcc728025489341a47d00f9564b] | committer: Felix Paul Kühne

quartztext: fix html rendering

(cherry picked from commit 104e93696ed1b9dfb35c3a7d2715c040e2ef200a)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=440d5cffabaa1dcc728025489341a47d00f9564b
---

 modules/text_renderer/quartztext.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/text_renderer/quartztext.c b/modules/text_renderer/quartztext.c
index f0b5b67..8de1081 100644
--- a/modules/text_renderer/quartztext.c
+++ b/modules/text_renderer/quartztext.c
@@ -785,7 +785,7 @@ static int RenderHtml(filter_t *p_filter, subpicture_region_t *p_region_out,
                          * of times to show the progress marker on the text.
                          */
                         var_SetBool(p_filter, "text-rerender", true);
-                    } else {
+                    } else if (strcasecmp("text", name)) {
                         /* Only text and karaoke tags are supported */
                         msg_Dbg(p_filter, "Unsupported top-level tag "
                                            "<%s> ignored.", name);



More information about the vlc-commits mailing list