From ae4f9aebcc9469b0e1451c18dbcef20600b9ad70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 3 Jan 2018 09:15:34 +0000 Subject: [PATCH] glcolorconvert: fix missing printf arg for apple rectangular texture case Found by -Wformat-nonliteral (to be re-enabled in a separate commit). --- gst-libs/gst/gl/gstglcolorconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index 6bd919754b..734ebf405a 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.c +++ b/gst-libs/gst/gl/gstglcolorconvert.c @@ -1491,7 +1491,7 @@ _YUV_to_RGB (GstGLColorConvert * convert) * for us */ info->templ = &templ_REORDER; info->frag_body = - g_strdup_printf (info->templ->body, pixel_order[0], pixel_order[1], + g_strdup_printf (info->templ->body, "", pixel_order[0], pixel_order[1], pixel_order[2], pixel_order[3]); info->shader_tex_names[0] = "tex"; } else {