vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Fri May 4 19:16:27 2018 +0300| [d979cceee9f888bccecfe9c12644c321a2c5dc2b] | committer: Rémi Denis-Courmont
dbus: do not subtract VLC_TS_INVALID > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d979cceee9f888bccecfe9c12644c321a2c5dc2b --- modules/control/dbus/dbus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/control/dbus/dbus.c b/modules/control/dbus/dbus.c index bf3431821e..13c48122f4 100644 --- a/modules/control/dbus/dbus.c +++ b/modules/control/dbus/dbus.c @@ -832,7 +832,8 @@ static void *Run( void *data ) if( i_events > 0 ) { mtime_t now = mdate(); - if( now - events_last_date > EVENTS_DELAY ) + if( events_last_date == VLC_TS_INVALID + || now - events_last_date > EVENTS_DELAY ) { /* Send events every EVENTS_DELAY */ events_last_date = now; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
