From d19c6aa6cd0e94347a198b18b659a79be1c4116d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 6 Dec 2021 20:35:13 +0100 Subject: [PATCH] cc_item_tvpic: use CFrameBuffer::TM_NONE for transparency mode Restore older behvior for background painting --- src/gui/components/cc_item_tvpic.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/components/cc_item_tvpic.cpp b/src/gui/components/cc_item_tvpic.cpp index 943c5e3ca..331c41780 100644 --- a/src/gui/components/cc_item_tvpic.cpp +++ b/src/gui/components/cc_item_tvpic.cpp @@ -48,7 +48,6 @@ CComponentsPIP::CComponentsPIP( const int x_pos, const int y_pos, const int perc //CComponents, CComponentsItem cc_item_type.id = CC_ITEMTYPE_PIP; cc_item_type.name ="cc_pip_box"; - //CComponentsPIP screen_w = frameBuffer->getScreenWidth(true); screen_h = frameBuffer->getScreenHeight(true); @@ -100,7 +99,7 @@ void CComponentsPIP::paint(const bool &do_save_bg) videoDecoder->Pig(pig_x, pig_y, pig_w, pig_h, screen_w, screen_h); } else{ //paint an alternate image if no tv mode available - CComponentsPicture pic(pig_x, pig_y, pig_w, pig_h, pic_name, NULL, CC_SHADOW_OFF, col_frame, col_body_std, col_shadow); + CComponentsPicture pic(pig_x, pig_y, pig_w, pig_h, pic_name, NULL, CC_SHADOW_OFF, col_frame, col_body_std, col_shadow, CFrameBuffer::TM_NONE); int w, h; pic.getSize(&w, &h); pic.setPos(pig_x + pig_w/2-w/2, pig_y + pig_h/2-h/2);