[vlc-commits] cli/player: remove useless initial call
Rémi Denis-Courmont
git at videolan.org
Sun Nov 29 14:56:05 CET 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 29 13:09:24 2020 +0200| [a494178e7fe824996acb9fc4e547615d8e4d099e] | committer: Rémi Denis-Courmont
cli/player: remove useless initial call
There are no clients at the time of registration; this does nothing.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a494178e7fe824996acb9fc4e547615d8e4d099e
---
modules/control/cli/player.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/control/cli/player.c b/modules/control/cli/player.c
index 177403e7c0..437abb75e3 100644
--- a/modules/control/cli/player.c
+++ b/modules/control/cli/player.c
@@ -1086,7 +1086,6 @@ void *RegisterPlayer(intf_thread_t *intf)
goto error;
}
- player_on_state_changed(player, vlc_player_GetState(player), pc);
vlc_player_Unlock(player);
return pc;
More information about the vlc-commits
mailing list