[vlc-commits] player: change PLAY icon on success

Thomas Guillem git at videolan.org
Tue May 7 17:44:58 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May  7 15:53:18 2019 +0200| [ef77e17f2160e9e85a10f5f4bafeede21acce0b9] | committer: Thomas Guillem

player: change PLAY icon on success

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef77e17f2160e9e85a10f5f4bafeede21acce0b9
---

 src/input/player.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/input/player.c b/src/input/player.c
index da74eb4ee4..f43f9f71a5 100644
--- a/src/input/player.c
+++ b/src/input/player.c
@@ -2209,9 +2209,10 @@ vlc_player_Start(vlc_player_t *player)
 
     int ret = vlc_player_input_Start(player->input);
     if (ret == VLC_SUCCESS)
+    {
         player->started = true;
-
-    vlc_player_vout_OSDIcon(player, OSD_PLAY_ICON);
+        vlc_player_vout_OSDIcon(player, OSD_PLAY_ICON);
+    }
     return ret;
 }
 



More information about the vlc-commits mailing list