From 65615a841d6066baff53adf8c8f90efad559f4ad Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sun, 26 May 2019 18:28:18 +0200 Subject: [PATCH] compositor: Don't log per-frame under GST_INFO --- gst/compositor/blend.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gst/compositor/blend.c b/gst/compositor/blend.c index c54d898..42e60bb 100644 --- a/gst/compositor/blend.c +++ b/gst/compositor/blend.c @@ -249,13 +249,13 @@ _blend_##format_name (const guint8 * src, guint8 * dest, \ \ /* If it's completely transparent... we just return */ \ if (G_UNLIKELY (src_alpha == 0.0)) { \ - GST_INFO ("Fast copy (alpha == 0.0)"); \ + GST_LOG ("Fast copy (alpha == 0.0)"); \ return; \ } \ \ /* If it's completely opaque, we do a fast copy */ \ if (G_UNLIKELY (src_alpha == 1.0)) { \ - GST_INFO ("Fast copy (alpha == 1.0)"); \ + GST_LOG ("Fast copy (alpha == 1.0)"); \ for (i = 0; i < src_height; i++) { \ MEMCPY (dest, src, src_width); \ src += src_stride; \ @@ -499,13 +499,13 @@ _blend_##format_name (const guint8 * src, guint8 * dest, \ \ /* If it's completely transparent... we just return */ \ if (G_UNLIKELY (src_alpha == 0.0)) { \ - GST_INFO ("Fast copy (alpha == 0.0)"); \ + GST_LOG ("Fast copy (alpha == 0.0)"); \ return; \ } \ \ /* If it's completely opaque, we do a fast copy */ \ if (G_UNLIKELY (src_alpha == 1.0)) { \ - GST_INFO ("Fast copy (alpha == 1.0)"); \ + GST_LOG ("Fast copy (alpha == 1.0)"); \ for (i = 0; i < src_height; i++) { \ MEMCPY (dest, src, src_width); \ src += src_stride; \ @@ -743,13 +743,13 @@ blend_##name (GstVideoFrame * srcframe, gint xpos, gint ypos, \ \ /* If it's completely transparent... we just return */ \ if (G_UNLIKELY (src_alpha == 0.0)) { \ - GST_INFO ("Fast copy (alpha == 0.0)"); \ + GST_LOG ("Fast copy (alpha == 0.0)"); \ return; \ } \ \ /* If it's completely opaque, we do a fast copy */ \ if (G_UNLIKELY (src_alpha == 1.0)) { \ - GST_INFO ("Fast copy (alpha == 1.0)"); \ + GST_LOG ("Fast copy (alpha == 1.0)"); \ for (i = 0; i < src_height; i++) { \ MEMCPY (dest, src, bpp * src_width); \ src += src_stride; \ @@ -918,13 +918,13 @@ blend_##name (GstVideoFrame * srcframe, gint xpos, gint ypos, \ \ /* If it's completely transparent... we just return */ \ if (G_UNLIKELY (src_alpha == 0.0)) { \ - GST_INFO ("Fast copy (alpha == 0.0)"); \ + GST_LOG ("Fast copy (alpha == 0.0)"); \ return; \ } \ \ /* If it's completely opaque, we do a fast copy */ \ if (G_UNLIKELY (src_alpha == 1.0)) { \ - GST_INFO ("Fast copy (alpha == 1.0)"); \ + GST_LOG ("Fast copy (alpha == 1.0)"); \ for (i = 0; i < src_height; i++) { \ MEMCPY (dest, src, 2 * src_width); \ src += src_stride; \ -- 2.7.4