From 44ceaed3162eb0004c56d1921807ef24bf8adb21 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 30 Dec 2013 23:50:43 +0100 Subject: [PATCH] Producer color hack for Movit. --- src/modules/core/producer_colour.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/core/producer_colour.c b/src/modules/core/producer_colour.c index f1fcb616..0121689e 100644 --- a/src/modules/core/producer_colour.c +++ b/src/modules/core/producer_colour.c @@ -195,6 +195,10 @@ static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_form *p ++ = color.b; } break; + case mlt_image_glsl: + case mlt_image_glsl_texture: + memset(p, 0, size); + break; default: *format = mlt_image_rgb24a; while ( --i ) -- 2.39.2