From 9003beee3406908a4ba93dfefc4b50d34730ad25 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Sat, 12 Oct 2019 11:23:32 +0200 Subject: [PATCH] Fix PIP with PLACEBO --- video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video.c b/video.c index af5e369..4a11a93 100644 --- a/video.c +++ b/video.c @@ -3741,8 +3741,8 @@ static void CuvidMixVideo(CuvidDecoder * decoder, __attribute__((unused))int lev target->dst_rect.x1 = dst_video_rect.x1; target->dst_rect.y1 = dst_video_rect.y1; } - - pl_tex_clear(p->gpu,target->fbo,(float[4]){0}); + if (level == 0) + pl_tex_clear(p->gpu,target->fbo,(float[4]){0}); if (VideoColorBlindness) { switch(VideoColorBlindness) {