[vlc-devel] [PATCH 1/3] vlm: deprecate the VLM

Pierre Ynard linkfanel at yahoo.fr
Sat Sep 19 07:48:28 CEST 2020


The VLM is affected by many basic design issues, that can't be fixed
otherwise than stopping using it in favor of something else. Meanwhile
we now have new, proper player and playlist APIs that support the
multiple inputs that the VLM allows. It's time to start moving on into
that direction.

This deprecates the VLM entry API call.


diff --git a/include/vlc_vlm.h b/include/vlc_vlm.h
index cb2ebb8..8db79e6 100644
--- a/include/vlc_vlm.h
+++ b/include/vlc_vlm.h
@@ -186,7 +186,7 @@ struct vlm_message_t
 extern "C" {
 #endif
 
-VLC_API vlm_t * vlm_New( libvlc_int_t *, const char *path );
+VLC_API vlm_t * vlm_New( libvlc_int_t *, const char *path ) VLC_DEPRECATED;
 VLC_API void vlm_Delete( vlm_t * );
 VLC_API int vlm_ExecuteCommand( vlm_t *, const char *, vlm_message_t ** );
 VLC_API int vlm_Control( vlm_t *p_vlm, int i_query, ... );
-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list