[vlc-devel] [PATCH 12/20] player: rename vlc_player_GetVoutFromEsId

Thomas Guillem thomas at gllm.fr
Thu Jun 20 17:23:55 CEST 2019


To vlc_player_GetEsIdVout(), for consistency with other functions using a
vlc_es_id_t*.
---
 include/vlc_player.h | 2 +-
 src/input/player.c   | 2 +-
 src/libvlccore.sym   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/vlc_player.h b/include/vlc_player.h
index 4fcf4f0bb7..ff4e03f314 100644
--- a/include/vlc_player.h
+++ b/include/vlc_player.h
@@ -1684,7 +1684,7 @@ vlc_player_GetTrack(vlc_player_t *player, vlc_es_id_t *es_id);
  * track, or if the vout failed to start)
  */
 VLC_API vout_thread_t *
-vlc_player_GetVoutFromEsId(vlc_player_t *player, vlc_es_id_t *es_id);
+vlc_player_GetEsIdVout(vlc_player_t *player, vlc_es_id_t *es_id);
 
 /**
  * Get the ES identifier of a video output
diff --git a/src/input/player.c b/src/input/player.c
index 3b915f5838..4a4262d814 100644
--- a/src/input/player.c
+++ b/src/input/player.c
@@ -1325,7 +1325,7 @@ vlc_player_GetTrack(vlc_player_t *player, vlc_es_id_t *id)
 }
 
 vout_thread_t *
-vlc_player_GetVoutFromEsId(vlc_player_t *player, vlc_es_id_t *es_id)
+vlc_player_GetEsIdVout(vlc_player_t *player, vlc_es_id_t *es_id)
 {
     struct vlc_player_track_priv *trackpriv =
         vlc_player_GetPrivTrack(player, es_id);
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 3c11a9fefd..493b3805a1 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -790,6 +790,7 @@ vlc_player_GetCurrentMedia
 vlc_player_GetError
 vlc_player_GetEsIdDelay
 vlc_player_GetEsIdFromVout
+vlc_player_GetEsIdVout
 vlc_player_GetLength
 vlc_player_GetPosition
 vlc_player_GetProgram
@@ -810,7 +811,6 @@ vlc_player_GetTrack
 vlc_player_GetTrackAt
 vlc_player_GetTrackCount
 vlc_player_GetV4l2Object
-vlc_player_GetVoutFromEsId
 vlc_player_HasTeletextMenu
 vlc_player_IncrementRate
 vlc_player_InvalidateNextMedia
-- 
2.20.1



More information about the vlc-devel mailing list