Changeset 12389


Ignore:
Timestamp:
12/17/11 17:22:33 (12 years ago)
Author:
gost
Message:

[titan] fix some errors in fast forward TS

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r12387 r12389  
    9191                        if(rcret == getrcconfigint("rcff", NULL))
    9292                        {
    93                                 if(status.timeshiftseek > 100) {
    94                                         timeshiftseek((status.timeshiftseek - 100) * 2 + 100);
    95                                 }
    96                                 else
     93                                if(status.playing == 1) {
     94                                        if(status.timeshiftseek > 100) {
     95                                                timeshiftseek((status.timeshiftseek - 100) * 2 + 100);
     96                                        }
     97                                        else
    9798                                        timeshiftseek(102);
     99                                }
    98100                                continue;
    99101                        }
    100102                        if(rcret == getrcconfigint("rcfr", NULL))
    101103                        {
    102                                 if(status.timeshiftseek > 102) {
    103                                         timeshiftseek((status.timeshiftseek - 100) / 2 + 100);
    104                                 }
    105                                 else if(status.timeshiftseek == 102) {
    106                                         timeshiftplay();
    107                                 }
    108                                 else
    109                                         timeshiftseek(-10);
     104                                if(status.playing == 1) {
     105                                        if(status.timeshiftseek > 102) {
     106                                                timeshiftseek((status.timeshiftseek - 100) / 2 + 100);
     107                                        }
     108                                        else if(status.timeshiftseek == 102) {
     109                                                timeshiftplay();
     110                                        }
     111                                        else
     112                                                timeshiftseek(-10);
     113                                }
    110114                                continue;
    111115                        }
  • titan/titan/timeshift.h

    r12387 r12389  
    3535        struct service* snode = getservice(RECORDTIMESHIFT, flag);
    3636
     37        if(status.timeshiftseek != 0) {
     38                status.timeshiftseek = 0;
     39                playerpausets();
     40                playercontinuets();
     41        }
     42       
    3743        playerstopts(1, flag);
    3844
Note: See TracChangeset for help on using the changeset viewer.