From: Niklas Haas <[email protected]>
---
libavfilter/vf_alphamerge.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/vf_alphamerge.c b/libavfilter/vf_alphamerge.c
index f5779484a9..98c61e282d 100644
--- a/libavfilter/vf_alphamerge.c
+++ b/libavfilter/vf_alphamerge.c
@@ -85,6 +85,8 @@ static int do_alphamerge(FFFrameSync *fs)
FFMIN(main_linesize, alpha_linesize),
alpha_buf->height);
}
+ main_buf->alpha_mode = AVALPHA_MODE_STRAIGHT;
+
return ff_filter_frame(ctx->outputs[0], main_buf);
}
--
2.50.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".