Changeset 25830
- Timestamp:
- 02/02/14 18:46:56 (10 years ago)
- Location:
- titan/titan
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/adjust.h
r25556 r25830 174 174 175 175 addchoicebox(channellistview, "0", _("hidden")); 176 addchoicebox(channellistview, "1", _("dea ctive"));176 addchoicebox(channellistview, "1", _("deaktiv")); 177 177 setchoiceboxselection(channellistview, getconfig("channellistview", NULL)); 178 178 -
titan/titan/global.h
r25774 r25830 1 1 #ifndef GLOBAL_H 2 2 #define GLOBAL_H 3 4 //flag 0: video+gui 5 //flag 1: video 6 //flag 2: gui 7 8 void screenshoot(int flag) 9 { 10 char* cmd = NULL; 11 12 videofreeze(status.aktservice->videodev); 13 14 if(flag == 0) 15 cmd = ostrcat("/sbin/grab -j 100 -r 960", NULL, 0, 0); 16 else if(flag == 1) 17 cmd = ostrcat("/sbin/grab -v -j 100 -r 960", NULL, 0, 0); 18 else if(flag == 2) 19 cmd = ostrcat("/sbin/grab -o -j 100 -r 960", NULL, 0, 0); 20 21 if(cmd != NULL) 22 system(cmd); 23 24 videocontinue(status.aktservice->videodev); 25 26 free(cmd), cmd = NULL; 27 } 3 28 4 29 //flag 0: playerstart -
titan/titan/header.h
r25644 r25830 810 810 char* getcolorformat(int line); 811 811 void set_player_sound(int flag); 812 void screenshoot(int flag); 812 813 813 814 //rcconfig.h -
titan/titan/httpd.h
r24696 r25830 354 354 else if(ostrcmp(query, "getvideo") == 0) 355 355 buf = webgetvideo(param, *connfd, fmt); 356 356 else if(ostrcmp(query, "videoplay") == 0 || ostrcmp(query, "videoplay=") == 0) 357 357 buf = webvideo(param, fmt); 358 358 else if(ostrcmp(query, "getdrawcount") == 0) -
titan/titan/httpdfunc.h
r25106 r25830 1584 1584 void webgetshoot(char* param, int fmt) 1585 1585 { 1586 char* cmd = NULL; 1587 /* 1588 char* cmd = NULL, *tmpstr = NULL; 1589 1590 if(status.aktservice->channel != NULL) 1591 { 1592 m_lock(&status.waitrcmutex, 24); 1593 cmd = ostrcat(cmd, "grab.sh ", 1, 0); 1594 cmd = ostrcat(cmd, param, 1, 0); 1595 cmd = ostrcat(cmd, " ", 1, 0); 1596 cmd = ostrcat(cmd, getconfig("streamport", NULL), 1, 0); 1597 cmd = ostrcat(cmd, " ", 1, 0); 1598 tmpstr = oitoa(status.aktservice->channel->serviceid); 1599 cmd = ostrcat(cmd, tmpstr, 1, 0); 1600 free(tmpstr); tmpstr = NULL; 1601 cmd = ostrcat(cmd, ",", 1, 0); 1602 tmpstr = ollutoa(status.aktservice->channel->transponderid); 1603 cmd = ostrcat(cmd, tmpstr, 1, 0); 1604 free(tmpstr); tmpstr = NULL; 1605 cmd = ostrcat(cmd, " titan", 1, 0); 1606 cmd = ostrcat("/sbin/grab -o -j 40 -r 960", NULL, 1, 0); 1607 1608 m_unlock(&status.waitrcmutex, 24); 1609 } 1610 */ 1611 // use new grab osd + video 1612 cmd = ostrcat("/sbin/grab -j 100 -r 960", NULL, 0, 0); 1613 1614 if(cmd != NULL) 1615 system(cmd); 1616 free(cmd); 1586 screenshoot(0); 1617 1587 } 1618 1588
Note: See TracChangeset
for help on using the changeset viewer.