webtv channels integration port,

initial code (C) martii,
initial patch from jacek
This commit is contained in:
[CST] Focus
2014-08-27 17:32:26 +04:00
parent 415d516465
commit a473fe8194
49 changed files with 1000 additions and 190 deletions

View File

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