]> git.sesse.net Git - vlc/blobdiff - include/vlc_es.h
Added es_format_InitFromVideo helper.
[vlc] / include / vlc_es.h
index 3a98214e268d21fa0acaffcb21a57a52e54b1dc6..ec5c8225e0d1dddbabf59c29e7dc2bddd6eea170 100644 (file)
@@ -287,6 +287,11 @@ VLC_EXPORT( void, video_format_FixRgb, ( video_format_t * ) );
  */
 VLC_EXPORT( void, es_format_Init, ( es_format_t *, int i_cat, vlc_fourcc_t i_codec ) );
 
+/**
+ * This function will initialize a es_format_t structure from a video_format_t.
+ */
+VLC_EXPORT( void, es_format_InitFromVideo, ( es_format_t *, const video_format_t * ) );
+
 /**
  * This functions will copy a es_format_t.
  */