]> git.sesse.net Git - vlc/blobdiff - include/vlc_es.h
Added video_format_Setup to replace vout_InitFormat.
[vlc] / include / vlc_es.h
index 224617fef02f3c7dfe8dc9d4726f2e71faee31b6..c315c5fb92e68f9b1c798f26053a8ccfdd49a37d 100644 (file)
@@ -171,6 +171,12 @@ static inline void video_format_Clean( video_format_t *p_src )
     p_src->p_palette = NULL;
 }
 
+/**
+ * It will fill up a video_format_tvideo_format_t using the given arguments.
+ * Becarefull that the video_format_t must already be initialized.
+ */
+VLC_EXPORT( void, video_format_Setup, ( video_format_t *, vlc_fourcc_t i_chroma, int i_width, int i_height, int i_aspect ) );
+
 /**
  * subtitles format description
  */