mirror of
https://github.com/mpv-player/mpv
synced 2025-02-19 14:26:57 +00:00
vo_x11: fix build with older Libav versions
Why does this happen everytime...
This commit is contained in:
parent
d0a8b571c9
commit
26bfcc9c82
@ -333,10 +333,10 @@ static bool resize(struct vo *vo)
|
||||
// between window and video rectangle (i.e. not into panscan borders).
|
||||
p->osd.w = p->dst_w;
|
||||
p->osd.h = p->dst_h;
|
||||
p->osd.mt = FFMIN(0, p->osd.mt);
|
||||
p->osd.mb = FFMIN(0, p->osd.mb);
|
||||
p->osd.mr = FFMIN(0, p->osd.mr);
|
||||
p->osd.ml = FFMIN(0, p->osd.ml);
|
||||
p->osd.mt = MPMIN(0, p->osd.mt);
|
||||
p->osd.mb = MPMIN(0, p->osd.mb);
|
||||
p->osd.mr = MPMIN(0, p->osd.mr);
|
||||
p->osd.ml = MPMIN(0, p->osd.ml);
|
||||
|
||||
mp_input_set_mouse_transform(vo->input_ctx, &p->dst, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user