stefan pushed a commit to branch efl-1.24.

http://git.enlightenment.org/core/efl.git/commit/?id=924c6fec18958712cddd6d8cebe0476e05f8b29c

commit 924c6fec18958712cddd6d8cebe0476e05f8b29c
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Tue May 5 10:53:15 2020 +0200

    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 <ste...@datenfreihafen.org>
    Differential Revision: https://phab.enlightenment.org/D11774
---
 src/bin/exactness/player.c | 4 ++--
 1 file 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)
         if (act && act->type != EXACTNESS_ACTION_STABILIZE)
           {
              act = eina_list_data_get(_cur_event_list);
-             if (act && act->delay_ms)
+             if (act)
                {
                   DBG("  %s timer_time=<%f>\n", __func__, act->delay_ms / 
1000.0);
                   ecore_timer_add(act->delay_ms / 1000.0, 
_feed_event_timer_cb, NULL);
@@ -552,7 +552,7 @@ _stabilization_timer_cb(void *data EINA_UNUSED)
         if (_src_type != FTYPE_REMOTE && !_pause_request)
           {
              Exactness_Action *act = eina_list_data_get(_cur_event_list);
-             if (act && act->delay_ms)
+             if (act)
                {
                   DBG("  %s timer_time=<%f>\n", __func__, act->delay_ms / 
1000.0);
                   ecore_timer_add(act->delay_ms / 1000.0, 
_feed_event_timer_cb, NULL);

-- 


Reply via email to