[vlc-devel] [PATCH 17/17] dbus: increase player timer period
Thomas Guillem
thomas at gllm.fr
Tue Mar 9 15:15:46 UTC 2021
---
modules/control/dbus/dbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/control/dbus/dbus.c b/modules/control/dbus/dbus.c
index 0837f640770..52a675f16f7 100644
--- a/modules/control/dbus/dbus.c
+++ b/modules/control/dbus/dbus.c
@@ -310,7 +310,7 @@ static int Open( vlc_object_t *p_this )
.on_discontinuity = player_timer_on_discontinuity,
};
p_sys->player_timer =
- vlc_player_AddTimer(player, VLC_TICK_INVALID, &player_timer_cbs, p_intf);
+ vlc_player_AddTimer(player, VLC_TICK_FROM_SEC(1), &player_timer_cbs, p_intf);
if (!p_sys->player_timer)
goto player_timer_failure;
--
2.30.0
More information about the vlc-devel
mailing list