Changeset 20419
- Timestamp:
- 03/09/13 11:04:20 (11 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/timeshift.h
r20414 r20419 42 42 //flag 1: stop from servicestop 43 43 //flag 2: error in record thread 44 //flag 3: stop from titan end 44 45 void timeshiftstop(int flag) 45 46 { … … 77 78 } 78 79 79 if(flag == 0 )80 if(flag == 0 || flag == 3) 80 81 { 81 82 while(status.timeshift > 0) … … 85 86 } 86 87 } 87 88 if(flag == 0 || flag == 3) 88 if(flag == 0 || flag == 2) 89 89 servicecheckret(servicestart(status.aktservice->channel, NULL, NULL, 3), 0); 90 90 -
titan/titan/titan.c
r20407 r20419 282 282 pthread_t writethread = '\0'; 283 283 284 //stop permanent timeshift 285 if(status.timeshifttype == 1) 286 timeshiftstop(3); 287 284 288 //check if record running 285 289 if((flag == 1 || flag == 2 || flag == 3 || flag == 4 || flag == 5) && (status.recording > 0 || getrectimerbytimediff(300) != NULL))
Note: See TracChangeset
for help on using the changeset viewer.