summaryrefslogtreecommitdiff
path: root/src/bin/exactness
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-05-05 10:53:15 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-05-05 11:08:47 +0200
commit2830d1c6fa3c9530584d0f1c4ad64ee503bec982 (patch)
tree05e73a3866c3d1f717f6c2c90f19ee8d36723199 /src/bin/exactness
parent3dff471826e815429c2cdc9b22df848bfad26e6c (diff)
exactness_player: do not test for delay_ms
that is a unsigned int, if its 0 the timer is called as fast as possible. Not doing that breaks exactness. @fix Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11774
Diffstat (limited to 'src/bin/exactness')
-rw-r--r--src/bin/exactness/player.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/exactness/player.c b/src/bin/exactness/player.c
index befd028852..b35637f25c 100644
--- a/src/bin/exactness/player.c
+++ b/src/bin/exactness/player.c
@@ -511,7 +511,7 @@ _feed_event_timer_cb(void *data EINA_UNUSED)
511 if (act && act->type != EXACTNESS_ACTION_STABILIZE) 511 if (act && act->type != EXACTNESS_ACTION_STABILIZE)
512 { 512 {
513 act = eina_list_data_get(_cur_event_list); 513 act = eina_list_data_get(_cur_event_list);
514 if (act && act->delay_ms) 514 if (act)
515 { 515 {
516 DBG(" %s timer_time=<%f>\n", __func__, act->delay_ms / 1000.0); 516 DBG(" %s timer_time=<%f>\n", __func__, act->delay_ms / 1000.0);
517 ecore_timer_add(act->delay_ms / 1000.0, _feed_event_timer_cb, NULL); 517 ecore_timer_add(act->delay_ms / 1000.0, _feed_event_timer_cb, NULL);
@@ -552,7 +552,7 @@ _stabilization_timer_cb(void *data EINA_UNUSED)
552 if (_src_type != FTYPE_REMOTE && !_pause_request) 552 if (_src_type != FTYPE_REMOTE && !_pause_request)
553 { 553 {
554 Exactness_Action *act = eina_list_data_get(_cur_event_list); 554 Exactness_Action *act = eina_list_data_get(_cur_event_list);
555 if (act && act->delay_ms) 555 if (act)
556 { 556 {
557 DBG(" %s timer_time=<%f>\n", __func__, act->delay_ms / 1000.0); 557 DBG(" %s timer_time=<%f>\n", __func__, act->delay_ms / 1000.0);
558 ecore_timer_add(act->delay_ms / 1000.0, _feed_event_timer_cb, NULL); 558 ecore_timer_add(act->delay_ms / 1000.0, _feed_event_timer_cb, NULL);