]> git.sesse.net Git - vlc/blobdiff - include/vlc_osd.h
DirectX aout: select the output device by its name instead of its number in preferences
[vlc] / include / vlc_osd.h
index 0aff210871579b4b731c49bac1a387e16ece3374..06ac47f7909a563ad85dc302e7857b155b991803 100644 (file)
@@ -56,6 +56,9 @@ extern "C" {
 
 typedef struct spu_private_t spu_private_t;
 
+/* Default subpicture channel ID */
+#define DEFAULT_CHAN           1
+
 /**
  * Subpicture unit descriptor
  */
@@ -112,7 +115,7 @@ VLC_EXPORT( void, spu_DisplaySubpicture, ( spu_t *, subpicture_t * ) );
  *
  * The returned list can only be used by spu_RenderSubpictures.
  */
-VLC_EXPORT( subpicture_t *, spu_SortSubpictures, ( spu_t *, mtime_t display_date, bool b_paused, bool b_subtitle_only ) );
+VLC_EXPORT( subpicture_t *, spu_SortSubpictures, ( spu_t *, mtime_t render_subtitle_date, bool b_subtitle_only ) );
 
 /**
  * This function renders a list of subpicture_t on the provided picture.
@@ -120,7 +123,7 @@ VLC_EXPORT( subpicture_t *, spu_SortSubpictures, ( spu_t *, mtime_t display_date
  * \param p_fmt_dst is the format of the destination picture.
  * \param p_fmt_src is the format of the original(source) video.
  */
-VLC_EXPORT( void, spu_RenderSubpictures, ( spu_t *,  picture_t *, const video_format_t *p_fmt_dst, subpicture_t *p_list, const video_format_t *p_fmt_src, bool b_paused ) );
+VLC_EXPORT( void, spu_RenderSubpictures, ( spu_t *,  picture_t *, const video_format_t *p_fmt_dst, subpicture_t *p_list, const video_format_t *p_fmt_src, mtime_t render_subtitle_date ) );
 
 /** @}*/