[vlc-commits] lib: remove AGL functions

Rémi Denis-Courmont git at videolan.org
Thu May 3 14:28:28 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May  3 15:02:49 2018 +0300| [a592bc313ab918025704a151a6c389d577f7a5ac] | committer: Rémi Denis-Courmont

lib: remove AGL functions

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

 include/vlc/deprecated.h | 12 ------------
 lib/libvlc.sym           |  2 --
 lib/media_player.c       | 22 ----------------------
 3 files changed, 36 deletions(-)

diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h
index 0e7986cc36..b2c2da92a8 100644
--- a/include/vlc/deprecated.h
+++ b/include/vlc/deprecated.h
@@ -52,18 +52,6 @@ LIBVLC_API float libvlc_media_player_get_fps( libvlc_media_player_t *p_mi );
 /** end bug */
 
 /**
- * \deprecated Use libvlc_media_player_set_nsobject() instead
- */
-LIBVLC_DEPRECATED
-LIBVLC_API void libvlc_media_player_set_agl ( libvlc_media_player_t *p_mi, uint32_t drawable );
-
-/**
- * \deprecated Use libvlc_media_player_get_nsobject() instead
- */
-LIBVLC_DEPRECATED
-LIBVLC_API uint32_t libvlc_media_player_get_agl ( libvlc_media_player_t *p_mi );
-
-/**
  * \deprecated Use libvlc_track_description_list_release() instead
  */
 LIBVLC_DEPRECATED LIBVLC_API
diff --git a/lib/libvlc.sym b/lib/libvlc.sym
index bcd2ca9579..d02f8ae95c 100644
--- a/lib/libvlc.sym
+++ b/lib/libvlc.sym
@@ -146,7 +146,6 @@ libvlc_media_player_can_pause
 libvlc_media_player_program_scrambled
 libvlc_media_player_next_frame
 libvlc_media_player_event_manager
-libvlc_media_player_get_agl
 libvlc_media_player_get_chapter
 libvlc_media_player_get_chapter_count
 libvlc_media_player_get_chapter_count_for_title
@@ -177,7 +176,6 @@ libvlc_media_player_play
 libvlc_media_player_previous_chapter
 libvlc_media_player_release
 libvlc_media_player_retain
-libvlc_media_player_set_agl
 libvlc_media_player_set_android_context
 libvlc_media_player_set_chapter
 libvlc_media_player_set_equalizer
diff --git a/lib/media_player.c b/lib/media_player.c
index 60ef18b4d4..24a25c0f48 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1169,28 +1169,6 @@ void * libvlc_media_player_get_nsobject( libvlc_media_player_t *p_mi )
 }
 
 /**************************************************************************
- * set_agl
- **************************************************************************/
-void libvlc_media_player_set_agl( libvlc_media_player_t *p_mi,
-                                  uint32_t drawable )
-{
-    (void)drawable;
-    libvlc_printerr ("can't set agl: use libvlc_media_player_set_nsobject instead");
-    assert(false);
-    var_SetString (p_mi, "vout", "none");
-    var_SetString (p_mi, "window", "none");
-}
-
-/**************************************************************************
- * get_agl
- **************************************************************************/
-uint32_t libvlc_media_player_get_agl( libvlc_media_player_t *p_mi )
-{
-    (void) p_mi;
-    return 0;
-}
-
-/**************************************************************************
  * set_xwindow
  **************************************************************************/
 void libvlc_media_player_set_xwindow( libvlc_media_player_t *p_mi,



More information about the vlc-commits mailing list