Changeset 24150
- Timestamp:
- 10/08/13 23:37:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/subtitle.h
r24149 r24150 1488 1488 } 1489 1489 1490 int subtitlestart(struct subtitle* node) 1490 //flag 0: start normal 1491 //flag 1: start in pause 1492 int subtitlestart(struct subtitle* node, int flag) 1491 1493 { 1492 1494 int ret; … … 1498 1500 } 1499 1501 1500 status.subthreadaktion = START; 1502 if(flag == 0) 1503 status.subthreadaktion = START; 1504 else 1505 status.subthreadaktion = PAUSE; 1506 1501 1507 pthread_attr_destroy(&status.subthreadattr); 1502 1508 pthread_attr_init(&status.subthreadattr); … … 1658 1664 clearscreen(subtitle); 1659 1665 drawscreen(skin, 0, 0); 1660 if(subtitlestart((struct subtitle*)listbox->select->handle ) == 0)1666 if(subtitlestart((struct subtitle*)listbox->select->handle, 0) == 0) 1661 1667 { 1662 1668 status.subthreadpid = ((struct subtitle*)listbox->select->handle)->pid; … … 1833 1839 if(node != NULL) 1834 1840 { 1835 if(subtitlestart(node) == 0) 1836 { 1837 status.subthreadaktion = PAUSE; 1841 if(subtitlestart(node, 1) == 0) 1842 { 1838 1843 status.subthreadpid = node->pid; 1839 1844 status.subthreadid2 = node->id2;
Note: See TracChangeset
for help on using the changeset viewer.