commit - b817795c01c252bf4f7fc4f85b839d2ccb46b550
commit + 93cde5d11223ff70e3ced414173b32a63790c972
blob - 9b5e69f366449dfed4f49652e7e81b5c5cec3fc4
blob + e89aa222882a4dd27104d59da67d585812bc3904
--- amused.c
+++ amused.c
struct event ev_sigint;
struct event ev_sigterm;
-static int notify_seek;
-
enum amused_process {
PROC_MAIN,
PROC_PLAYER,
sizeof(current_position));
if (current_position < 0)
current_position = -1;
- if (notify_seek) {
- notify_seek = 0;
- control_notify(IMSG_CTL_SEEK);
- }
+ control_notify(IMSG_CTL_SEEK);
break;
case IMSG_LEN:
if (datalen != sizeof(current_duration))
break;
}
- notify_seek = 1;
main_send_player(IMSG_CTL_SEEK, -1, s, sizeof(*s));
}