Changeset 31644


Ignore:
Timestamp:
12/09/14 17:28:42 (8 years ago)
Author:
obi
Message:

fix standby recording step 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/rectimer.h

    r30724 r31644  
    453453        struct channel* chnode = NULL;
    454454        time_t t = 0, begin = 0, end = 0;
     455printf("checkrectimer start\n");
    455456
    456457        if(self == NULL) return;
     
    538539                        else
    539540                        {
     541                                //workaround for standby recording
     542                                char* cmd = NULL;
     543                                cmd = ostrcat("ls -al ", getconfig("rec_path", NULL), 0, 0);
     544                                cmd = ostrcat(cmd, " >/dev/null", 1, 0);
     545                                printf("cmd: %s\n", cmd);
     546                                system(cmd);
     547                                free(cmd), cmd = NULL;
     548                                // workaround end       
    540549                                ret = recordstart(chnode, -1, 0, RECTIMER, node->end, node);
    541550                                if(ret == 14) ret = 0;
Note: See TracChangeset for help on using the changeset viewer.