X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vout_display.h;h=8b32efceef1d5f64de9f0305eb475f48c31642c2;hb=4b9c63a36eded246ad9ef1ea0de0cf7b38d29ad9;hp=12f35b9159270f4c8036465742c7b24317657dcb;hpb=76e8da0ff1691aad46f89810712c6eda6e548ee8;p=vlc diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h index 12f35b9159..8b32efceef 100644 --- a/include/vlc_vout_display.h +++ b/include/vlc_vout_display.h @@ -224,7 +224,7 @@ struct vout_display_owner_t { * * You can send it at any time i.e. from any vout_display_t functions or * from another thread. - * Becarefull, it does not ensure correct serialization if it is used + * Be careful, it does not ensure correct serialization if it is used * from multiple threads. */ void (*event)(vout_display_t *, int, va_list); @@ -389,6 +389,10 @@ static inline vout_window_t *vout_display_NewWindow(vout_display_t *vd, const vo { return vd->owner.window_new(vd, cfg); } +/** + * Deletes a window created by vout_display_NewWindow if window is non NULL + * or any unused windows otherwise. + */ static inline void vout_display_DeleteWindow(vout_display_t *vd, vout_window_t *window) {