[vlc-commits] lib: media_track: improve documentation
Thomas Guillem
git at videolan.org
Mon Jun 15 09:56:40 CEST 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jun 12 12:20:10 2020 +0200| [de5747654ff6a5f2a07622552ccfc1b9a9a4538f] | committer: Thomas Guillem
lib: media_track: improve documentation
Add references to the functions creating tracks and tracklists from the delete
functions.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de5747654ff6a5f2a07622552ccfc1b9a9a4538f
---
include/vlc/libvlc_media_track.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/vlc/libvlc_media_track.h b/include/vlc/libvlc_media_track.h
index 4b075a8dee..e6a4d5d550 100644
--- a/include/vlc/libvlc_media_track.h
+++ b/include/vlc/libvlc_media_track.h
@@ -194,6 +194,9 @@ libvlc_media_tracklist_at( libvlc_media_tracklist_t *list, size_t index );
*
* \version LibVLC 4.0.0 and later.
*
+ * \see libvlc_media_get_tracklist
+ * \see libvlc_media_player_get_tracklist
+ *
* \param list valid tracklist
*/
LIBVLC_API void
@@ -203,10 +206,14 @@ libvlc_media_tracklist_delete( libvlc_media_tracklist_t *list );
* Release a single track
*
* \version LibVLC 4.0.0 and later.
+ *
* \warning Don't release tracks from a tracklist with this function. Tracks
* from a tracklist are released alongside the list with
* libvlc_media_tracklist_delete()
*
+ * \see libvlc_media_player_get_selected_track
+ * \see libvlc_media_player_get_track_from_id
+ *
* \param track valid track
*/
LIBVLC_API void
More information about the vlc-commits
mailing list