Changeset 25240 for titan/titan


Ignore:
Timestamp:
12/15/13 19:59:53 (10 years ago)
Author:
obi
Message:

wake record device before recording started.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/record.h

    r25109 r25240  
    13081308void screenrecorddirect()
    13091309{
    1310         char* tmpstr = NULL;
     1310        char* tmpstr = NULL, *cmd = NULL;
    13111311        int ret = 0, ret1 = 0, newstart = 0;
    13121312        struct service* servicenode = service;
     
    13151315        struct stimerthread *recthumbfirstthread = NULL;
    13161316
     1317        cmd = ostrcat("ls -al ", getconfig("rec_path", NULL), 0, 0);
     1318        cmd = ostrcat(cmd, " >/dev/null &", 1, 0);
     1319        printf("cmd: %s\n", cmd);
     1320        system(cmd);
     1321        free(cmd), cmd = NULL;
     1322       
    13171323        while(servicenode != NULL)
    13181324        {
Note: See TracChangeset for help on using the changeset viewer.