[vlc-devel] [PATCH 4/6] WIP video_output: make vout_ControlChangeDisplaySize() public

Steve Lhomme robux4 at ycbcr.xyz
Fri Jan 25 16:47:03 CET 2019


Otherwise we can't resize the rendered output with wdummy
---
 include/vlc_vout.h               | 4 ++++
 src/libvlccore.sym               | 1 +
 src/video_output/vout_internal.h | 2 --
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index f2b0f24f50..8117eec781 100644
--- a/include/vlc_vout.h
+++ b/include/vlc_vout.h
@@ -120,6 +120,10 @@ VLC_API void vout_PutSubpicture( vout_thread_t *, subpicture_t * );
 VLC_API int vout_RegisterSubpictureChannel( vout_thread_t * );
 VLC_API void vout_FlushSubpictureChannel( vout_thread_t *, int );
 
+VLC_API void vout_ControlChangeDisplaySize(vout_thread_t *,
+                                           unsigned width, unsigned height);
+
+
 /**@}*/
 
 #endif /* _VLC_VOUT_H */
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 6eed3d807e..e87094581d 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -755,6 +755,7 @@ vout_display_New
 vout_display_Delete
 vout_display_Prepare
 vout_display_SetSize
+vout_ControlChangeDisplaySize
 xml_Create
 text_style_Copy
 text_style_Create
diff --git a/src/video_output/vout_internal.h b/src/video_output/vout_internal.h
index 29ecfc44ce..ccfba8b6f2 100644
--- a/src/video_output/vout_internal.h
+++ b/src/video_output/vout_internal.h
@@ -185,8 +185,6 @@ void vout_Close( vout_thread_t *p_vout );
 void vout_ControlChangeFullscreen(vout_thread_t *, const char *id);
 void vout_ControlChangeWindowed(vout_thread_t *);
 void vout_ControlChangeWindowState(vout_thread_t *, unsigned state);
-void vout_ControlChangeDisplaySize(vout_thread_t *,
-                                   unsigned width, unsigned height);
 void vout_ControlChangeDisplayFilled(vout_thread_t *, bool is_filled);
 void vout_ControlChangeZoom(vout_thread_t *, unsigned num, unsigned den);
 void vout_ControlChangeSampleAspectRatio(vout_thread_t *, unsigned num, unsigned den);
-- 
2.17.1



More information about the vlc-devel mailing list