X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vout_wrapper.h;h=3dcd434229d2b3d1cc630171a60c4c7d957bbe28;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=d6a9e2b3ca3d677ef3ccba669c61b0a034fa7ea6;hpb=99bf49b13d643e3e4cc1c7205f59812512dda8f7;p=vlc diff --git a/include/vlc_vout_wrapper.h b/include/vlc_vout_wrapper.h index d6a9e2b3ca..3dcd434229 100644 --- a/include/vlc_vout_wrapper.h +++ b/include/vlc_vout_wrapper.h @@ -30,11 +30,11 @@ /* XXX DO NOT use it outside the vout module wrapper XXX */ /** - * It retreive a picture from the display + * It retreives a picture pool from the display */ -static inline picture_t *vout_display_Get(vout_display_t *vd) +static inline picture_pool_t *vout_display_Pool(vout_display_t *vd, unsigned count) { - return vd->get(vd); + return vd->pool(vd, count); } /** @@ -59,8 +59,7 @@ static inline void vout_display_Display(vout_display_t *vd, picture_t *picture) */ typedef struct { vout_display_cfg_t cfg; - - bool is_on_top; + unsigned wm_state; struct { int num; int den; @@ -85,7 +84,7 @@ VLC_EXPORT(void, vout_ManageDisplay, (vout_display_t *, bool allow_reset_picture VLC_EXPORT(void, vout_SetDisplayFullscreen, (vout_display_t *, bool is_fullscreen)); VLC_EXPORT(void, vout_SetDisplayFilled, (vout_display_t *, bool is_filled)); VLC_EXPORT(void, vout_SetDisplayZoom, (vout_display_t *, int num, int den)); -VLC_EXPORT(void, vout_SetDisplayOnTop, (vout_display_t *, bool is_on_top)); +VLC_EXPORT(void, vout_SetWindowState, (vout_display_t *, unsigned state)); VLC_EXPORT(void, vout_SetDisplayAspect, (vout_display_t *, unsigned sar_num, unsigned sar_den)); VLC_EXPORT(void, vout_SetDisplayCrop, (vout_display_t *, unsigned crop_num, unsigned crop_den, unsigned x, unsigned y, unsigned width, unsigned height)); VLC_EXPORT(vout_opengl_t *, vout_GetDisplayOpengl, (vout_display_t *));