[vlc-commits] vout: remove unused vout_ChangeAspectRatio()

Rémi Denis-Courmont git at videolan.org
Thu Jan 24 18:02:28 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jan 23 21:49:35 2019 +0200| [0220ea32fc8f3fac4b42f2191a63b488592087fc] | committer: Rémi Denis-Courmont

vout: remove unused vout_ChangeAspectRatio()

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

 include/vlc_vout.h              | 3 ---
 src/libvlccore.sym              | 1 -
 src/video_output/video_output.c | 6 ------
 3 files changed, 10 deletions(-)

diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index 10321d7a45..f2b0f24f50 100644
--- a/include/vlc_vout.h
+++ b/include/vlc_vout.h
@@ -104,9 +104,6 @@ VLC_API int vout_GetSnapshot( vout_thread_t *p_vout,
                               video_format_t *p_fmt,
                               const char *psz_format, vlc_tick_t i_timeout );
 
-VLC_API void vout_ChangeAspectRatio( vout_thread_t *p_vout,
-                                     unsigned int i_num, unsigned int i_den );
-
 /* */
 VLC_API picture_t * vout_GetPicture( vout_thread_t * );
 VLC_API void vout_PutPicture( vout_thread_t *, picture_t * );
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 629b3ec9eb..6eed3d807e 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -732,7 +732,6 @@ vlm_MessageNew
 vlm_MessageSimpleNew
 vlm_New
 vout_Close
-vout_ChangeAspectRatio
 vout_GetPicture
 vout_PutPicture
 vout_PutSubpicture
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index d17ed4a75d..7f8127ca8e 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -499,12 +499,6 @@ int vout_GetSnapshot(vout_thread_t *vout,
     return VLC_SUCCESS;
 }
 
-void vout_ChangeAspectRatio( vout_thread_t *p_vout,
-                             unsigned int i_num, unsigned int i_den )
-{
-    vout_ControlChangeSampleAspectRatio( p_vout, i_num, i_den );
-}
-
 /* vout_Control* are usable by anyone at anytime */
 void vout_ControlChangeFullscreen(vout_thread_t *vout, const char *id)
 {



More information about the vlc-commits mailing list