-static inline int spu_vaControl( spu_t *p_spu, int i_query, va_list args )
-{
- if( p_spu->pf_control )
- return p_spu->pf_control( p_spu, i_query, args );
- else
- return VLC_EGENERIC;
-}
+/**
+ * This function will return an unique subpicture containing the OSD and
+ * subtitles visibles at the requested date.
+ *
+ * \param p_chroma_list is a list of supported chroma for the output (can be NULL)
+ * \param p_fmt_dst is the format of the picture on which the return subpicture will be rendered.
+ * \param p_fmt_src is the format of the original(source) video.
+ *
+ * The returned value if non NULL must be released by subpicture_Delete().
+ */
+VLC_API subpicture_t * spu_Render( spu_t *, const vlc_fourcc_t *p_chroma_list, const video_format_t *p_fmt_dst, const video_format_t *p_fmt_src, mtime_t render_subtitle_date, mtime_t render_osd_date, bool ignore_osd );