]> git.sesse.net Git - vlc/blobdiff - include/vlc_vout.h
Made video_format_t vout_Create/Request parameter const.
[vlc] / include / vlc_vout.h
index 2d3f0b2035614560ed7d1505d099bbb0d22e6e5e..84c04fa27620c2b23a2add08764405d92c059472 100644 (file)
@@ -102,7 +102,7 @@ struct vout_thread_t
  * \return a vout if p_fmt is non NULL and the request is successfull, NULL
  * otherwise
  */
-VLC_EXPORT( vout_thread_t *, vout_Request, ( vlc_object_t *p_this, vout_thread_t *p_vout, video_format_t *p_fmt ) );
+VLC_EXPORT( vout_thread_t *, vout_Request, ( vlc_object_t *p_this, vout_thread_t *p_vout, const video_format_t *p_fmt ) );
 #define vout_Request(a,b,c) vout_Request(VLC_OBJECT(a),b,c)
 
 /**
@@ -114,7 +114,7 @@ VLC_EXPORT( vout_thread_t *, vout_Request, ( vlc_object_t *p_this, vout_thread_t
  * \param p_fmt the video format requested
  * \return a vout if the request is successfull, NULL otherwise
  */
-VLC_EXPORT( vout_thread_t *, vout_Create, ( vlc_object_t *p_this, video_format_t *p_fmt ) );
+VLC_EXPORT( vout_thread_t *, vout_Create, ( vlc_object_t *p_this, const video_format_t *p_fmt ) );
 #define vout_Create(a,b) vout_Create(VLC_OBJECT(a),b)
 
 /**