static vout_window_t *MakeWindow (vout_display_t *vd)
{
vout_window_cfg_t cfg = {
- .x = var_InheritInteger (vd, "video-x"),
- .y = var_InheritInteger (vd, "video-y"),
.width = vd->cfg->display.width,
.height = vd->cfg->display.height,
};
wnd_cfg.is_standalone = false;
wnd_cfg.type = VOUT_WINDOW_TYPE_HWND;
- wnd_cfg.x = var_InheritInteger(vd, "video-x");
- wnd_cfg.y = var_InheritInteger(vd, "video-y");
wnd_cfg.width = vd->cfg->display.width;
wnd_cfg.height = vd->cfg->display.height;
#endif
vout_window_cfg_t wnd_cfg = {
.type = VOUT_WINDOW_TYPE_HWND,
- .x = p_event->x,
- .y = p_event->y,
.width = p_event->width,
.height = p_event->height,
};
{
vout_window_cfg_t cfg = {
.type = VOUT_WINDOW_TYPE_XID,
- .x = var_InheritInteger (vd, "video-x"),
- .y = var_InheritInteger (vd, "video-y"),
.width = vd->cfg->display.width,
.height = vd->cfg->display.height,
};
p_cfg->fmt.i_height = p_output->i_height;
p_cfg->fmt.i_sar_num = (int64_t)i_aspect * i_target_height;
p_cfg->fmt.i_sar_den = VOUT_ASPECT_FACTOR * i_target_width;
- p_cfg->window.i_x = p_output->i_left; /* FIXME relative to video-x/y (TODO in wrapper.c) ? */
+ p_cfg->window.i_x = p_output->i_left;
p_cfg->window.i_y = p_output->i_top;
p_cfg->window.i_align = p_output->i_align;
p_cfg->psz_module = NULL;