[vlc-commits] vout_wrapper: constify the input video_format
Steve Lhomme
git at videolan.org
Tue Jan 19 12:29:56 UTC 2021
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Nov 19 13:55:40 2020 +0100| [61b388514a167d00cd56dec1ec06885950373ca8] | committer: Steve Lhomme
vout_wrapper: constify the input video_format
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=61b388514a167d00cd56dec1ec06885950373ca8
---
src/video_output/vout_private.h | 2 +-
src/video_output/vout_wrapper.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/video_output/vout_private.h b/src/video_output/vout_private.h
index 5e8c58dabe..64b3bb08ac 100644
--- a/src/video_output/vout_private.h
+++ b/src/video_output/vout_private.h
@@ -45,7 +45,7 @@ struct vout_thread_private_t
/* */
vout_display_t *vout_OpenWrapper(vout_thread_t *, vout_thread_private_t *, const char *,
- const vout_display_cfg_t *, video_format_t *, vlc_video_context *);
+ const vout_display_cfg_t *, const video_format_t *, vlc_video_context *);
void vout_CloseWrapper(vout_thread_t *, vout_thread_private_t *, vout_display_t *vd);
void vout_InitInterlacingSupport(vout_thread_t *, vout_thread_private_t *);
diff --git a/src/video_output/vout_wrapper.c b/src/video_output/vout_wrapper.c
index 9d819f8a2d..a824204165 100644
--- a/src/video_output/vout_wrapper.c
+++ b/src/video_output/vout_wrapper.c
@@ -57,7 +57,7 @@ static void VoutViewpointMoved(void *sys, const vlc_viewpoint_t *vp)
*****************************************************************************/
vout_display_t *vout_OpenWrapper(vout_thread_t *vout, vout_thread_private_t *sys,
const char *splitter_name, const vout_display_cfg_t *cfg,
- video_format_t *fmt, vlc_video_context *vctx)
+ const video_format_t *fmt, vlc_video_context *vctx)
{
vout_display_t *vd;
vout_display_owner_t owner = {
More information about the vlc-commits
mailing list