]> git.sesse.net Git - vlc/blobdiff - include/vlc_fourcc.h
Added vlc_fourcc_GetRGBFallback.
[vlc] / include / vlc_fourcc.h
index 50fde9874a08770ae51816e3bab20c5ccd4bc0e2..8563d12c34ce6cead16552f750ab276ffa211a0f 100644 (file)
@@ -365,6 +365,14 @@ VLC_EXPORT( const char *, vlc_fourcc_GetDescription, ( int i_cat, vlc_fourcc_t i
  */
 VLC_EXPORT( const vlc_fourcc_t *, vlc_fourcc_GetYUVFallback, ( vlc_fourcc_t ) );
 
+/**
+ * It returns a list (terminated with the value 0) of RGB fourccs in
+ * decreasing priority order for the given chroma.
+ *
+ * It will always return a non NULL pointer that must not be freed.
+ */
+VLC_EXPORT( const vlc_fourcc_t *, vlc_fourcc_GetRGBFallback, ( vlc_fourcc_t ) );
+
 /**
  * It returns true if the given fourcc is YUV and false otherwise.
  */