gui/components/cc_item_tvpic.cpp: show PiG in mode_ts, too

This commit is contained in:
[CST] Focus
2015-10-29 17:36:00 +03:00
parent 3c849a2649
commit 6ff50ec61b

View File

@@ -96,7 +96,7 @@ void CComponentsPIP::paint(bool do_save_bg)
return; return;
int mode = CNeutrinoApp::getInstance()->getMode(); int mode = CNeutrinoApp::getInstance()->getMode();
if(mode == NeutrinoMessages::mode_tv || mode == NeutrinoMessages::mode_webtv) { if(mode == NeutrinoMessages::mode_tv || mode == NeutrinoMessages::mode_webtv || mode == NeutrinoMessages::mode_ts) {
videoDecoder->Pig(pig_x, pig_y, pig_w, pig_h, screen_w, screen_h); videoDecoder->Pig(pig_x, pig_y, pig_w, pig_h, screen_w, screen_h);
} }
else{ //paint an alternate image if no tv mode available else{ //paint an alternate image if no tv mode available