Changeset 39992 for titan/titan/pip.h


Ignore:
Timestamp:
02/11/17 18:04:24 (7 years ago)
Author:
gost
Message:

dm900.. deactivate hdmi-in pip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/pip.h

    r39956 r39992  
    504504        struct skin* pipscreen = getscreen("pipscreen");
    505505        struct skin* hdmi = getscreennode(pipscreen, "hdmi");
     506        struct skin* b3 = getscreennode(pipscreen, "b3");
    506507        int rcret = 0;
    507508       
     
    511512        int dst_top = getconfigint("pip_dst_top", NULL);
    512513
     514        if(checkbox("DM900") == 1)
     515        {
     516                b3->hidden = YES;
     517                hdmi->hidden = YES;
     518        }
     519       
    513520        if(dst_width == 0)
    514521        {
     
    553560                if(checkbox("DM900") != 1)
    554561                {
    555                 if(rcret == getrcconfigint("rcred", NULL))
    556                 {
    557                         if(status.aktservice->type == HDMIIN)
     562                        if(rcret == getrcconfigint("rcred", NULL))
     563                        {
     564                                if(status.aktservice->type == HDMIIN)
     565                                        continue;
     566                                if(status.pipservice->type == HDMIIN)
     567                                {
     568                                        pipstop(status.pipservice, 1);
     569                                        pipstart(status.aktservice->channel, NULL, 0);
     570                                        changetext(hdmi, "HDMI-in");
     571                                }
     572                                else
     573                                {
     574                                        piphdmi(status.pipservice, 0);
     575                                        changetext(hdmi, "live TV");
     576                                }
    558577                                continue;
    559                         if(status.pipservice->type == HDMIIN)
    560                         {
    561                                 pipstop(status.pipservice, 1);
    562                                 pipstart(status.aktservice->channel, NULL, 0);
    563                                 changetext(hdmi, "HDMI-in");
    564                         }
    565                         else
    566                         {
    567                                 piphdmi(status.pipservice, 0);
    568                                 changetext(hdmi, "live TV");
    569                         }
    570                         continue;
    571                 }
     578                        }
    572579                }
    573580               
Note: See TracChangeset for help on using the changeset viewer.