[vlc-commits] player: rename subtitle lang helper

Thomas Guillem git at videolan.org
Mon Jul 29 15:12:30 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 29 15:11:20 2019 +0200| [03a2c820eaa9100e274af26de804e2536b8e187a] | committer: Thomas Guillem

player: rename subtitle lang helper

Same name than the audio one. It is still not used.

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

 include/vlc_player.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_player.h b/include/vlc_player.h
index 57fe35b826..e1010decd6 100644
--- a/include/vlc_player.h
+++ b/include/vlc_player.h
@@ -1966,10 +1966,10 @@ vlc_player_SelectAudioLanguage(vlc_player_t *player, const char *lang)
 }
 
 /**
- * Helper to select the spu language
+ * Helper to select the subtitle language
  */
 static inline void
-vlc_player_SelectDefaultSubtitleTrack(vlc_player_t *player, const char *lang)
+vlc_player_SelectSubtitleLanguage(vlc_player_t *player, const char *lang)
 {
     vlc_player_SelectCategoryLanguage(player, SPU_ES, lang);
 }



More information about the vlc-commits mailing list