X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_osd.h;h=06ac47f7909a563ad85dc302e7857b155b991803;hb=736cc6b8930b8c97f2cda4d1dc55c7de6f9701a0;hp=0aff210871579b4b731c49bac1a387e16ece3374;hpb=1403f3a061c3c1eaff53e2e077d46d84bab30201;p=vlc diff --git a/include/vlc_osd.h b/include/vlc_osd.h index 0aff210871..06ac47f790 100644 --- a/include/vlc_osd.h +++ b/include/vlc_osd.h @@ -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 ) ); /** @}*/