[vlc-commits] quartztext: remove debug
Felix Paul Kühne
git at videolan.org
Wed Jul 29 17:03:18 CEST 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jul 29 17:03:09 2015 +0200| [254c6bb4c67a489fc1b31507d62a0052577f32c6] | committer: Felix Paul Kühne
quartztext: remove debug
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=254c6bb4c67a489fc1b31507d62a0052577f32c6
---
modules/text_renderer/quartztext.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/modules/text_renderer/quartztext.c b/modules/text_renderer/quartztext.c
index 75a48e1..02e0482 100644
--- a/modules/text_renderer/quartztext.c
+++ b/modules/text_renderer/quartztext.c
@@ -320,7 +320,6 @@ static int RenderText(filter_t *p_filter, subpicture_region_t *p_region_out,
if (p_text->psz_text) {
psz_render_string = strdup(p_text->psz_text);
- msg_Dbg(p_filter, "raw render string '%s'", psz_render_string);
}
if (!psz_render_string) {
@@ -356,8 +355,6 @@ static int RenderText(filter_t *p_filter, subpicture_region_t *p_region_out,
p_region_out->i_x = p_region_in->i_x;
p_region_out->i_y = p_region_in->i_y;
- msg_Dbg(p_filter, "will render");
-
CFMutableAttributedStringRef p_attrString = CFAttributedStringCreateMutable(kCFAllocatorDefault, 0);
if (p_attrString) {
@@ -365,9 +362,7 @@ static int RenderText(filter_t *p_filter, subpicture_region_t *p_region_out,
int len;
p_cfString = CFStringCreateWithCString(NULL, psz_render_string, kCFStringEncodingUTF8);
- if (p_cfString) {
- msg_Dbg(p_filter, "ok");
- } else
+ if (!p_cfString)
return VLC_EGENERIC;
CFAttributedStringReplaceString(p_attrString, CFRangeMake(0, 0), p_cfString);
@@ -382,8 +377,6 @@ static int RenderText(filter_t *p_filter, subpicture_region_t *p_region_out,
CFRelease(p_attrString);
}
- msg_Info(p_filter, "OK");
-
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list