Changeset 25645
- Timestamp:
- 01/13/14 19:44:29 (9 years ago)
- Location:
- titan/titan
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/marker.h
r25644 r25645 418 418 } 419 419 } 420 sleep(2);420 421 421 ret = playergetinfots(&len, &startpos, NULL, &hpos, NULL, 0); 422 422 423 while ( status.playspeed != 0 || status.play != 0 || status.pause != 0)423 while ((status.playspeed != 0 || status.play != 0 || status.pause != 0) && status.autoseek == 1) 424 424 { 425 425 ret = videogetpts(status.aktservice->videodev, &pts); … … 457 457 seeker = seekerarb; 458 458 } 459 status.autoseek = 0; 459 460 } 460 461 -
titan/titan/play.h
r25589 r25645 1599 1599 if(rcret == getrcconfigint("rc5", NULL)) 1600 1600 screenmarker(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); 1601 1601 1602 if(rcret == getrcconfigint("rcmenu", NULL)) { 1603 if(status.autoseek == 0) { 1604 status.autoseek = 1; 1605 textbox(_("Message"), _("Marker autoseek is started"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 10, 0); 1606 addtimer(&markerautoseek_thread, START, 10000, 1, NULL, NULL, NULL); 1607 } 1608 else { 1609 status.autoseek = 0; 1610 textbox(_("Message"), _("Marker autoseek is stopped"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 10, 0); 1611 } 1612 } 1602 1613 } 1603 1614 //don't change this sleep, without this -
titan/titan/player.h
r25493 r25645 112 112 free(fileseek); fileseek = NULL; 113 113 } 114 115 status.autoseek = 0; 114 116 115 117 if(flag == 0) -
titan/titan/struct.h
r25138 r25645 1487 1487 //count for drawing screen 1488 1488 unsigned int drawscreencount; 1489 int autoseek; 1489 1490 } status; 1490 1491
Note: See TracChangeset
for help on using the changeset viewer.