[vlc-commits] dbus: increase player timer period
Thomas Guillem
git at videolan.org
Wed Mar 10 15:44:32 UTC 2021
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 12 14:34:42 2021 +0100| [0bf2da02c29d520a0f199f1a59fef249922afb57] | committer: Thomas Guillem
dbus: increase player timer period
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bf2da02c29d520a0f199f1a59fef249922afb57
---
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 0837f64077..52a675f16f 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;
More information about the vlc-commits
mailing list