]> git.sesse.net Git - vlc/blobdiff - include/vlc_filter.h
Fixed filter_*Blend rgb masks initialization.
[vlc] / include / vlc_filter.h
index a8a8a06d35c6a197f14f9345a4fcf80ef04cf54d..9ec22170bc7a1a1c0b08e70680246349f5715b72 100644 (file)
@@ -182,9 +182,12 @@ static inline block_t *filter_NewAudioBuffer( filter_t *p_filter, int i_size )
 }
 
 /**
- * It creates a blend filter
+ * It creates a blend filter.
+ *
+ * Only the chroma properties of the dest format is used (chroma
+ * type, rgb masks and shifts)
  */
-VLC_EXPORT( filter_t *, filter_NewBlend, ( vlc_object_t *, vlc_fourcc_t i_chroma_dst ) );
+VLC_EXPORT( filter_t *, filter_NewBlend, ( vlc_object_t *, const video_format_t *p_dst_chroma ) );
 
 /**
  * It configures blend filter parameters that are allowed to changed