[vlc-devel] [PATCH 1/2] libvlc: remove libvlc_video_set_crop_geometry()

RĂ©mi Denis-Courmont remi at remlab.net
Thu May 30 12:11:07 CEST 2019


---
 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 d04b57f01e..7445e985b3 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -1648,14 +1648,6 @@ LIBVLC_API
 void libvlc_chapter_descriptions_release( libvlc_chapter_description_t **p_chapters,
                                           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.
  *
diff --git a/lib/libvlc.sym b/lib/libvlc.sym
index 01d3c8f72c..9c109b8272 100644
--- a/lib/libvlc.sym
+++ b/lib/libvlc.sym
@@ -219,7 +219,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 b3c36b1cbc..e62f2a7ae2 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -363,11 +363,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 )
 {
-- 
2.20.1



More information about the vlc-devel mailing list