[vlc-commits] TTML: don't use printf for debugging in normal VLC
Jean-Baptiste Kempf
git at videolan.org
Sat Nov 25 12:52:15 CET 2017
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Nov 25 11:04:56 2017 +0100| [c7abb8525c73bdd099a3dd07a481dfa1108e396a] | committer: Jean-Baptiste Kempf
TTML: don't use printf for debugging in normal VLC
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c7abb8525c73bdd099a3dd07a481dfa1108e396a
---
modules/codec/ttml/substtml.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/codec/ttml/substtml.c b/modules/codec/ttml/substtml.c
index 383f8e07fa..37c3b15213 100644
--- a/modules/codec/ttml/substtml.c
+++ b/modules/codec/ttml/substtml.c
@@ -468,7 +468,9 @@ static void FillTTMLStyle( const char *psz_attr, const char *psz_val,
/* == "start" FIXME: should be BIDI based */
p_ttml_style->i_text_align |= SUBPICTURE_ALIGN_LEFT;
p_ttml_style->b_text_align_set = true;
+#ifdef TTML_DEBUG
printf("**%s %x\n", psz_val, p_ttml_style->i_text_align);
+#endif
}
else if( !strcasecmp( "tts:fontSize", psz_attr ) )
{
More information about the vlc-commits
mailing list