mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
webtv channels integration port,
initial code (C) martii, initial patch from jacek
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user