X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vout.h;h=30baf2517827185f3b73f55ae10d33f482ed1e96;hb=316246df734f1b30ec84e381703241921116529f;hp=66289edeca1553f5d202e67aa9cadccf454185c0;hpb=8e3816a29499b553b8a4b5770ecaa49bf274c648;p=vlc diff --git a/include/vlc_vout.h b/include/vlc_vout.h index 66289edeca..30baf25178 100644 --- a/include/vlc_vout.h +++ b/include/vlc_vout.h @@ -86,7 +86,7 @@ struct picture_t * These properties can be modified using the video output thread API, * but should never be written directly */ /**@{*/ - int i_refcount; /**< link reference counter */ + unsigned i_refcount; /**< link reference counter */ mtime_t date; /**< display date */ vlc_bool_t b_force; /**@}*/ @@ -284,6 +284,10 @@ struct subpicture_t video_format_t *, picture_t * ); void ( *pf_destroy_region ) ( vlc_object_t *, subpicture_region_t * ); + void ( *pf_pre_render ) ( video_format_t *, spu_t *, subpicture_t *, mtime_t ); + subpicture_region_t * ( *pf_update_regions ) ( video_format_t *, spu_t *, + subpicture_t *, mtime_t ); + /** Private data - the subtitle plugin might want to put stuff here to * keep track of the subpicture */ subpicture_sys_t *p_sys; /* subpicture data */