[vlc-devel] [PATCH] libvlc: remove libvlc_video_get_marquee_string()

Steve Lhomme robux4 at ycbcr.xyz
Wed May 29 16:18:10 CEST 2019


---
 include/vlc/libvlc_media_player.h | 9 ---------
 lib/libvlc.sym                    | 1 -
 lib/video.c                       | 9 ---------
 3 files changed, 19 deletions(-)

diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 179597e80f..87431b97ef 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -1771,15 +1771,6 @@ LIBVLC_API void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi,
 LIBVLC_API int libvlc_video_get_marquee_int( libvlc_media_player_t *p_mi,
                                                  unsigned option );
 
-/**
- * Get a string marquee option value
- *
- * \param p_mi libvlc media player
- * \param option marq option to get \see libvlc_video_marquee_string_option_t
- */
-LIBVLC_API char *libvlc_video_get_marquee_string( libvlc_media_player_t *p_mi,
-                                                      unsigned option );
-
 /**
  * Enable, disable or set an integer marquee option
  *
diff --git a/lib/libvlc.sym b/lib/libvlc.sym
index 1ae26de315..fb784278d0 100644
--- a/lib/libvlc.sym
+++ b/lib/libvlc.sym
@@ -224,7 +224,6 @@ libvlc_video_get_size
 libvlc_video_get_cursor
 libvlc_video_get_logo_int
 libvlc_video_get_marquee_int
-libvlc_video_get_marquee_string
 libvlc_video_get_scale
 libvlc_video_get_spu
 libvlc_video_get_spu_count
diff --git a/lib/video.c b/lib/video.c
index 278c75eb9f..845a8d475c 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -788,15 +788,6 @@ int libvlc_video_get_marquee_int( libvlc_media_player_t *p_mi,
     return get_int( p_mi, "marq", marq_option_bynumber(option) );
 }
 
-/*****************************************************************************
- * libvlc_video_get_marquee_string : get a marq option value
- *****************************************************************************/
-char * libvlc_video_get_marquee_string( libvlc_media_player_t *p_mi,
-                                        unsigned option )
-{
-    return get_string( p_mi, "marq", marq_option_bynumber(option) );
-}
-
 /*****************************************************************************
  * libvlc_video_set_marquee_int: enable, disable or set an int option
  *****************************************************************************/
-- 
2.17.1



More information about the vlc-devel mailing list