Changeset 24911


Ignore:
Timestamp:
11/17/13 16:28:49 (9 years ago)
Author:
gost
Message:

[titan] pause picture with ts pause button... next

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r24880 r24911  
    138138                        {
    139139                                if(status.timeshifttype == 1 && status.timeshiftpos == 0)
     140                                {
    140141                                        timeshiftpause(0);
     142                                        timeshiftinfobar(&playinfobarstatus, &playinfobarcount);
     143                                }
    141144                                else
    142145                                        timeshiftplay(&playinfobarstatus, &playinfobarcount);
    143146                        }
    144147                        else
     148                        {
    145149                                timeshiftpause(0);
     150                                timeshiftinfobar(&playinfobarstatus, &playinfobarcount);
     151                        }
    146152                       
    147153                        continue;
  • titan/titan/timeshift.h

    r24909 r24911  
    77{
    88        int ret = 0;
    9         struct skin* playinfobarpic = getscreen("playinfobarpic");
    10        
     9               
    1110        if(flag == 0 && status.timeshift == 1 && status.playing == 0 && status.timeshifttype == 1 && status.timeshiftpos == 0) //stop service
    1211        {
     
    3534                if(ret == 0)
    3635                {
    37                         drawscreen(playinfobarpic, 0, 0);
    3836                        ret = recordstart(status.aktservice->channel, -1, 0, RECTIMESHIFT, 0, NULL);
    3937                        if(ret != 0)
     
    5553                status.pause = 1;
    5654                playerpausets();
    57                 drawscreen(playinfobarpic, 0, 0);
    5855        }
    5956}
     
    150147        int ret = 1;
    151148
    152         struct skin* playinfobarpic = getscreen("playinfobarpic");
    153149        struct service* snode = getservice(RECORDTIMESHIFT, 0);
    154150       
     
    178174        {
    179175                if(status.playspeed != 0 || status.slowspeed != 0)
    180                 {
    181176                        playerpausets();
    182                         drawscreen(playinfobarpic, 0, 0);
    183                 }
    184177                if(status.slowspeed != 0)
    185178                        audioclearbuffer(status.aktservice->audiodev);
     
    400393                //*playinfobarstatus = 0;
    401394                *playinfobarstatus = 2;
    402                 screenplayinfobar(NULL, NULL, 1, 1, 4);
     395                //screenplayinfobar(NULL, NULL, 1, 1, 4);
    403396        }
    404397        if(status.playing == 1)
Note: See TracChangeset for help on using the changeset viewer.