[vlc-commits] libvlc: remove libvlc_video_get_crop_geometry()

Rémi Denis-Courmont git at videolan.org
Tue Jun 4 17:55:06 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 30 12:37:00 2019 +0300| [ab0a8dc3e2abd7d7a10513115da2409c5852c788] | committer: Rémi Denis-Courmont

libvlc: remove libvlc_video_get_crop_geometry()

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

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

diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index dcb0895663..6a8770da26 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -1657,14 +1657,6 @@ void libvlc_chapter_descriptions_release( libvlc_chapter_description_t **p_chapt
                                           unsigned i_count );
 
 /**
- * Get current crop filter geometry.
- *
- * \param p_mi the media player
- * \return the crop filter geometry or NULL if unset
- */
-LIBVLC_API char *libvlc_video_get_crop_geometry( libvlc_media_player_t *p_mi );
-
-/**
  * Set new crop filter geometry.
  *
  * \param p_mi the media player
diff --git a/lib/libvlc.sym b/lib/libvlc.sym
index 376aecdcfe..835f753050 100644
--- a/lib/libvlc.sym
+++ b/lib/libvlc.sym
@@ -214,7 +214,6 @@ libvlc_track_description_list_release
 libvlc_video_get_adjust_float
 libvlc_video_get_adjust_int
 libvlc_video_get_aspect_ratio
-libvlc_video_get_crop_geometry
 libvlc_video_get_size
 libvlc_video_get_cursor
 libvlc_video_get_logo_int
diff --git a/lib/video.c b/lib/video.c
index 5dac56a364..880da3f45d 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -362,11 +362,6 @@ int libvlc_video_set_spu_delay( libvlc_media_player_t *p_mi,
     return 0;
 }
 
-char *libvlc_video_get_crop_geometry (libvlc_media_player_t *p_mi)
-{
-    return var_GetNonEmptyString (p_mi, "crop");
-}
-
 void libvlc_video_set_crop_geometry( libvlc_media_player_t *p_mi,
                                      const char *psz_geometry )
 {



More information about the vlc-commits mailing list